Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11850
b: refs/heads/master
c: 20e1129
h: refs/heads/master
v: v3
  • Loading branch information
David Howells authored and Linus Torvalds committed Oct 31, 2005
1 parent f4dcb7b commit 8894f6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 29db9190634067c5a328ee5fcc2890251b836b4b
refs/heads/master: 20e1129ab831486c811d50d3905343ad48c4275f
6 changes: 3 additions & 3 deletions trunk/kernel/kmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,14 @@ struct subprocess_info {
static int ____call_usermodehelper(void *data)
{
struct subprocess_info *sub_info = data;
struct key *old_session;
struct key *new_session, *old_session;
int retval;

/* Unblock all signals and set the session keyring. */
key_get(sub_info->ring);
new_session = key_get(sub_info->ring);
flush_signals(current);
spin_lock_irq(&current->sighand->siglock);
old_session = __install_session_keyring(current, sub_info->ring);
old_session = __install_session_keyring(current, new_session);
flush_signal_handlers(current, 1);
sigemptyset(&current->blocked);
recalc_sigpending();
Expand Down

0 comments on commit 8894f6d

Please sign in to comment.