Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dcapability.h25 } kernel_cap_t; typedef
30 kernel_cap_t permitted;
31 kernel_cap_t inheritable;
35 #define _KERNEL_CAP_T_SIZE (sizeof(kernel_cap_t))
45 extern const kernel_cap_t __cap_empty_set;
46 extern const kernel_cap_t __cap_init_eff_set;
84 # define CAP_EMPTY_SET ((kernel_cap_t){{ 0, 0 }})
85 # define CAP_FULL_SET ((kernel_cap_t){{ ~0, CAP_LAST_U32_VALID_MASK }})
86 # define CAP_FS_SET ((kernel_cap_t){{ CAP_FS_MASK_B0 \
89 # define CAP_NFSD_SET ((kernel_cap_t){{ CAP_FS_MASK_B0 \
[all …]
Dcred.h136 kernel_cap_t cap_inheritable; /* caps our children can inherit */
137 kernel_cap_t cap_permitted; /* caps we're permitted */
138 kernel_cap_t cap_effective; /* caps we can actually use */
139 kernel_cap_t cap_bset; /* capability bounding set */
140 kernel_cap_t cap_ambient; /* Ambient capability set */
Dsecurity.h75 … int cap_capget(struct task_struct *target, kernel_cap_t *effective, kernel_cap_t *inheritable, ke…
77 const kernel_cap_t *effective,
78 const kernel_cap_t *inheritable,
79 const kernel_cap_t *permitted);
195 kernel_cap_t *effective,
196 kernel_cap_t *inheritable,
197 kernel_cap_t *permitted);
199 const kernel_cap_t *effective,
200 const kernel_cap_t *inheritable,
201 const kernel_cap_t *permitted);
[all …]
Dlsm_hooks.h1316 int (*capget)(struct task_struct *target, kernel_cap_t *effective,
1317 kernel_cap_t *inheritable, kernel_cap_t *permitted);
1319 const kernel_cap_t *effective,
1320 const kernel_cap_t *inheritable,
1321 const kernel_cap_t *permitted);
/linux-4.4.14/security/apparmor/include/
Dcapability.h32 kernel_cap_t allow;
33 kernel_cap_t audit;
34 kernel_cap_t quiet;
35 kernel_cap_t kill;
36 kernel_cap_t extended;
/linux-4.4.14/kernel/
Dcapability.c26 const kernel_cap_t __cap_empty_set = CAP_EMPTY_SET;
117 static inline int cap_get_target_pid(pid_t pid, kernel_cap_t *pEp, in cap_get_target_pid()
118 kernel_cap_t *pIp, kernel_cap_t *pPp) in cap_get_target_pid()
154 kernel_cap_t pE, pI, pP; in SYSCALL_DEFINE2()
227 kernel_cap_t inheritable, permitted, effective; in SYSCALL_DEFINE2()
Daudit.h64 kernel_cap_t permitted;
65 kernel_cap_t inheritable;
68 kernel_cap_t effective; /* effective set of process */
212 kernel_cap_t *cap);
Dkmod.c51 static kernel_cap_t usermodehelper_bset = CAP_FULL_SET;
52 static kernel_cap_t usermodehelper_inheritable = CAP_FULL_SET;
635 kernel_cap_t new_cap; in proc_cap_handler()
Daudit.c1670 void audit_log_cap(struct audit_buffer *ab, char *prefix, kernel_cap_t *cap) in audit_log_cap()
1683 kernel_cap_t *perm = &name->fcap.permitted; in audit_log_fcaps()
1684 kernel_cap_t *inh = &name->fcap.inheritable; in audit_log_fcaps()
/linux-4.4.14/security/
Dcommoncap.c140 const kernel_cap_t *caller_caps; in cap_ptrace_access_check()
202 int cap_capget(struct task_struct *target, kernel_cap_t *effective, in cap_capget()
203 kernel_cap_t *inheritable, kernel_cap_t *permitted) in cap_capget()
247 const kernel_cap_t *effective, in cap_capset()
248 const kernel_cap_t *inheritable, in cap_capset()
249 const kernel_cap_t *permitted) in cap_capset()
Dsecurity.c167 kernel_cap_t *effective, in security_capget()
168 kernel_cap_t *inheritable, in security_capget()
169 kernel_cap_t *permitted) in security_capget()
176 const kernel_cap_t *effective, in security_capset()
177 const kernel_cap_t *inheritable, in security_capset()
178 const kernel_cap_t *permitted) in security_capset()
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-curproc.c85 static void cfs_kernel_cap_pack(kernel_cap_t kcap, cfs_cap_t *cap) in cfs_kernel_cap_pack()
/linux-4.4.14/security/apparmor/
Dcapability.c37 kernel_cap_t caps;
Dlsm.c108 static int apparmor_capget(struct task_struct *target, kernel_cap_t *effective, in apparmor_capget()
109 kernel_cap_t *inheritable, kernel_cap_t *permitted) in apparmor_capget()
Dpolicy_unpack.c480 kernel_cap_t tmpcap; in unpack_profile()
/linux-4.4.14/fs/proc/
Darray.c296 kernel_cap_t *a) in render_cap_t()
311 kernel_cap_t cap_inheritable, cap_permitted, cap_effective, in task_cap()
/linux-4.4.14/security/selinux/
Dhooks.c2055 static int selinux_capget(struct task_struct *target, kernel_cap_t *effective, in selinux_capget()
2056 kernel_cap_t *inheritable, kernel_cap_t *permitted) in selinux_capget()
2062 const kernel_cap_t *effective, in selinux_capset()
2063 const kernel_cap_t *inheritable, in selinux_capset()
2064 const kernel_cap_t *permitted) in selinux_capset()
/linux-4.4.14/Documentation/security/
Dcredentials.txt352 kernel_cap_t current_cap(void) Current's effective capabilities