Home
last modified time | relevance | path

Searched refs:request (Results 1 – 6 of 6) sorted by relevance

/security/apparmor/
Dfile.c70 if (sa->aad->fs.request & AA_AUDIT_FILE_MASK) { in file_audit_cb()
72 audit_file_mask(ab, sa->aad->fs.request); in file_audit_cb()
78 if (sa->aad->fs.request & AA_AUDIT_FILE_MASK) { in file_audit_cb()
105 gfp_t gfp, int op, u32 request, const char *name, in aa_audit_file() argument
114 aad.fs.request = request; in aa_audit_file()
128 sa.aad->fs.request &= mask; in aa_audit_file()
130 if (likely(!sa.aad->fs.request)) in aa_audit_file()
135 sa.aad->fs.request = sa.aad->fs.request & ~perms->allow; in aa_audit_file()
137 if (sa.aad->fs.request & perms->kill) in aa_audit_file()
141 if ((sa.aad->fs.request & perms->quiet) && in aa_audit_file()
[all …]
Ddomain.c103 const char *name, u32 request, in change_profile_perms() argument
119 if (COMBINED_PERM_MASK(perms) & request) in change_profile_perms()
759 u32 request; in aa_change_profile() local
765 request = AA_MAY_ONEXEC; in aa_change_profile()
768 request = AA_MAY_CHANGE_PROFILE; in aa_change_profile()
810 perms = change_profile_perms(profile, ns, hname, request, in aa_change_profile()
812 if (!(perms.allow & request)) { in aa_change_profile()
850 error = aa_audit_file(profile, &perms, GFP_KERNEL, op, request, in aa_change_profile()
/security/smack/
Dsmack_access.c124 int smk_access(char *subject_label, char *object_label, int request, in smk_access() argument
163 if ((request & MAY_ANYREAD) == request) { in smk_access()
181 if (may > 0 && (request & may) == request) in smk_access()
188 smack_log(subject_label, object_label, request, rc, a); in smk_access()
286 audit_log_format(ab, " requested=%s", sad->request); in smack_log_callback()
300 void smack_log(char *subject_label, char *object_label, int request, in smack_log() argument
319 smack_str_from_perm(request_buffer, request); in smack_log()
322 sad->request = request_buffer; in smack_log()
328 void smack_log(char *subject_label, char *object_label, int request, in smack_log() argument
Dsmack.h193 char *request; member
309 int request,
/security/apparmor/include/
Dfile.h148 gfp_t gfp, int op, u32 request, const char *name,
175 int flags, u32 request, struct path_cond *cond);
181 u32 request);
Daudit.h125 u32 request; member