projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sgx: use ->f_mapping...
[linux-2.6-block.git]
/
fs
/
exec.c
diff --git
a/fs/exec.c
b/fs/exec.c
index 5fd73915c62ce802f2836d38853fca71d169f257..f793221f4eb63e3bb781fa766190a389e6038c95 100644
(file)
--- a/
fs/exec.c
+++ b/
fs/exec.c
@@
-1304,6
+1304,9
@@
int begin_new_exec(struct linux_binprm * bprm)
bprm->mm = NULL;
#ifdef CONFIG_POSIX_TIMERS
+ spin_lock_irq(&me->sighand->siglock);
+ posix_cpu_timers_exit(me);
+ spin_unlock_irq(&me->sighand->siglock);
exit_itimers(me);
flush_itimer_signals();
#endif