Home
last modified time | relevance | path

Searched refs:unconfined (Results 1 – 15 of 15) sorted by relevance

/linux/security/apparmor/
A Dpolicy_ns.c104 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()
A Ddomain.c75 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()
A Dlsm.c161 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 …]
A Dnet.c153 if (!unconfined(label)) { in aa_label_sk_perm()
201 label = aa_label_strn_parse(&root_ns->unconfined->label, in apparmor_secmark_init()
A Dsecid.c102 label = aa_label_strn_parse(&root_ns->unconfined->label, secdata, in apparmor_secctx_to_secid()
A Dtask.c65 if (unconfined(label) || (labels_ns(old) != labels_ns(label))) in aa_replace_current_label()
A Daudit.c195 rule->label = aa_label_parse(&root_ns->unconfined->label, rulestr, in aa_audit_rule_init()
A Dipc.c80 if (profile_unconfined(tracee) || unconfined(tracer) || in profile_tracee_perm()
A Dfile.c623 if (unconfined(label) || unconfined(flabel) || in aa_file_perm()
A Dlabel.c1536 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()
A Dpolicy.c445 profile = aa_get_newest_profile(ns->unconfined); in aa_lookupn_profile()
476 profile = aa_get_newest_profile(ns->unconfined); in aa_fqlookupn_profile()
/linux/security/apparmor/include/
A Dpolicy_ns.h63 struct aa_profile *unconfined; member
81 #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()
A Dlabel.h142 #define unconfined(X) label_unconfined(X) macro
/linux/Documentation/admin-guide/LSM/
A Dapparmor.rst11 them run in an unconfined state which is equivalent to standard Linux DAC
A DSmack.rst309 unconfined
856 Another feature of bringup mode is the "unconfined" option. Writing
857 a label to /sys/fs/smackfs/unconfined makes subjects with that label
859 all subjects. Any access that is granted because a label is unconfined

Completed in 26 milliseconds