• Home
  • Raw
  • Download

Lines Matching refs:request

63 	if (aad(sa)->request & AA_AUDIT_FILE_MASK) {  in file_audit_cb()
65 audit_file_mask(ab, aad(sa)->request); in file_audit_cb()
71 if (aad(sa)->request & AA_AUDIT_FILE_MASK) { in file_audit_cb()
104 const char *op, u32 request, const char *name, in aa_audit_file() argument
112 aad(&sa)->request = request; in aa_audit_file()
128 aad(&sa)->request &= mask; in aa_audit_file()
130 if (likely(!aad(&sa)->request)) in aa_audit_file()
135 aad(&sa)->request = aad(&sa)->request & ~perms->allow; in aa_audit_file()
136 AA_BUG(!aad(&sa)->request); in aa_audit_file()
138 if (aad(&sa)->request & perms->kill) in aa_audit_file()
142 if ((aad(&sa)->request & perms->quiet) && in aa_audit_file()
145 aad(&sa)->request &= ~perms->quiet; in aa_audit_file()
147 if (!aad(&sa)->request) in aa_audit_file()
151 aad(&sa)->denied = aad(&sa)->request & ~perms->allow; in aa_audit_file()
170 const char **name, struct path_cond *cond, u32 request) in path_name() argument
180 aa_audit_file(profile, &nullperms, op, request, *name, in path_name()
286 u32 request, struct path_cond *cond, int flags, in __aa_path_perm() argument
294 if (request & ~perms->allow) in __aa_path_perm()
296 return aa_audit_file(profile, perms, op, request, name, NULL, NULL, in __aa_path_perm()
302 const struct path *path, char *buffer, u32 request, in profile_path_perm() argument
314 request); in profile_path_perm()
317 return __aa_path_perm(op, profile, name, request, cond, flags, in profile_path_perm()
333 const struct path *path, int flags, u32 request, in aa_path_perm() argument
345 profile_path_perm(op, profile, path, buffer, request, in aa_path_perm()
381 u32 request = AA_MAY_LINK; in profile_path_link() local
432 request = lperms.allow & ~AA_MAY_LINK; in profile_path_link()
435 request |= AA_AUDIT_FILE_MASK & (lperms.allow & ~perms.allow); in profile_path_link()
436 if (request & ~lperms.allow) { in profile_path_link()
441 request |= MAY_EXEC; in profile_path_link()
450 return aa_audit_file(profile, &lperms, OP_LINK, request, lname, tname, in profile_path_link()
496 u32 request) in update_file_ctx() argument
511 fctx->allow |= request; in update_file_ctx()
518 u32 request, u32 denied) in __file_path_perm() argument
540 request, &cond, flags, &perms)); in __file_path_perm()
553 buffer, request, &cond, flags, in __file_path_perm()
558 buffer, request, &cond, flags, in __file_path_perm()
562 update_file_ctx(file_ctx(file), label, request); in __file_path_perm()
579 u32 request) in aa_file_perm() argument
602 denied = request & ~fctx->allow; in aa_file_perm()
610 error = __file_path_perm(op, label, flabel, file, request, in aa_file_perm()