aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sys.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2014-01-23 15:55:51 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-23 16:37:02 -0800
commit63e46b95e9eae1161832bf45cb40bbad37bfb182 (patch)
tree642f1ba4567fabd0358a45d77dc653ab98adac14 /kernel/sys.c
parentexec:check_unsafe_exec: kill the dead -EAGAIN and clear_in_exec logic (diff)
downloadlinux-dev-63e46b95e9eae1161832bf45cb40bbad37bfb182.tar.xz
linux-dev-63e46b95e9eae1161832bf45cb40bbad37bfb182.zip
exec: move the final allow_write_access/fput into free_bprm()
Both success/failure paths cleanup bprm->file, we can move this code into free_bprm() to simlify and cleanup this logic. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions