diff options
author | Oleg Nesterov <[email protected]> | 2014-01-23 15:55:51 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-01-23 16:37:02 -0800 |
commit | 63e46b95e9eae1161832bf45cb40bbad37bfb182 (patch) | |
tree | 642f1ba4567fabd0358a45d77dc653ab98adac14 /net/lapb/lapb_out.c | |
parent | 9e00cdb091b008cb3c78192651180896de412a63 (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 <[email protected]>
Acked-by: KOSAKI Motohiro <[email protected]>
Cc: Al Viro <[email protected]>
Acked-by: Kees Cook <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions