Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99215
b: refs/heads/master
c: 2baf06d
h: refs/heads/master
i:
  99213: 8aaa21d
  99211: 685a458
  99207: f03ff6c
  99199: d2845a5
v: v3
  • Loading branch information
James Morris committed Jul 14, 2008
1 parent f0b3dc3 commit eb5236c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: e399f98224a03d2e85fb45eacba367c47173f6f9
refs/heads/master: 2baf06df85b27c1d64867883a0692519594f1ef2
4 changes: 2 additions & 2 deletions trunk/security/selinux/hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -5196,12 +5196,12 @@ static int selinux_setprocattr(struct task_struct *p,
struct task_struct *g, *t;
struct mm_struct *mm = p->mm;
read_lock(&tasklist_lock);
do_each_thread(g, t)
do_each_thread(g, t) {
if (t->mm == mm && t != p) {
read_unlock(&tasklist_lock);
return -EPERM;
}
while_each_thread(g, t);
} while_each_thread(g, t);
read_unlock(&tasklist_lock);
}

Expand Down

0 comments on commit eb5236c

Please sign in to comment.