Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
5ef73fa6
Commit
5ef73fa6
authored
Apr 08, 2003
by
Linus Torvalds
Committed by
Linus Torvalds
Apr 08, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make __SI_MASK explicitly unsigned, instead of depending on
magic C promotion to silently do so for us.
parent
8ffe0fb0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
include/asm-generic/siginfo.h
include/asm-generic/siginfo.h
+1
-1
include/asm-i386/signal.h
include/asm-i386/signal.h
+7
-7
No files found.
include/asm-generic/siginfo.h
View file @
5ef73fa6
...
@@ -106,7 +106,7 @@ typedef struct siginfo {
...
@@ -106,7 +106,7 @@ typedef struct siginfo {
#define si_fd _sifields._sigpoll._fd
#define si_fd _sifields._sigpoll._fd
#ifdef __KERNEL__
#ifdef __KERNEL__
#define __SI_MASK 0xffff0000
#define __SI_MASK 0xffff0000
u
#define __SI_KILL (0 << 16)
#define __SI_KILL (0 << 16)
#define __SI_TIMER (1 << 16)
#define __SI_TIMER (1 << 16)
#define __SI_POLL (2 << 16)
#define __SI_POLL (2 << 16)
...
...
include/asm-i386/signal.h
View file @
5ef73fa6
...
@@ -86,13 +86,13 @@ typedef unsigned long sigset_t;
...
@@ -86,13 +86,13 @@ typedef unsigned long sigset_t;
* SA_ONESHOT and SA_NOMASK are the historical Linux names for the Single
* SA_ONESHOT and SA_NOMASK are the historical Linux names for the Single
* Unix names RESETHAND and NODEFER respectively.
* Unix names RESETHAND and NODEFER respectively.
*/
*/
#define SA_NOCLDSTOP 0x00000001
#define SA_NOCLDSTOP 0x00000001
u
#define SA_NOCLDWAIT 0x00000002
#define SA_NOCLDWAIT 0x00000002
u
#define SA_SIGINFO 0x00000004
#define SA_SIGINFO 0x00000004
u
#define SA_ONSTACK 0x08000000
#define SA_ONSTACK 0x08000000
u
#define SA_RESTART 0x10000000
#define SA_RESTART 0x10000000
u
#define SA_NODEFER 0x40000000
#define SA_NODEFER 0x40000000
u
#define SA_RESETHAND 0x80000000
#define SA_RESETHAND 0x80000000
u
#define SA_NOMASK SA_NODEFER
#define SA_NOMASK SA_NODEFER
#define SA_ONESHOT SA_RESETHAND
#define SA_ONESHOT SA_RESETHAND
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment