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
Kirill Smelkov
linux
Commits
b2fba2f3
Commit
b2fba2f3
authored
Jun 19, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Follow 2.4.x semantics for in-kernel signal sending.
parent
22e53c65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
kernel/signal.c
kernel/signal.c
+7
-0
No files found.
kernel/signal.c
View file @
b2fba2f3
...
@@ -1196,6 +1196,13 @@ send_sig_info(int sig, struct siginfo *info, struct task_struct *p)
...
@@ -1196,6 +1196,13 @@ send_sig_info(int sig, struct siginfo *info, struct task_struct *p)
int
ret
;
int
ret
;
unsigned
long
flags
;
unsigned
long
flags
;
/*
* Make sure legacy kernel users don't send in bad values
* (normal paths check this in check_kill_permission).
*/
if
(
sig
<
0
||
sig
>
_NSIG
)
return
-
EINVAL
;
/*
/*
* We need the tasklist lock even for the specific
* We need the tasklist lock even for the specific
* thread case (when we don't need to follow the group
* thread case (when we don't need to follow the group
...
...
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