Home
last modified time | relevance | path

Searched refs:opts (Results 1 – 8 of 8) sorted by relevance

/security/apparmor/
Dcapability.c115 unsigned int opts, struct common_audit_data *sa) in profile_capable() argument
125 if (opts & CAP_OPT_NOAUDIT) { in profile_capable()
147 int aa_capable(struct aa_label *label, int cap, unsigned int opts) in aa_capable() argument
155 profile_capable(profile, cap, opts, &sa)); in aa_capable()
Dlsm.c181 int cap, unsigned int opts) in apparmor_capable() argument
188 error = aa_capable(label, cap, opts); in apparmor_capable()
/security/selinux/
Dhooks.c366 struct selinux_mnt_opts *opts = mnt_opts; in selinux_free_mnt_opts() local
367 kfree(opts->fscontext); in selinux_free_mnt_opts()
368 kfree(opts->context); in selinux_free_mnt_opts()
369 kfree(opts->rootcontext); in selinux_free_mnt_opts()
370 kfree(opts->defcontext); in selinux_free_mnt_opts()
371 kfree(opts); in selinux_free_mnt_opts()
641 struct selinux_mnt_opts *opts = mnt_opts; in selinux_set_mnt_opts() local
650 if (!opts) { in selinux_set_mnt_opts()
680 && !opts) in selinux_set_mnt_opts()
690 if (opts) { in selinux_set_mnt_opts()
[all …]
/security/smack/
Dsmack_lsm.c557 struct smack_mnt_opts *opts = mnt_opts; in smack_free_mnt_opts() local
558 kfree(opts->fsdefault); in smack_free_mnt_opts()
559 kfree(opts->fsfloor); in smack_free_mnt_opts()
560 kfree(opts->fshat); in smack_free_mnt_opts()
561 kfree(opts->fsroot); in smack_free_mnt_opts()
562 kfree(opts->fstransmute); in smack_free_mnt_opts()
563 kfree(opts); in smack_free_mnt_opts()
568 struct smack_mnt_opts *opts = *mnt_opts; in smack_add_opt() local
570 if (!opts) { in smack_add_opt()
571 opts = kzalloc(sizeof(struct smack_mnt_opts), GFP_KERNEL); in smack_add_opt()
[all …]
/security/apparmor/include/
Dcapability.h39 int aa_capable(struct aa_label *label, int cap, unsigned int opts);
/security/safesetid/
Dlsm.c93 unsigned int opts) in safesetid_security_capable() argument
110 if ((opts & CAP_OPT_INSETID) != 0) in safesetid_security_capable()
/security/
Dcommoncap.c67 int cap, unsigned int opts) in cap_capable() argument
Dsecurity.c806 unsigned int opts) in security_capable() argument
808 return call_int_hook(capable, 0, cred, ns, cap, opts); in security_capable()