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
db51569e
Commit
db51569e
authored
Mar 22, 2003
by
Andrew Morton
Committed by
David S. Miller
Mar 22, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ptrace_notify() locking
Spotted by Dawson Engler. recalc_signpending() needs tsk->sighand->siglock.
parent
e32d96dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
kernel/ptrace.c
kernel/ptrace.c
+3
-0
No files found.
kernel/ptrace.c
View file @
db51569e
...
@@ -336,5 +336,8 @@ void ptrace_notify(int exit_code)
...
@@ -336,5 +336,8 @@ void ptrace_notify(int exit_code)
/*
/*
* Signals sent while we were stopped might set TIF_SIGPENDING.
* Signals sent while we were stopped might set TIF_SIGPENDING.
*/
*/
spin_lock_irq
(
&
current
->
sighand
->
siglock
);
recalc_sigpending
();
recalc_sigpending
();
spin_unlock_irq
(
&
current
->
sighand
->
siglock
);
}
}
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