Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/
Dcapability.c173 kdata[i].inheritable = pI.cap[i]; in SYSCALL_DEFINE2()
226 kernel_cap_t inheritable, permitted, effective; in SYSCALL_DEFINE2() local
252 inheritable.cap[i] = kdata[i].inheritable; in SYSCALL_DEFINE2()
257 inheritable.cap[i] = 0; in SYSCALL_DEFINE2()
263 inheritable.cap[CAP_LAST_U32] &= CAP_LAST_U32_VALID_MASK; in SYSCALL_DEFINE2()
270 &effective, &inheritable, &permitted); in SYSCALL_DEFINE2()
Dauditsc.c1211 audit_log_cap(ab, "cap_fi", &name->fcap.inheritable); in audit_log_fcaps()
1349 audit_log_cap(ab, "cap_pi", &context->capset.cap.inheritable); in show_special()
1571 audit_log_cap(ab, "fi", &axs->fcap.inheritable); in audit_log_exit()
1574 audit_log_cap(ab, "old_pi", &axs->old_pcap.inheritable); in audit_log_exit()
1578 audit_log_cap(ab, "pi", &axs->new_pcap.inheritable); in audit_log_exit()
2004 name->fcap.inheritable = caps.inheritable; in audit_copy_fcaps()
2553 ax->fcap.inheritable = vcaps.inheritable; in __audit_log_bprm_fcaps()
2559 ax->old_pcap.inheritable = old->cap_inheritable; in __audit_log_bprm_fcaps()
2564 ax->new_pcap.inheritable = new->cap_inheritable; in __audit_log_bprm_fcaps()
2583 context->capset.cap.inheritable = new->cap_effective; in __audit_log_capset()
Daudit.h53 kernel_cap_t inheritable; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dcapability.h35 __u32 inheritable; member
57 __le32 inheritable; member
64 __le32 inheritable; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dcapability.h22 __u32 inheritable; member
44 __le32 inheritable; member
51 __le32 inheritable; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dcapability.h47 __u32 inheritable; member
76 __le32 inheritable; /* Little endian */ member
87 __le32 inheritable; /* Little endian */ member
/kernel/linux/linux-5.10/security/
Dcommoncap.c200 kernel_cap_t *inheritable, kernel_cap_t *permitted) in cap_capget() argument
208 *inheritable = cred->cap_inheritable; in cap_capget()
244 const kernel_cap_t *inheritable, in cap_capset() argument
248 !cap_issubset(*inheritable, in cap_capset()
254 if (!cap_issubset(*inheritable, in cap_capset()
269 new->cap_inheritable = *inheritable; in cap_capset()
278 *inheritable)); in cap_capset()
566 __u32 inheritable = caps->inheritable.cap[i]; in bprm_caps_from_vfs_caps() local
574 (new->cap_inheritable.cap[i] & inheritable); in bprm_caps_from_vfs_caps()
655 cpu_caps->inheritable.cap[i] = le32_to_cpu(caps->data[i].inheritable); in get_vfs_caps_from_disk()
[all …]
Dsecurity.c763 kernel_cap_t *inheritable, in security_capget() argument
767 effective, inheritable, permitted); in security_capget()
772 const kernel_cap_t *inheritable, in security_capset() argument
776 effective, inheritable, permitted); in security_capset()
/kernel/linux/linux-5.10/fs/btrfs/
Dprops.c23 int inheritable; member
319 .inheritable = 1
342 if (!h->inheritable) in inherit_props()
/kernel/linux/linux-5.10/include/linux/
Dsecurity.h144 …get(struct task_struct *target, kernel_cap_t *effective, kernel_cap_t *inheritable, kernel_cap_t *…
147 const kernel_cap_t *inheritable,
270 kernel_cap_t *inheritable,
274 const kernel_cap_t *inheritable,
535 kernel_cap_t *inheritable, in security_capget() argument
538 return cap_capget(target, effective, inheritable, permitted); in security_capget()
544 const kernel_cap_t *inheritable, in security_capset() argument
547 return cap_capset(new, old, effective, inheritable, permitted); in security_capset()
Dcapability.h32 kernel_cap_t inheritable; member
Dlsm_hook_defs.h40 kernel_cap_t *inheritable, kernel_cap_t *permitted)
42 const kernel_cap_t *effective, const kernel_cap_t *inheritable,
/kernel/linux/linux-5.10/Documentation/security/
Dcredentials.rst149 - Set of inheritable capabilities
161 inheritable set might also be so constrained.
166 The inheritable capabilities are the ones that may get passed across
/kernel/linux/linux-5.10/Documentation/admin-guide/mm/
Dnuma_memory_policy.rst55 it is inheritable, and indeed is inherited, across both fork()
108 are NOT inheritable across exec(). Thus, only NUMA-aware
/kernel/linux/linux-5.10/security/apparmor/
Dlsm.c148 kernel_cap_t *inheritable, kernel_cap_t *permitted) in apparmor_capget() argument
/kernel/linux/linux-5.10/security/selinux/
Dhooks.c2114 kernel_cap_t *inheritable, kernel_cap_t *permitted) in selinux_capget() argument
2123 const kernel_cap_t *inheritable, in selinux_capset() argument
/kernel/linux/linux-5.10/Documentation/filesystems/
Dvfs.rst1283 and the parent VFS mount record to provide inheritable mount
Dproc.rst287 CapInh bitmap of inheritable capabilities