History

signal: kill __ARCH_SI_UID_T

it's always __kernel_uid32_t

Al Viro committed 9 years ago

Commit 47954771 parent 0326e7e1 file · +3 −8Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/asm-generic/siginfo.h+3−8
@@ -23,10 +23,6 @@ typedef union sigval { · 22 unmodified lines
23#define SI_PAD_SIZE ((SI_MAX_SIZE - __ARCH_SI_PREAMBLE_SIZE) / sizeof(int))23#define SI_PAD_SIZE ((SI_MAX_SIZE - __ARCH_SI_PREAMBLE_SIZE) / sizeof(int))
24#endif24#endif
25 25
26#ifndef __ARCH_SI_UID_T
27#define __ARCH_SI_UID_T __kernel_uid32_t
28#endif
29
30/*26/*
31 * The default "si_band" type is "long", as specified by POSIX.27 * The default "si_band" type is "long", as specified by POSIX.
32 * However, some architectures want to override this to "int"28 * However, some architectures want to override this to "int"
@@ -60,14 +56,13 @@ typedef struct siginfo { · 27 unmodified lines
60 /* kill() */56 /* kill() */
61 struct {57 struct {
62 __kernel_pid_t _pid; /* sender's pid */58 __kernel_pid_t _pid; /* sender's pid */
63 __ARCH_SI_UID_T _uid; /* sender's uid */59 __kernel_uid32_t _uid; /* sender's uid */
64 } _kill;60 } _kill;
65 61
66 /* POSIX.1b timers */62 /* POSIX.1b timers */
67 struct {63 struct {
68 __kernel_timer_t _tid; /* timer id */64 __kernel_timer_t _tid; /* timer id */
69 int _overrun; /* overrun count */65 int _overrun; /* overrun count */
70 char _pad[sizeof( __ARCH_SI_UID_T) - sizeof(int)];
71 sigval_t _sigval; /* same as below */66 sigval_t _sigval; /* same as below */
72 int _sys_private; /* not to be passed to user */67 int _sys_private; /* not to be passed to user */
73 } _timer;68 } _timer;
@@ -75,14 +70,14 @@ typedef struct siginfo { · 1 unmodified line
75 /* POSIX.1b signals */70 /* POSIX.1b signals */
76 struct {71 struct {
77 __kernel_pid_t _pid; /* sender's pid */72 __kernel_pid_t _pid; /* sender's pid */
78 __ARCH_SI_UID_T _uid; /* sender's uid */73 __kernel_uid32_t _uid; /* sender's uid */
79 sigval_t _sigval;74 sigval_t _sigval;
80 } _rt;75 } _rt;
81 76
82 /* SIGCHLD */77 /* SIGCHLD */
83 struct {78 struct {
84 __kernel_pid_t _pid; /* which child */79 __kernel_pid_t _pid; /* which child */
85 __ARCH_SI_UID_T _uid; /* sender's uid */80 __kernel_uid32_t _uid; /* sender's uid */
86 int _status; /* exit code */81 int _status; /* exit code */
87 __ARCH_SI_CLOCK_T _utime;82 __ARCH_SI_CLOCK_T _utime;
88 __ARCH_SI_CLOCK_T _stime;83 __ARCH_SI_CLOCK_T _stime;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t