Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120643
b: refs/heads/master
c: 41d9f9c
h: refs/heads/master
i:
  120641: 1654b9d
  120639: e031fcd
v: v3
  • Loading branch information
Eric Paris authored and James Morris committed Nov 4, 2008
1 parent 657966c commit 37894ae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8b6a5a37f87a414ef8636e36ec75accb27bb7508
refs/heads/master: 41d9f9c524a53477467b7e0111ff3d644198f191
7 changes: 7 additions & 0 deletions trunk/security/selinux/hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -2268,7 +2268,9 @@ static void selinux_bprm_post_apply_creds(struct linux_binprm *bprm)
struct rlimit *rlim, *initrlim;
struct itimerval itimer;
struct bprm_security_struct *bsec;
struct sighand_struct *psig;
int rc, i;
unsigned long flags;

tsec = current->security;
bsec = bprm->security;
Expand Down Expand Up @@ -2335,7 +2337,12 @@ static void selinux_bprm_post_apply_creds(struct linux_binprm *bprm)

/* Wake up the parent if it is waiting so that it can
recheck wait permission to the new task SID. */
read_lock_irq(&tasklist_lock);
psig = current->parent->sighand;
spin_lock_irqsave(&psig->siglock, flags);
wake_up_interruptible(&current->parent->signal->wait_chldexit);
spin_unlock_irqrestore(&psig->siglock, flags);
read_unlock_irq(&tasklist_lock);
}

/* superblock security operations */
Expand Down

0 comments on commit 37894ae

Please sign in to comment.