Re: [PATCH bpf-next v2 2/2] bpf: Add tests for bpf_lsm_set_bprm_opts

2020-11-16 Thread KP Singh
On Tue, Nov 17, 2020 at 1:43 AM Martin KaFai Lau wrote: > > On Mon, Nov 16, 2020 at 11:25:36PM +, KP Singh wrote: > > From: KP Singh > > > > The test forks a child process, updates the local storage to set/unset > > the securexec bit. > > > > The BPF program in the test attaches to

Re: [PATCH bpf-next v2 2/2] bpf: Add tests for bpf_lsm_set_bprm_opts

2020-11-16 Thread Martin KaFai Lau
On Mon, Nov 16, 2020 at 11:25:36PM +, KP Singh wrote: > From: KP Singh > > The test forks a child process, updates the local storage to set/unset > the securexec bit. > > The BPF program in the test attaches to bprm_creds_for_exec which checks > the local storage of the current task to set