Lines Matching refs:lperms
322 struct aa_perms lperms = {}, perms; in profile_path_link() local
345 cond, &lperms); in profile_path_link()
347 if (!(lperms.allow & AA_MAY_LINK)) in profile_path_link()
357 lperms.audit = perms.audit; in profile_path_link()
358 lperms.quiet = perms.quiet; in profile_path_link()
359 lperms.kill = perms.kill; in profile_path_link()
363 lperms = perms; in profile_path_link()
378 request = lperms.allow & ~AA_MAY_LINK; in profile_path_link()
379 lperms.allow &= perms.allow | AA_MAY_LINK; in profile_path_link()
381 request |= AA_AUDIT_FILE_MASK & (lperms.allow & ~perms.allow); in profile_path_link()
382 if (request & ~lperms.allow) { in profile_path_link()
384 } else if ((lperms.allow & MAY_EXEC) && in profile_path_link()
385 !xindex_is_subset(lperms.xindex, perms.xindex)) { in profile_path_link()
386 lperms.allow &= ~MAY_EXEC; in profile_path_link()
397 profile, &lperms, OP_LINK, request, lname, tname, in profile_path_link()