Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/
Dcapability.c170 kdata[0].inheritable = pI.val; kdata[1].inheritable = pI.val >> 32; in SYSCALL_DEFINE2()
224 kernel_cap_t inheritable, permitted, effective; in SYSCALL_DEFINE2() local
249 inheritable = mk_kernel_cap(kdata[0].inheritable, kdata[1].inheritable); in SYSCALL_DEFINE2()
256 &effective, &inheritable, &permitted); in SYSCALL_DEFINE2()
Dauditsc.c1316 audit_log_cap(ab, "cap_fi", &name->fcap.inheritable); in audit_log_fcaps()
1457 audit_log_cap(ab, "cap_pi", &context->capset.cap.inheritable); in show_special()
1734 audit_log_cap(ab, "fi", &axs->fcap.inheritable); in audit_log_exit()
1737 audit_log_cap(ab, "old_pi", &axs->old_pcap.inheritable); in audit_log_exit()
1741 audit_log_cap(ab, "pi", &axs->new_pcap.inheritable); in audit_log_exit()
2261 name->fcap.inheritable = caps.inheritable; in audit_copy_fcaps()
2817 ax->fcap.inheritable = vcaps.inheritable; in __audit_log_bprm_fcaps()
2823 ax->old_pcap.inheritable = old->cap_inheritable; in __audit_log_bprm_fcaps()
2828 ax->new_pcap.inheritable = new->cap_inheritable; in __audit_log_bprm_fcaps()
2848 context->capset.cap.inheritable = new->cap_effective; in __audit_log_capset()
Daudit.h57 kernel_cap_t inheritable; member
/linux-6.6.21/include/uapi/linux/
Dcapability.h47 __u32 inheritable; member
77 __le32 inheritable; /* Little endian */ member
88 __le32 inheritable; /* Little endian */ member
/linux-6.6.21/security/
Dcommoncap.c201 kernel_cap_t *inheritable, kernel_cap_t *permitted) in cap_capget() argument
209 *inheritable = cred->cap_inheritable; in cap_capget()
245 const kernel_cap_t *inheritable, in cap_capset() argument
249 !cap_issubset(*inheritable, in cap_capset()
255 if (!cap_issubset(*inheritable, in cap_capset()
270 new->cap_inheritable = *inheritable; in cap_capset()
279 *inheritable)); in cap_capset()
606 (new->cap_inheritable.val & caps->inheritable.val); in bprm_caps_from_vfs_caps()
699 cpu_caps->inheritable.val = le32_to_cpu(caps->data[0].inheritable); in get_vfs_caps_from_disk()
707 cpu_caps->inheritable.val += (u64)le32_to_cpu(caps->data[1].inheritable) << 32; in get_vfs_caps_from_disk()
[all …]
Dsecurity.c899 kernel_cap_t *inheritable, in security_capget() argument
903 effective, inheritable, permitted); in security_capget()
921 const kernel_cap_t *inheritable, in security_capset() argument
925 effective, inheritable, permitted); in security_capset()
/linux-6.6.21/fs/btrfs/
Dprops.c30 int inheritable; member
381 .inheritable = 1
403 if (!h->inheritable) in btrfs_inode_inherit_props()
/linux-6.6.21/include/linux/
Dsecurity.h149 kernel_cap_t *inheritable, kernel_cap_t *permitted);
152 const kernel_cap_t *inheritable,
277 kernel_cap_t *inheritable,
281 const kernel_cap_t *inheritable,
562 kernel_cap_t *inheritable, in security_capget() argument
565 return cap_capget(target, effective, inheritable, permitted); in security_capget()
571 const kernel_cap_t *inheritable, in security_capset() argument
574 return cap_capset(new, old, effective, inheritable, permitted); in security_capset()
Dcapability.h31 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,
/linux-6.6.21/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
/linux-6.6.21/Documentation/admin-guide/mm/
Dnuma_memory_policy.rst53 it is inheritable, and indeed is inherited, across both fork()
106 are NOT inheritable across exec(). Thus, only NUMA-aware
/linux-6.6.21/security/apparmor/
Dlsm.c153 kernel_cap_t *inheritable, kernel_cap_t *permitted) in apparmor_capget() argument
/linux-6.6.21/security/selinux/
Dhooks.c2109 kernel_cap_t *inheritable, kernel_cap_t *permitted) in selinux_capget() argument
2117 const kernel_cap_t *inheritable, in selinux_capset() argument
/linux-6.6.21/Documentation/filesystems/
Dvfs.rst1384 and the parent VFS mount record to provide inheritable mount
Dproc.rst292 CapInh bitmap of inheritable capabilities