blob: 3b8348b0401ec72895a70b4a120890cea6bcc1c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/*
* Copyright (c) 2017-2021 Dmitry V. Levin <ldv@strace.io>
* All rights reserved.
*
* SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef STRACE_RT_SIGFRAME_H
# define STRACE_RT_SIGFRAME_H
# include <signal.h>
typedef struct {
unsigned int tramp[9];
siginfo_t info;
ucontext_t uc;
} struct_rt_sigframe_old; /* when executed on stack */
typedef struct {
unsigned int tramp[2]; /* holds original return address */
siginfo_t info;
ucontext_t uc;
} struct_rt_sigframe; /* when VDSO is used */
#endif /* !STRACE_RT_SIGFRAME_H */
|