Home
last modified time | relevance | path

Searched refs:AA_MAY_ONEXEC (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/security/apparmor/include/
H A Dperms.h45 #define AA_MAY_ONEXEC 0x20000000 /* either stack or change_profile */ macro
60 AA_MAY_STACK | AA_MAY_ONEXEC | \
/kernel/linux/linux-5.10/security/apparmor/
H A Ddomain.c292 perms->allow = AA_MAY_CHANGE_PROFILE | AA_MAY_ONEXEC; in change_profile_perms()
759 if (!(perms.allow & AA_MAY_ONEXEC)) { in profile_onexec()
768 error = change_profile_perms(profile, onexec, stack, AA_MAY_ONEXEC, in profile_onexec()
771 perms.allow &= ~AA_MAY_ONEXEC; in profile_onexec()
786 return aa_audit_file(profile, &perms, OP_EXEC, AA_MAY_ONEXEC, xname, in profile_onexec()
838 AA_MAY_ONEXEC, bprm->filename, NULL, in handle_onexec()
1323 request = AA_MAY_ONEXEC; in aa_change_profile()
H A Dfile.c240 perms.allow |= AA_MAY_ONEXEC; in aa_compute_fperms()
/kernel/linux/linux-6.6/security/apparmor/
H A Ddomain.c288 perms->allow = AA_MAY_CHANGE_PROFILE | AA_MAY_ONEXEC; in change_profile_perms()
773 if (!(perms.allow & AA_MAY_ONEXEC)) { in profile_onexec()
782 error = change_profile_perms(profile, onexec, stack, AA_MAY_ONEXEC, in profile_onexec()
785 perms.allow &= ~AA_MAY_ONEXEC; in profile_onexec()
801 AA_MAY_ONEXEC, xname, in profile_onexec()
857 AA_MAY_ONEXEC, bprm->filename, NULL, in handle_onexec()
1358 request = AA_MAY_ONEXEC; in aa_change_profile()
H A Dpolicy_compat.c109 perms->allow |= AA_MAY_ONEXEC; in compute_fperms_allow()
/kernel/linux/linux-6.6/security/apparmor/include/
H A Dperms.h45 #define AA_MAY_ONEXEC 0x20000000 /* either stack or change_profile */ macro
60 AA_MAY_STACK | AA_MAY_ONEXEC | \

Completed in 6 milliseconds