Home
last modified time | relevance | path

Searched defs:cap (Results 1 – 7 of 7) sorted by relevance

/security/apparmor/
Dcapability.c65 int cap, int error) in audit_caps()
114 static int profile_capable(struct aa_profile *profile, int cap, in profile_capable()
147 int aa_capable(struct aa_label *label, int cap, unsigned int opts) in aa_capable()
Dlsm.c181 int cap, unsigned int opts) in apparmor_capable()
/security/
Dcommoncap.c66 int cap_capable(const struct cred *cred, struct user_namespace *targ_ns, in cap_capable()
353 static bool is_v2header(size_t size, const struct vfs_cap_data *cap) in is_v2header()
360 static bool is_v3header(size_t size, const struct vfs_cap_data *cap) in is_v3header()
387 struct vfs_cap_data *cap; in cap_inode_getsecurity() local
518 static bool validheader(size_t size, const struct vfs_cap_data *cap) in validheader()
547 const struct vfs_cap_data *cap = *ivalue; in cap_convert_nscap() local
1242 static int cap_prctl_drop(unsigned long cap) in cap_prctl_drop()
Dsecurity.c805 int cap, in security_capable()
/security/smack/
Dsmack_access.c653 bool smack_privileged_cred(int cap, const struct cred *cred) in smack_privileged_cred()
690 bool smack_privileged(int cap) in smack_privileged()
/security/safesetid/
Dlsm.c92 int cap, in safesetid_security_capable()
/security/selinux/
Dhooks.c1649 int cap, unsigned int opts, bool initns) in cred_has_capability()
2191 int cap, unsigned int opts) in selinux_capable()