Home
last modified time | relevance | path

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

/linux/kernel/
H A 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()
H A 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()
H A Daudit.h57 kernel_cap_t inheritable; member
/linux/include/uapi/linux/
H A Dcapability.h47 __u32 inheritable; member
77 __le32 inheritable; /* Little endian */ member
88 __le32 inheritable; /* Little endian */ member
/linux/security/
H A Dcommoncap.c202 kernel_cap_t *inheritable, kernel_cap_t *permitted) in cap_capget() argument
210 *inheritable = cred->cap_inheritable; in cap_capget()
246 const kernel_cap_t *inheritable, in cap_capset() argument
250 !cap_issubset(*inheritable, in cap_capset()
256 if (!cap_issubset(*inheritable, in cap_capset()
271 new->cap_inheritable = *inheritable; in cap_capset()
280 *inheritable)); in cap_capset()
607 (new->cap_inheritable.val & caps->inheritable.val); in bprm_caps_from_vfs_caps()
700 cpu_caps->inheritable.val = le32_to_cpu(caps->data[0].inheritable); in get_vfs_caps_from_disk()
708 cpu_caps->inheritable.val += (u64)le32_to_cpu(caps->data[1].inheritable) << 32; in get_vfs_caps_from_disk()
[all …]
H A Dsecurity.c990 kernel_cap_t *inheritable, in security_capget() argument
993 return call_int_hook(capget, target, effective, inheritable, permitted); in security_capget()
1011 const kernel_cap_t *inheritable, in security_capset() argument
1014 return call_int_hook(capset, new, old, effective, inheritable, in security_capset()
/linux/fs/btrfs/
H A Dprops.c32 int inheritable; member
383 .inheritable = 1
405 if (!h->inheritable) in btrfs_inode_inherit_props()
/linux/include/linux/
H A Dsecurity.h154 kernel_cap_t *inheritable, kernel_cap_t *permitted);
157 const kernel_cap_t *inheritable,
283 kernel_cap_t *inheritable,
287 const kernel_cap_t *inheritable,
590 kernel_cap_t *inheritable, in security_capget() argument
593 return cap_capget(target, effective, inheritable, permitted); in security_capget()
599 const kernel_cap_t *inheritable, in security_capset() argument
602 return cap_capset(new, old, effective, inheritable, permitted); in security_capset()
H A Dcapability.h31 kernel_cap_t inheritable; member
H A Dlsm_hook_defs.h40 kernel_cap_t *inheritable, kernel_cap_t *permitted)
42 const kernel_cap_t *effective, const kernel_cap_t *inheritable,
/linux/Documentation/security/
H A 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/Documentation/admin-guide/mm/
H A 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/security/apparmor/
H A Dlsm.c161 kernel_cap_t *inheritable, kernel_cap_t *permitted) in apparmor_capget() argument
/linux/security/selinux/
H A Dhooks.c2111 kernel_cap_t *inheritable, kernel_cap_t *permitted) in selinux_capget() argument
2119 const kernel_cap_t *inheritable, in selinux_capset() argument
/linux/Documentation/filesystems/
H A Dvfs.rst1384 and the parent VFS mount record to provide inheritable mount
H A Dproc.rst292 CapInh bitmap of inheritable capabilities