Home
last modified time | relevance | path

Searched refs:kernel_cap_t (Results 1 – 18 of 18) sorted by relevance

/linux-5.19.10/include/linux/
Dcapability.h26 } kernel_cap_t; typedef
31 kernel_cap_t permitted;
32 kernel_cap_t inheritable;
37 #define _KERNEL_CAP_T_SIZE (sizeof(kernel_cap_t))
46 extern const kernel_cap_t __cap_empty_set;
47 extern const kernel_cap_t __cap_init_eff_set;
85 # define CAP_EMPTY_SET ((kernel_cap_t){{ 0, 0 }})
86 # define CAP_FULL_SET ((kernel_cap_t){{ ~0, CAP_LAST_U32_VALID_MASK }})
87 # define CAP_FS_SET ((kernel_cap_t){{ CAP_FS_MASK_B0 \
90 # define CAP_NFSD_SET ((kernel_cap_t){{ CAP_FS_MASK_B0 \
[all …]
Dcred.h128 kernel_cap_t cap_inheritable; /* caps our children can inherit */
129 kernel_cap_t cap_permitted; /* caps we're permitted */
130 kernel_cap_t cap_effective; /* caps we can actually use */
131 kernel_cap_t cap_bset; /* capability bounding set */
132 kernel_cap_t cap_ambient; /* Ambient capability set */
Dsecurity.h145 … int cap_capget(struct task_struct *target, kernel_cap_t *effective, kernel_cap_t *inheritable, ke…
147 const kernel_cap_t *effective,
148 const kernel_cap_t *inheritable,
149 const kernel_cap_t *permitted);
273 kernel_cap_t *effective,
274 kernel_cap_t *inheritable,
275 kernel_cap_t *permitted);
277 const kernel_cap_t *effective,
278 const kernel_cap_t *inheritable,
279 const kernel_cap_t *permitted);
[all …]
Dlsm_hook_defs.h39 LSM_HOOK(int, 0, capget, 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-5.19.10/security/apparmor/include/
Dcapability.h29 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;
/linux-5.19.10/kernel/
Dcapability.c27 const kernel_cap_t __cap_empty_set = CAP_EMPTY_SET;
116 static inline int cap_get_target_pid(pid_t pid, kernel_cap_t *pEp, in cap_get_target_pid()
117 kernel_cap_t *pIp, kernel_cap_t *pPp) in cap_get_target_pid()
153 kernel_cap_t pE, pI, pP; in SYSCALL_DEFINE2()
226 kernel_cap_t inheritable, permitted, effective; in SYSCALL_DEFINE2()
Daudit.h56 kernel_cap_t permitted;
57 kernel_cap_t inheritable;
60 kernel_cap_t effective; /* effective set of process */
62 kernel_cap_t ambient;
Dumh.c37 static kernel_cap_t usermodehelper_bset = CAP_FULL_SET;
38 static kernel_cap_t usermodehelper_inheritable = CAP_FULL_SET;
493 kernel_cap_t new_cap; in proc_cap_handler()
Dauditsc.c1317 kernel_cap_t *cap) in audit_log_cap()
/linux-5.19.10/security/
Dcommoncap.c138 const kernel_cap_t *caller_caps; in cap_ptrace_access_check()
200 int cap_capget(struct task_struct *target, kernel_cap_t *effective, in cap_capget()
201 kernel_cap_t *inheritable, kernel_cap_t *permitted) in cap_capget()
244 const kernel_cap_t *effective, in cap_capset()
245 const kernel_cap_t *inheritable, in cap_capset()
246 const kernel_cap_t *permitted) in cap_capset()
Dsecurity.c785 kernel_cap_t *effective, in security_capget()
786 kernel_cap_t *inheritable, in security_capget()
787 kernel_cap_t *permitted) in security_capget()
794 const kernel_cap_t *effective, in security_capset()
795 const kernel_cap_t *inheritable, in security_capset()
796 const kernel_cap_t *permitted) in security_capset()
/linux-5.19.10/security/apparmor/
Dcapability.c34 kernel_cap_t caps;
Dlsm.c147 static int apparmor_capget(struct task_struct *target, kernel_cap_t *effective, in apparmor_capget()
148 kernel_cap_t *inheritable, kernel_cap_t *permitted) in apparmor_capget()
Dpolicy_unpack.c684 kernel_cap_t tmpcap; in unpack_profile()
/linux-5.19.10/fs/proc/
Darray.c298 kernel_cap_t *a) in render_cap_t()
313 kernel_cap_t cap_inheritable, cap_permitted, cap_effective, in task_cap()
/linux-5.19.10/security/selinux/
Dhooks.c2093 static int selinux_capget(struct task_struct *target, kernel_cap_t *effective, in selinux_capget()
2094 kernel_cap_t *inheritable, kernel_cap_t *permitted) in selinux_capget()
2102 const kernel_cap_t *effective, in selinux_capset()
2103 const kernel_cap_t *inheritable, in selinux_capset()
2104 const kernel_cap_t *permitted) in selinux_capset()
/linux-5.19.10/Documentation/security/
Dcredentials.rst325 kernel_cap_t current_cap(void) Current's effective capabilities
/linux-5.19.10/io_uring/
Dio_uring.c11680 kernel_cap_t cap; in io_uring_show_cred()