Commit 2f82a46f authored by Eric W. Biederman's avatar Eric W. Biederman

signal: Remove _sys_private and _overrun_incr from struct compat_siginfo

We have never passed either field to or from userspace so just remove them.
Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent 9943d3ac
...@@ -174,7 +174,6 @@ typedef struct compat_siginfo { ...@@ -174,7 +174,6 @@ typedef struct compat_siginfo {
compat_timer_t _tid; /* timer id */ compat_timer_t _tid; /* timer id */
int _overrun; /* overrun count */ int _overrun; /* overrun count */
compat_sigval_t _sigval; /* same as below */ compat_sigval_t _sigval; /* same as below */
int _sys_private; /* not to be passed to user */
} _timer; } _timer;
/* POSIX.1b signals */ /* POSIX.1b signals */
......
...@@ -155,7 +155,6 @@ typedef struct compat_siginfo { ...@@ -155,7 +155,6 @@ typedef struct compat_siginfo {
int _overrun; /* overrun count */ int _overrun; /* overrun count */
char _pad[sizeof(unsigned int) - sizeof(int)]; char _pad[sizeof(unsigned int) - sizeof(int)];
compat_sigval_t _sigval; /* same as below */ compat_sigval_t _sigval; /* same as below */
int _sys_private; /* not to be passed to user */
} _timer; } _timer;
/* POSIX.1b signals */ /* POSIX.1b signals */
......
...@@ -145,7 +145,6 @@ typedef struct compat_siginfo { ...@@ -145,7 +145,6 @@ typedef struct compat_siginfo {
compat_timer_t _tid; /* timer id */ compat_timer_t _tid; /* timer id */
int _overrun; /* overrun count */ int _overrun; /* overrun count */
compat_sigval_t _sigval; /* same as below */ compat_sigval_t _sigval; /* same as below */
int _sys_private; /* not to be passed to user */
} _timer; } _timer;
/* POSIX.1b signals */ /* POSIX.1b signals */
......
...@@ -213,7 +213,6 @@ typedef struct compat_siginfo { ...@@ -213,7 +213,6 @@ typedef struct compat_siginfo {
compat_timer_t _tid; /* timer id */ compat_timer_t _tid; /* timer id */
int _overrun; /* overrun count */ int _overrun; /* overrun count */
compat_sigval_t _sigval; /* same as below */ compat_sigval_t _sigval; /* same as below */
int _sys_private; /* not to be passed to user */
} _timer; } _timer;
/* POSIX.1b signals */ /* POSIX.1b signals */
......
...@@ -175,7 +175,6 @@ typedef struct compat_siginfo { ...@@ -175,7 +175,6 @@ typedef struct compat_siginfo {
compat_timer_t _tid; /* timer id */ compat_timer_t _tid; /* timer id */
int _overrun; /* overrun count */ int _overrun; /* overrun count */
compat_sigval_t _sigval; /* same as below */ compat_sigval_t _sigval; /* same as below */
int _sys_private; /* not to be passed to user */
} _timer; } _timer;
/* POSIX.1b signals */ /* POSIX.1b signals */
......
...@@ -136,8 +136,6 @@ typedef struct compat_siginfo { ...@@ -136,8 +136,6 @@ typedef struct compat_siginfo {
compat_timer_t _tid; /* timer id */ compat_timer_t _tid; /* timer id */
int _overrun; /* overrun count */ int _overrun; /* overrun count */
compat_sigval_t _sigval; /* same as below */ compat_sigval_t _sigval; /* same as below */
int _sys_private; /* not to be passed to user */
int _overrun_incr; /* amount to add to overrun */
} _timer; } _timer;
/* POSIX.1b signals */ /* POSIX.1b signals */
......
...@@ -151,8 +151,6 @@ typedef struct compat_siginfo { ...@@ -151,8 +151,6 @@ typedef struct compat_siginfo {
compat_timer_t _tid; /* timer id */ compat_timer_t _tid; /* timer id */
int _overrun; /* overrun count */ int _overrun; /* overrun count */
compat_sigval_t _sigval; /* same as below */ compat_sigval_t _sigval; /* same as below */
int _sys_private; /* not to be passed to user */
int _overrun_incr; /* amount to add to overrun */
} _timer; } _timer;
/* POSIX.1b signals */ /* POSIX.1b signals */
......
...@@ -64,7 +64,7 @@ static inline void signal_compat_build_tests(void) ...@@ -64,7 +64,7 @@ static inline void signal_compat_build_tests(void)
CHECK_SI_SIZE (_kill, 2*sizeof(int)); CHECK_SI_SIZE (_kill, 2*sizeof(int));
CHECK_CSI_OFFSET(_timer); CHECK_CSI_OFFSET(_timer);
CHECK_CSI_SIZE (_timer, 5*sizeof(int)); CHECK_CSI_SIZE (_timer, 3*sizeof(int));
CHECK_SI_SIZE (_timer, 6*sizeof(int)); CHECK_SI_SIZE (_timer, 6*sizeof(int));
CHECK_CSI_OFFSET(_rt); CHECK_CSI_OFFSET(_rt);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment