Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35708
b: refs/heads/master
c: b1fc0b1
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Linus Torvalds committed Sep 26, 2006
1 parent 12aa938 commit cf1c381
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 75e29b18d9a46bf3193278e92dc95609a8cca2ab
refs/heads/master: b1fc0b1f21c4082d24d1f456a846b4fa7d16a70b
4 changes: 3 additions & 1 deletion trunk/arch/um/kernel/exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@ static long execve1(char *file, char __user * __user *argv,
long error;

#ifdef CONFIG_TTY_LOG
task_lock(current);
mutex_lock(&tty_mutex);
task_lock(current); /* FIXME: is this needed ? */
log_exec(argv, current->signal->tty);
task_unlock(current);
mutex_unlock(&tty_mutex);
#endif
error = do_execve(file, argv, env, &current->thread.regs);
if (error == 0){
Expand Down

0 comments on commit cf1c381

Please sign in to comment.