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
2323 #define SI_PAD_SIZE ((SI_MAX_SIZE - __ARCH_SI_PREAMBLE_SIZE) / sizeof(int))
2424 #endif
2525
26−#ifndef __ARCH_SI_UID_T
27−#define __ARCH_SI_UID_T __kernel_uid32_t
28−#endif
29−
3026 /*
3127 * The default "si_band" type is "long", as specified by POSIX.
3228 * However, some architectures want to override this to "int"
@@ -60,14 +56,13 @@ typedef struct siginfo { · 27 unmodified lines
6056 /* kill() */
6157 struct {
6258 __kernel_pid_t _pid; /* sender's pid */
63− __ARCH_SI_UID_T _uid; /* sender's uid */
59+ __kernel_uid32_t _uid; /* sender's uid */
6460 } _kill;
6561
6662 /* POSIX.1b timers */
6763 struct {
6864 __kernel_timer_t _tid; /* timer id */
6965 int _overrun; /* overrun count */
70− char _pad[sizeof( __ARCH_SI_UID_T) - sizeof(int)];
7166 sigval_t _sigval; /* same as below */
7267 int _sys_private; /* not to be passed to user */
7368 } _timer;
@@ -75,14 +70,14 @@ typedef struct siginfo { · 1 unmodified line
7570 /* POSIX.1b signals */
7671 struct {
7772 __kernel_pid_t _pid; /* sender's pid */
78− __ARCH_SI_UID_T _uid; /* sender's uid */
73+ __kernel_uid32_t _uid; /* sender's uid */
7974 sigval_t _sigval;
8075 } _rt;
8176
8277 /* SIGCHLD */
8378 struct {
8479 __kernel_pid_t _pid; /* which child */
85− __ARCH_SI_UID_T _uid; /* sender's uid */
80+ __kernel_uid32_t _uid; /* sender's uid */
8681 int _status; /* exit code */
8782 __ARCH_SI_CLOCK_T _utime;
8883 __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