diff options
author | Oleg Nesterov <oleg@redhat.com> | 2014-01-10 12:42:04 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2014-01-10 12:42:04 +1100 |
commit | f7f7913808ace31878044e658e1c9a509514d3ec (patch) | |
tree | deb0f6058cbc79024e0d6fd5b445b56708a9b33a /include | |
parent | 9d2325bd6b5c440764fc3de3410f54a0f986b7e7 (diff) |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions