Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 329100
b: refs/heads/master
c: 2e4930e
h: refs/heads/master
v: v3
  • Loading branch information
Kees Cook authored and James Morris committed Sep 7, 2012
1 parent b7feba3 commit 4b24b29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c6993e4ac002c92bc75379212e9179c36d4bf7ee
refs/heads/master: 2e4930eb7c8fb20a39dfb5f8a8f80402710dcea8
2 changes: 1 addition & 1 deletion trunk/security/yama/yama_lsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ int yama_task_prctl(int option, unsigned long arg2, unsigned long arg3,
if (arg2 == 0) {
yama_ptracer_del(NULL, myself);
rc = 0;
} else if (arg2 == PR_SET_PTRACER_ANY) {
} else if (arg2 == PR_SET_PTRACER_ANY || (int)arg2 == -1) {
rc = yama_ptracer_add(NULL, myself);
} else {
struct task_struct *tracer;
Expand Down

0 comments on commit 4b24b29

Please sign in to comment.