Fix resource leaks for exec related stuffs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 21 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | fs/exec.c: export free_arg_pagesfs/ include/ | +5 | 2 replies | |
| 2/9 | fs/exec.c: fix resource leaks and wrong goto'sfs/ | +6 | 1 reply | |
| 3/9 | fs/compat.c: fix resource leaks and wrong goto'sfs/ | +7 | 4 replies | |
| 4/9 | fs/binfmt_script.c: fix resource leaksfs/ | +20 | 1 reply | |
| 5/9 | fs/binfmt_em86.c: fix resource leaksfs/ | +19 | 2 replies | |
| 6/9 | fs/binfmt_misc.c: fix resource leaksfs/ | +12 | 1 reply | |
| 7/9 | fs/exec.c: fix wrong return value of prepare_binprm()fs/ | +6 | 6 replies | |
| 8/9 | fs/binfmt_elf.c: fix wrong return valuesfs/ | +2 | 0 replies | |
| 9/9 | fs/exec.c: fix a wrong goto pathfs/ | +1 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Patch 0/9] Fix resource leaks for exec related stuffs
This patchset contains various fixes for fs/binfmt_*.c, fs/{exec, compat}.c. Most of them are aimed to fix resource leaks in failure path. Others are bug fixes in failure path.
All patches are tested on UML, except [5/9] and [6/9], since I don't have the desired environment to test them. It should be OK since [4/9] is the similar fix.
Signed-off-by WANG Cong <[email protected]>