/linux/security/ |
A D | commoncap.c | 207 *effective = cred->cap_effective; in cap_capget() 243 const kernel_cap_t *effective, in cap_capset() argument 268 new->cap_effective = *effective; in cap_capset() 591 bool *effective, in bprm_caps_from_vfs_caps() argument 599 *effective = true; in bprm_caps_from_vfs_caps() 626 return *effective ? ret : 0; in bprm_caps_from_vfs_caps() 727 bool *effective, bool *has_fcap) in get_file_caps() argument 822 *effective = true; in handle_privileged_root() 861 !(__cap_full(effective, new) && in nonroot_raised_pE() 949 if (effective) in cap_bprm_creds_from_file() [all …]
|
/linux/kernel/ |
A D | capability.c | 171 kdata[i].effective = pE.cap[i]; in SYSCALL_DEFINE2() 226 kernel_cap_t inheritable, permitted, effective; in SYSCALL_DEFINE2() local 250 effective.cap[i] = kdata[i].effective; in SYSCALL_DEFINE2() 255 effective.cap[i] = 0; in SYSCALL_DEFINE2() 261 effective.cap[CAP_LAST_U32] &= CAP_LAST_U32_VALID_MASK; in SYSCALL_DEFINE2() 270 &effective, &inheritable, &permitted); in SYSCALL_DEFINE2()
|
/linux/tools/bpf/bpftool/Documentation/ |
A D | bpftool-cgroup.rst | 24 | **bpftool** **cgroup** { **show** | **list** } *CGROUP* [**effective**] 25 | **bpftool** **cgroup tree** [*CGROUP_ROOT*] [**effective**] 40 **bpftool cgroup { show | list }** *CGROUP* [**effective**] 46 If **effective** is specified retrieve effective programs that 50 **bpftool cgroup tree** [*CGROUP_ROOT*] [**effective**] 59 If **effective** is specified retrieve effective programs that
|
/linux/kernel/bpf/ |
A D | cgroup.c | 134 cgrp->bpf.effective[atype], in cgroup_bpf_release() 292 #define NR ARRAY_SIZE(cgrp->bpf.effective) in cgroup_bpf_inherit() 578 desc->bpf.effective[atype], in replace_effective_prog() 765 struct bpf_prog_array *effective; in __cgroup_bpf_query() local 778 effective = rcu_dereference_protected(cgrp->bpf.effective[atype], in __cgroup_bpf_query() 782 cnt = bpf_prog_array_length(effective); in __cgroup_bpf_query() 799 return bpf_prog_array_copy_to_user(effective, prog_ids, cnt); in __cgroup_bpf_query() 1079 cgrp->bpf.effective[atype], skb, __bpf_prog_run_save_cb); in __cgroup_bpf_run_filter_skb() 1081 ret = BPF_PROG_RUN_ARRAY_CG(cgrp->bpf.effective[atype], skb, in __cgroup_bpf_run_filter_skb() 1208 allow = BPF_PROG_RUN_ARRAY_CG(cgrp->bpf.effective[atype], &ctx, in __cgroup_bpf_check_dev_permission() [all …]
|
/linux/arch/x86/mm/ |
A D | dump_pagetables.c | 255 pgprotval_t effective; in effective_prot() local 260 effective = (higher_prot & prot & (_PAGE_USER | _PAGE_RW)) | in effective_prot() 263 effective = prot; in effective_prot() 266 st->prot_levels[level] = effective; in effective_prot()
|
/linux/Documentation/driver-api/media/drivers/ |
A D | sh_mobile_ceu_camera.rst | 76 2. Calculate "effective" input crop (sensor subwindow) - CEU crop scaled back at 81 3. Calculate new combined scales from "effective" input window to requested user 102 "effective" crop:
|
/linux/arch/arm/include/debug/ |
A D | omap2plus.S | 30 10: adr \rp, 99f @ get effective addr of 99f 34 sub \tmp, \rp, \rv @ make it effective
|
/linux/include/linux/ |
A D | security.h | 143 extern int cap_capget(struct task_struct *target, kernel_cap_t *effective, kernel_cap_t *inheritabl… 145 const kernel_cap_t *effective, 271 kernel_cap_t *effective, 275 const kernel_cap_t *effective, 548 kernel_cap_t *effective, in security_capget() argument 552 return cap_capget(target, effective, inheritable, permitted); in security_capget() 557 const kernel_cap_t *effective, in security_capset() argument 561 return cap_capset(new, old, effective, inheritable, permitted); in security_capset()
|
/linux/Documentation/admin-guide/cgroup-v1/ |
A D | freezer-subsystem.rst | 66 When read, returns the effective state of the cgroup - "THAWED", 82 THAWED. Note that the effective state may not change to THAWED if 83 the parent-state is still freezing. If a cgroup's effective state
|
/linux/arch/arm/boot/dts/ |
A D | sunxi-bananapi-m2-plus-v1.2.dtsi | 10 * Bananapi M2+ v1.2 uses a GPIO line to change the effective
|
/linux/tools/testing/selftests/bpf/ |
A D | test_verifier.c | 989 cap->data[1].effective |= 1 << (38 /* CAP_PERFMON */ - 32); in set_admin() 990 cap->data[1].effective |= 1 << (39 /* CAP_BPF */ - 32); in set_admin() 992 cap->data[1].effective &= ~(1 << (38 - 32)); in set_admin() 993 cap->data[1].effective &= ~(1 << (39 - 32)); in set_admin() 1293 bpf_priv = cap->data[1].effective & (1 << (39/* CAP_BPF */ - 32)); in is_admin() 1294 perfmon_priv = cap->data[1].effective & (1 << (38/* CAP_PERFMON */ - 32)); in is_admin()
|
/linux/Documentation/userspace-api/media/dvb/ |
A D | fe-get-frontend.rst | 36 This ioctl call queries the currently effective frontend parameters. For
|
/linux/include/uapi/linux/ |
A D | capability.h | 45 __u32 effective; member
|
/linux/Documentation/power/ |
A D | pm_qos_interface.rst | 21 (effective) target value. The aggregated target value is updated with changes 193 whatever is necessary to transfer the effective requirement value to the 196 Whenever the effective latency tolerance changes for the device, its 197 .set_latency_tolerance() callback will be executed and the effective value will
|
/linux/Documentation/x86/ |
A D | pat.rst | 131 set_memory_wc() to white-list effective write-combined areas. Such use is 132 nevertheless discouraged as the effective memory type is considered 135 otherwise not be effective.
|
/linux/Documentation/powerpc/ |
A D | cxl.rst | 18 both access system memory directly and with the same effective 58 the AFU needs to read a particular effective address, it sends 126 effective address of a work queue or status block where the AFU 193 using the same effective addresses. No additional calls are 221 defined by the AFU. Typically this is an effective
|
/linux/Documentation/admin-guide/ |
A D | perf-security.rst | 53 into two categories [6]_ : a) privileged processes (whose effective user 55 processes (whose effective UID is nonzero). Privileged processes bypass 61 based on the process's credentials [5]_ (usually: effective UID, 62 effective GID, and supplementary group list). 198 in permitted, effective and ambient capability sets of an inherent process:
|
/linux/Documentation/devicetree/bindings/nds32/ |
A D | andestech-boards | 21 processors to provide a cost-effective and high performance solution for
|
/linux/tools/testing/selftests/clone3/ |
A D | clone3_cap_checkpoint_restore.c | 124 cap->data[1].effective |= 1 << (40 - 32); in set_capability()
|
/linux/Documentation/security/ |
A D | credentials.rst | 150 - Set of effective capabilities 160 itself to its effective or permitted sets through ``capset()``. This 163 The effective capabilities are the ones that a task is actually allowed to 321 uid_t current_euid(void) Current's effective UID 322 gid_t current_egid(void) Current's effective GID 325 kernel_cap_t current_cap(void) Current's effective capabilities 400 uid_t task_euid(task) Task's effective UID
|
/linux/Documentation/vm/ |
A D | z3fold.rst | 28 Keeping effective compression ratio close to zsmalloc's, z3fold doesn't
|
/linux/Documentation/hwmon/ |
A D | ina3221.rst | 52 (only effective when all channels use the same resistor
|
/linux/Documentation/networking/ |
A D | tcp-thin.rst | 11 effective. In time-dependent scenarios (like online games, control
|
/linux/kernel/irq/ |
A D | Kconfig | 25 # Supports effective affinity mask
|
/linux/arch/m68k/ifpsp060/ |
A D | isp.doc | 46 cas (w/ a misaligned effective address) 174 The instructions "cas2" and "cas" (when used with a misaligned effective
|