Messages in this thread | | | Date | Mon, 16 Nov 2020 22:14:46 -0800 | From | Martin KaFai Lau <> | Subject | Re: [PATCH bpf-next v3 1/2] bpf: Add bpf_lsm_set_bprm_opts helper |
| |
On Tue, Nov 17, 2020 at 02:13:06AM +0000, KP Singh wrote: > From: KP Singh <kpsingh@google.com> > > The helper allows modification of certain bits on the linux_binprm > struct starting with the secureexec bit which can be updated using the > BPF_LSM_F_BPRM_SECUREEXEC flag. > > secureexec can be set by the LSM for privilege gaining executions to set > the AT_SECURE auxv for glibc. When set, the dynamic linker disables the > use of certain environment variables (like LD_PRELOAD). > > Signed-off-by: KP Singh <kpsingh@google.com> Acked-by: Martin KaFai Lau <kafai@fb.com>
| |