summaryrefslogtreecommitdiff
path: root/lib/test_sysctl.c
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2024-03-22 12:54:18 -0700
committerKees Cook <keescook@chromium.org>2024-04-24 15:55:28 -0700
commit10e29251be0e9f774910c1baaa89355859491769 (patch)
treefd1f0cf34c69e8019c8945b84701ea95c8ecd052 /lib/test_sysctl.c
parent2a5eb9995528441447d33838727f6ec1caf08139 (diff)
binfmt_elf_fdpic: fix /proc/<pid>/auxv
Althought FDPIC linux kernel provides /proc/<pid>/auxv files they are empty because there's no code that initializes mm->saved_auxv in the FDPIC ELF loader. Synchronize FDPIC ELF aux vector setup with ELF. Replace entry-by-entry aux vector copying to userspace with initialization of mm->saved_auxv first and then copying it to userspace as a whole. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Link: https://lore.kernel.org/r/20240322195418.2160164-1-jcmvbkbc@gmail.com Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'lib/test_sysctl.c')
0 files changed, 0 insertions, 0 deletions