Searched refs:secureexec (Results 1 - 11 of 11) sorted by relevance

/linux-master/tools/testing/selftests/bpf/progs/
H A Dbprm_opts.c24 int *secureexec; local
26 secureexec = bpf_task_storage_get(&secure_exec_task_map,
30 if (secureexec && *secureexec)
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtest_bprm_opts.c16 static int update_storage(int map_fd, int secureexec) argument
24 ret = bpf_map_update_elem(map_fd, &task_fd, &secureexec, BPF_NOEXIST);
32 static int run_set_secureexec(int map_fd, int secureexec) argument
47 * the bprm_creds_for_exec hook and sets bprm->secureexec.
49 ret = update_storage(map_fd, secureexec);
69 /* If a secureexec occurred, the exit status should be 20 */
70 if (secureexec && ret == 20)
74 if (!secureexec && ret == 10)
94 /* Run the test with the secureexec bit unset */
96 0 /* secureexec */);
[all...]
/linux-master/include/linux/
H A Dbinfmts.h40 secureexec:1, member in struct:linux_binprm
/linux-master/kernel/bpf/
H A Dbpf_lsm.c123 bprm->secureexec = (flags & BPF_F_BPRM_SECUREEXEC);
/linux-master/security/
H A Dcommoncap.c971 bprm->secureexec = 1;
/linux-master/security/apparmor/
H A Ddomain.c969 bprm->secureexec = 1;
/linux-master/fs/
H A Dbinfmt_elf.c256 NEW_AUX_ENT(AT_SECURE, bprm->secureexec);
H A Dexec.c1350 if (bprm->secureexec) {
1355 * For secureexec, reset the stack limit to sane default to
1370 * bprm->secureexec instead.
H A Dbinfmt_elf_fdpic.c660 NEW_AUX_ENT(AT_SECURE, bprm->secureexec);
/linux-master/security/smack/
H A Dsmack_lsm.c959 bprm->secureexec = 1;
/linux-master/security/selinux/
H A Dhooks.c2408 bprm->secureexec |= !!rc;

Completed in 210 milliseconds