History

signal: Document glibc's si_code of SI_ASYNCNL

The header uapi/asm-generic/siginfo.h appears to the the repository of all of these definitions in linux so collect up glibcs additions as well. Just to prevent someone from accidentally creating a conflict in the future.

Eric W. Biederman committed 9 years ago

Commit 75c0abb1 parent f9886bc1 file · +1 −0Browse files

Unified · Split

include/uapi/asm-generic/siginfo.h+1−0
@@ -165,6 +165,7 @@ typedef struct siginfo { · 164 unmodified lines
165#define SI_SIGIO -5 /* sent by queued SIGIO */165#define SI_SIGIO -5 /* sent by queued SIGIO */
166#define SI_TKILL -6 /* sent by tkill system call */166#define SI_TKILL -6 /* sent by tkill system call */
167#define SI_DETHREAD -7 /* sent by execve() killing subsidiary threads */167#define SI_DETHREAD -7 /* sent by execve() killing subsidiary threads */
168#define SI_ASYNCNL -60 /* sent by glibc async name lookup completion */
168 169
169#define SI_FROMUSER(siptr) ((siptr)->si_code <= 0)170#define SI_FROMUSER(siptr) ((siptr)->si_code <= 0)
170#define SI_FROMKERNEL(siptr) ((siptr)->si_code > 0)171#define SI_FROMKERNEL(siptr) ((siptr)->si_code > 0)

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