Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/
A Dcapability.h30 kernel_cap_t permitted;
31 kernel_cap_t inheritable;
77 static inline kernel_cap_t cap_combine(const kernel_cap_t a, in cap_combine()
83 static inline kernel_cap_t cap_intersect(const kernel_cap_t a, in cap_intersect()
89 static inline kernel_cap_t cap_drop(const kernel_cap_t a, in cap_drop()
100 static inline bool cap_isidentical(const kernel_cap_t a, const kernel_cap_t b) in cap_isidentical()
112 static inline bool cap_issubset(const kernel_cap_t a, const kernel_cap_t set) in cap_issubset()
119 static inline kernel_cap_t cap_drop_fs_set(const kernel_cap_t a) in cap_drop_fs_set()
124 static inline kernel_cap_t cap_raise_fs_set(const kernel_cap_t a, in cap_raise_fs_set()
130 static inline kernel_cap_t cap_drop_nfsd_set(const kernel_cap_t a) in cap_drop_nfsd_set()
[all …]
A 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 */
A Dsecurity.h148 … int cap_capget(struct task_struct *target, kernel_cap_t *effective, kernel_cap_t *inheritable, ke…
150 const kernel_cap_t *effective,
152 const kernel_cap_t *permitted);
275 kernel_cap_t *effective,
276 kernel_cap_t *inheritable,
277 kernel_cap_t *permitted);
279 const kernel_cap_t *effective,
281 const kernel_cap_t *permitted);
560 kernel_cap_t *effective, in security_capget()
561 kernel_cap_t *inheritable, in security_capget()
[all …]
A 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-6.3-rc2/security/apparmor/include/
A 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-6.3-rc2/kernel/
A Dcapability.c109 static inline int cap_get_target_pid(pid_t pid, kernel_cap_t *pEp, in cap_get_target_pid()
110 kernel_cap_t *pIp, kernel_cap_t *pPp) in cap_get_target_pid()
146 kernel_cap_t pE, pI, pP; in SYSCALL_DEFINE2()
197 static kernel_cap_t mk_kernel_cap(u32 low, u32 high) in mk_kernel_cap()
199 return (kernel_cap_t) { (low | ((u64)high << 32)) & CAP_VALID_MASK }; in mk_kernel_cap()
224 kernel_cap_t inheritable, permitted, effective; in SYSCALL_DEFINE2()
A 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;
A Dumh.c35 static kernel_cap_t usermodehelper_bset = CAP_FULL_SET;
36 static kernel_cap_t usermodehelper_inheritable = CAP_FULL_SET;
502 kernel_cap_t new_cap, *cap; in proc_cap_handler()
A Dauditsc.c1296 kernel_cap_t *cap) in audit_log_cap()
/linux-6.3-rc2/security/
A 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()
A Dsecurity.c815 kernel_cap_t *effective, in security_capget()
816 kernel_cap_t *inheritable, in security_capget()
817 kernel_cap_t *permitted) in security_capget()
824 const kernel_cap_t *effective, in security_capset()
825 const kernel_cap_t *inheritable, in security_capset()
826 const kernel_cap_t *permitted) in security_capset()
/linux-6.3-rc2/security/apparmor/
A Dcapability.c34 kernel_cap_t caps;
A Dpolicy_unpack.c307 static bool aa_unpack_cap_low(struct aa_ext *e, kernel_cap_t *data, const char *name) in aa_unpack_cap_low()
317 static bool aa_unpack_cap_high(struct aa_ext *e, kernel_cap_t *data, const char *name) in aa_unpack_cap_high()
810 kernel_cap_t tmpcap; in unpack_profile()
A 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()
/linux-6.3-rc2/io_uring/
A Dfdinfo.c24 kernel_cap_t cap; in io_uring_show_cred()
/linux-6.3-rc2/fs/proc/
A Darray.c301 kernel_cap_t *a) in render_cap_t()
311 kernel_cap_t cap_inheritable, cap_permitted, cap_effective, in task_cap()
/linux-6.3-rc2/security/selinux/
A Dhooks.c2090 static int selinux_capget(struct task_struct *target, kernel_cap_t *effective, in selinux_capget()
2091 kernel_cap_t *inheritable, kernel_cap_t *permitted) in selinux_capget()
2099 const kernel_cap_t *effective, in selinux_capset()
2100 const kernel_cap_t *inheritable, in selinux_capset()
2101 const kernel_cap_t *permitted) in selinux_capset()
/linux-6.3-rc2/Documentation/security/
A Dcredentials.rst325 kernel_cap_t current_cap(void) Current's effective capabilities

Completed in 52 milliseconds