git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e00cdb
)
exec: move the final allow_write_access/fput into free_bprm()
author
Oleg Nesterov
<oleg@redhat.com>
Thu, 23 Jan 2014 23:55:51 +0000
(15:55 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 24 Jan 2014 00:37:02 +0000
(16:37 -0800)
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>
fs/exec.c
patch
|
blob
|
history
diff --cc
fs/exec.c
Simple merge