Searched refs:unconfined (Results 1 – 15 of 15) sorted by relevance
104 ns->unconfined = aa_alloc_profile("unconfined", NULL, GFP_KERNEL); in alloc_ns()105 if (!ns->unconfined) in alloc_ns()108 ns->unconfined->label.flags |= FLAG_IX_ON_NAME_ERROR | in alloc_ns()110 ns->unconfined->mode = APPARMOR_UNCONFINED; in alloc_ns()111 ns->unconfined->file.dfa = aa_get_dfa(nulldfa); in alloc_ns()112 ns->unconfined->policy.dfa = aa_get_dfa(nulldfa); in alloc_ns()115 ns->unconfined->ns = ns; in alloc_ns()146 ns->unconfined->ns = NULL; in aa_free_ns()147 aa_free_profile(ns->unconfined); in aa_free_ns()
75 if (!tracer || unconfined(tracerl)) in may_change_ptraced_domain()883 if ((bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS) && !unconfined(label) && in apparmor_bprm_creds_for_exec()921 !unconfined(label) && in apparmor_bprm_creds_for_exec()1171 if (task_no_new_privs(current) && !unconfined(label) && !ctx->nnp) in aa_change_hat()1174 if (unconfined(label)) { in aa_change_hat()1198 if (task_no_new_privs(current) && !unconfined(label) && in aa_change_hat()1219 if (task_no_new_privs(current) && !unconfined(label) && in aa_change_hat()1316 if (task_no_new_privs(current) && !unconfined(label) && !ctx->nnp) in aa_change_profile()1414 if (task_no_new_privs(current) && !unconfined(label) && in aa_change_profile()
161 if (!unconfined(label)) { in apparmor_capget()187 if (!unconfined(label)) in apparmor_capable()210 if (!unconfined(label)) in common_perm()349 if (!unconfined(label)) in apparmor_path_link()366 if (!unconfined(label)) { in apparmor_path_rename()427 if (!unconfined(label)) { in apparmor_file_open()551 if (!unconfined(label)) { in apparmor_sb_mount()576 if (!unconfined(label)) in apparmor_sb_umount()590 if (!unconfined(label)) in apparmor_sb_pivotroot()708 (unconfined(new_label))) in apparmor_bprm_committing_creds()[all …]
153 if (!unconfined(label)) { in aa_label_sk_perm()201 label = aa_label_strn_parse(&root_ns->unconfined->label, in apparmor_secmark_init()
102 label = aa_label_strn_parse(&root_ns->unconfined->label, secdata, in apparmor_secctx_to_secid()
65 if (unconfined(label) || (labels_ns(old) != labels_ns(label))) in aa_replace_current_label()
195 rule->label = aa_label_parse(&root_ns->unconfined->label, rulestr, in aa_audit_rule_init()
80 if (profile_unconfined(tracee) || unconfined(tracer) || in profile_tracee_perm()
623 if (unconfined(label) || unconfined(flabel) || in aa_file_perm()
1536 if ((flags & FLAG_SHOW_MODE) && profile != profile->ns->unconfined) { in aa_profile_snxprint()1562 if (profile == profile->ns->unconfined) in label_modename()1595 profile != profile->ns->unconfined) in display_mode()1898 if (str == NULL || (*str == '=' && base != &root_ns->unconfined->label)) in aa_label_strn_parse()
445 profile = aa_get_newest_profile(ns->unconfined); in aa_lookupn_profile()476 profile = aa_get_newest_profile(ns->unconfined); in aa_fqlookupn_profile()
63 struct aa_profile *unconfined; member81 #define ns_unconfined(NS) (&(NS)->unconfined->label)115 aa_get_profile(ns->unconfined); in aa_get_ns()129 aa_put_profile(ns->unconfined); in aa_put_ns()
142 #define unconfined(X) label_unconfined(X) macro
11 them run in an unconfined state which is equivalent to standard Linux DAC
309 unconfined856 Another feature of bringup mode is the "unconfined" option. Writing857 a label to /sys/fs/smackfs/unconfined makes subjects with that label859 all subjects. Any access that is granted because a label is unconfined
Completed in 29 milliseconds