Searched refs:opts (Results 1 – 8 of 8) sorted by relevance
/security/apparmor/ |
D | capability.c | 115 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()
|
D | lsm.c | 171 int cap, unsigned int opts) in apparmor_capable() argument 178 error = aa_capable(label, cap, opts); in apparmor_capable()
|
/security/smack/ |
D | smack_lsm.c | 579 struct smack_mnt_opts *opts = mnt_opts; in smack_free_mnt_opts() local 580 kfree(opts->fsdefault); in smack_free_mnt_opts() 581 kfree(opts->fsfloor); in smack_free_mnt_opts() 582 kfree(opts->fshat); in smack_free_mnt_opts() 583 kfree(opts->fsroot); in smack_free_mnt_opts() 584 kfree(opts->fstransmute); in smack_free_mnt_opts() 585 kfree(opts); in smack_free_mnt_opts() 590 struct smack_mnt_opts *opts = *mnt_opts; in smack_add_opt() local 592 if (!opts) { in smack_add_opt() 593 opts = kzalloc(sizeof(struct smack_mnt_opts), GFP_KERNEL); in smack_add_opt() [all …]
|
/security/selinux/ |
D | hooks.c | 401 struct selinux_mnt_opts *opts = mnt_opts; in selinux_free_mnt_opts() local 402 kfree(opts->fscontext); in selinux_free_mnt_opts() 403 kfree(opts->context); in selinux_free_mnt_opts() 404 kfree(opts->rootcontext); in selinux_free_mnt_opts() 405 kfree(opts->defcontext); in selinux_free_mnt_opts() 406 kfree(opts); in selinux_free_mnt_opts() 655 struct selinux_mnt_opts *opts = mnt_opts; in selinux_set_mnt_opts() local 664 if (!opts) { in selinux_set_mnt_opts() 694 && !opts) in selinux_set_mnt_opts() 704 if (opts) { in selinux_set_mnt_opts() [all …]
|
/security/safesetid/ |
D | lsm.c | 66 unsigned int opts) in safesetid_security_capable() argument 77 if ((opts & CAP_OPT_INSETID) != 0) in safesetid_security_capable()
|
/security/apparmor/include/ |
D | capability.h | 39 int aa_capable(struct aa_label *label, int cap, unsigned int opts);
|
/security/ |
D | commoncap.c | 66 int cap, unsigned int opts) in cap_capable() argument
|
D | security.c | 727 unsigned int opts) in security_capable() argument 729 return call_int_hook(capable, 0, cred, ns, cap, opts); in security_capable()
|