/linux/security/apparmor/include/ |
H A D | capability.h | 29 kernel_cap_t allow; 30 kernel_cap_t audit; 31 kernel_cap_t denied; 32 kernel_cap_t quiet; 33 kernel_cap_t kill; 34 kernel_cap_t extended; 39 kernel_cap_t aa_profile_capget(struct aa_profile *profile);
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_deny_namespace.c | 8 typedef struct { unsigned long long val; } kernel_cap_t; typedef 11 kernel_cap_t cap_effective; 19 kernel_cap_t caps = cred->cap_effective; in BPF_PROG()
|
/linux/include/linux/ |
H A D | cred.h | 122 kernel_cap_t cap_inheritable; /* caps our children can inherit */ 123 kernel_cap_t cap_permitted; /* caps we're permitted */ 124 kernel_cap_t cap_effective; /* caps we can actually use */ 125 kernel_cap_t cap_bset; /* capability bounding set */ 126 kernel_cap_t cap_ambient; /* Ambient capability set */
|
H A D | security.h | 179 extern int cap_capget(const struct task_struct *target, kernel_cap_t *effective, 180 kernel_cap_t *inheritable, kernel_cap_t *permitted); 182 const kernel_cap_t *effective, 183 const kernel_cap_t *inheritable, 184 const kernel_cap_t *permitted); 342 kernel_cap_t *effective, 343 kernel_cap_t *inheritable, 344 kernel_cap_t *permitted); 346 const kernel_cap_t *effective, 347 const kernel_cap_t *inheritable, [all …]
|
H A D | lsm_hook_defs.h | 39 LSM_HOOK(int, 0, capget, const struct task_struct *target, kernel_cap_t *effective, 40 kernel_cap_t *inheritable, kernel_cap_t *permitted) 42 const kernel_cap_t *effective, const kernel_cap_t *inheritable, 43 const kernel_cap_t *permitted)
|
/linux/kernel/ |
H A D | audit.h | 57 kernel_cap_t permitted; 58 kernel_cap_t inheritable; 61 kernel_cap_t effective; /* effective set of process */ 63 kernel_cap_t ambient;
|
H A D | auditsc.c | 1302 kernel_cap_t *cap) in audit_log_cap()
|
/linux/security/apparmor/ |
H A D | capability.c | 194 kernel_cap_t aa_profile_capget(struct aa_profile *profile) in aa_profile_capget() 201 kernel_cap_t caps = CAP_EMPTY_SET; in aa_profile_capget()
|
H A D | policy_unpack.c | 312 static bool aa_unpack_cap_low(struct aa_ext *e, kernel_cap_t *data, const char *name) in aa_unpack_cap_low() 322 static bool aa_unpack_cap_high(struct aa_ext *e, kernel_cap_t *data, const char *name) in aa_unpack_cap_high() 855 kernel_cap_t tmpcap; in unpack_profile()
|
H A D | lsm.c | 163 static int apparmor_capget(const struct task_struct *target, kernel_cap_t *effective, in apparmor_capget() 164 kernel_cap_t *inheritable, kernel_cap_t *permitted) in apparmor_capget() 182 kernel_cap_t allowed; in apparmor_capget()
|
/linux/security/ |
H A D | commoncap.c | 168 const kernel_cap_t *caller_caps; in cap_ptrace_access_check() 230 int cap_capget(const struct task_struct *target, kernel_cap_t *effective, in cap_capget() 231 kernel_cap_t *inheritable, kernel_cap_t *permitted) in cap_capget() 274 const kernel_cap_t *effective, in cap_capset() 275 const kernel_cap_t *inheritable, in cap_capset() 276 const kernel_cap_t *permitted) in cap_capset()
|
H A D | security.c | 1095 kernel_cap_t *effective, in security_capget() 1096 kernel_cap_t *inheritable, in security_capget() 1097 kernel_cap_t *permitted) in security_capget() 1116 const kernel_cap_t *effective, in security_capset() 1117 const kernel_cap_t *inheritable, in security_capset() 1118 const kernel_cap_t *permitted) in security_capset()
|
/linux/Documentation/translations/zh_CN/security/ |
H A D | credentials.rst | 276 kernel_cap_t current_cap(void) Current's effective capabilities
|
/linux/fs/proc/ |
H A D | array.c | 304 kernel_cap_t *a) in render_cap_t() 314 kernel_cap_t cap_inheritable, cap_permitted, cap_effective, in task_cap()
|
/linux/security/selinux/ |
H A D | hooks.c | 2126 static int selinux_capget(const struct task_struct *target, kernel_cap_t *effective, in selinux_capget() 2127 kernel_cap_t *inheritable, kernel_cap_t *permitted) in selinux_capget() 2134 const kernel_cap_t *effective, in selinux_capset() 2135 const kernel_cap_t *inheritable, in selinux_capset() 2136 const kernel_cap_t *permitted) in selinux_capset()
|
/linux/Documentation/security/ |
H A D | credentials.rst | 325 kernel_cap_t current_cap(void) Current's effective capabilities
|