Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/security/apparmor/
H 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()
H A Ddomain.c73 if (!tracer || unconfined(tracerl)) in may_change_ptraced_domain()
879 if ((bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS) && !unconfined(label) && in apparmor_bprm_creds_for_exec()
917 !unconfined(label) && in apparmor_bprm_creds_for_exec()
1168 if (task_no_new_privs(current) && !unconfined(label) && !ctx->nnp) in aa_change_hat()
1171 if (unconfined(label)) { in aa_change_hat()
1195 if (task_no_new_privs(current) && !unconfined(label) && in aa_change_hat()
1216 if (task_no_new_privs(current) && !unconfined(label) && in aa_change_hat()
1313 if (task_no_new_privs(current) && !unconfined(label) && !ctx->nnp) in aa_change_profile()
1411 if (task_no_new_privs(current) && !unconfined(label) && in aa_change_profile()
H A Dlsm.c161 if (!unconfined(label)) { in apparmor_capget()
187 if (!unconfined(label)) in apparmor_capable()
210 if (!unconfined(label)) in common_perm()
346 if (!unconfined(label)) in apparmor_path_link()
363 if (!unconfined(label)) { in apparmor_path_rename()
422 if (!unconfined(label)) { in apparmor_file_open()
542 if (!unconfined(label)) { in apparmor_sb_mount()
567 if (!unconfined(label)) in apparmor_sb_umount()
581 if (!unconfined(label)) in apparmor_sb_pivotroot()
699 (unconfined(new_label))) in apparmor_bprm_committing_creds()
[all …]
H 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()
H A Dsecid.c102 label = aa_label_strn_parse(&root_ns->unconfined->label, secdata, in apparmor_secctx_to_secid()
H A Dtask.c65 if (unconfined(label) || (labels_ns(old) != labels_ns(label))) in aa_replace_current_label()
H A Daudit.c195 rule->label = aa_label_parse(&root_ns->unconfined->label, rulestr, in aa_audit_rule_init()
H A Dipc.c80 if (profile_unconfined(tracee) || unconfined(tracer) || in profile_tracee_perm()
H A Dfile.c621 if (unconfined(label) || unconfined(flabel) || in aa_file_perm()
H A Dlabel.c1537 if ((flags & FLAG_SHOW_MODE) && profile != profile->ns->unconfined) { in aa_profile_snxprint()
1563 if (profile == profile->ns->unconfined) in label_modename()
1596 profile != profile->ns->unconfined) in display_mode()
1900 base != &root_ns->unconfined->label)) in aa_label_strn_parse()
H A Dpolicy.c446 profile = aa_get_newest_profile(ns->unconfined); in aa_lookupn_profile()
477 profile = aa_get_newest_profile(ns->unconfined); in aa_fqlookupn_profile()
/OK3568_Linux_fs/kernel/security/apparmor/include/
H 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()
H A Dlabel.h146 #define unconfined(X) label_unconfined(X) macro
/OK3568_Linux_fs/buildroot/package/apparmor/
H A DConfig.in36 select BR2_PACKAGE_NET_TOOLS # runtime (aa-unconfined)
43 aa-complain aa-genprof aa-unconfined
/OK3568_Linux_fs/kernel/Documentation/admin-guide/LSM/
H A Dapparmor.rst11 them run in an unconfined state which is equivalent to standard Linux DAC
H 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
/OK3568_Linux_fs/buildroot/package/refpolicy/
H A Drefpolicy.mk70 unconfined \