Lines Matching refs:lperms
360 struct file_perms lperms, perms; in aa_path_link() local
365 lperms = nullperms; in aa_path_link()
380 &cond, &lperms); in aa_path_link()
382 if (!(lperms.allow & AA_MAY_LINK)) in aa_path_link()
392 lperms.audit = perms.audit; in aa_path_link()
393 lperms.quiet = perms.quiet; in aa_path_link()
394 lperms.kill = perms.kill; in aa_path_link()
412 request = lperms.allow & ~AA_MAY_LINK; in aa_path_link()
413 lperms.allow &= perms.allow | AA_MAY_LINK; in aa_path_link()
415 request |= AA_AUDIT_FILE_MASK & (lperms.allow & ~perms.allow); in aa_path_link()
416 if (request & ~lperms.allow) { in aa_path_link()
418 } else if ((lperms.allow & MAY_EXEC) && in aa_path_link()
419 !xindex_is_subset(lperms.xindex, perms.xindex)) { in aa_path_link()
420 lperms.allow &= ~MAY_EXEC; in aa_path_link()
430 error = aa_audit_file(profile, &lperms, GFP_KERNEL, OP_LINK, request, in aa_path_link()