diff options
author | Wang Yufen <wangyufen@huawei.com> | 2022-12-02 04:41:01 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2022-12-02 06:15:52 +0300 |
commit | e7f703ff2507f4e9f496da96cd4b78fd3026120c (patch) | |
tree | e4ed9d6db67e61af15c1d98edd3f7d2edd7fa0df /kernel/fork.c | |
parent | cd57e443831d8eeb083c7165bce195d886e216d4 (diff) | |
download | linux-e7f703ff2507f4e9f496da96cd4b78fd3026120c.tar.xz |
binfmt: Fix error return code in load_elf_fdpic_binary()
Fix to return a negative error code from create_elf_fdpic_tables()
instead of 0.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Cc: stable@vger.kernel.org
Signed-off-by: Wang Yufen <wangyufen@huawei.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/1669945261-30271-1-git-send-email-wangyufen@huawei.com
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions