/kernel/liteos_a/testsuites/unittest/security/capability/smoke/ |
D | cap_test_001.cpp | 73 capdata[CAP_TO_INDEX(CAP_SYS_NICE)].effective |= CAP_TO_MASK(CAP_SETPCAP); in TestChild() 74 capdata[CAP_TO_INDEX(CAP_SYS_NICE)].effective |= CAP_TO_MASK(CAP_SETUID); in TestChild() 75 capdata[CAP_TO_INDEX(CAP_SYS_NICE)].effective |= CAP_TO_MASK(CAP_KILL); in TestChild() 76 capdata[CAP_TO_INDEX(CAP_SYS_NICE)].effective |= CAP_TO_MASK(CAP_SYS_TIME); in TestChild() 77 capdata[CAP_TO_INDEX(CAP_SYS_NICE)].effective |= CAP_TO_MASK(CAP_SYS_NICE); in TestChild() 91 printf("e %d,p %d\n", capdatac[0].effective, capdatac[0].permitted); in TestChild() 99 printf("e %d,p %d\n", capdatac[0].effective, capdatac[0].permitted); in TestChild() 107 printf("e %d,p %d\n", capdatac[0].effective, capdatac[0].permitted); in TestChild() 115 printf("e %d,p %d\n", capdatac[0].effective, capdatac[0].permitted); in TestChild() 128 capdata[CAP_TO_INDEX(CAP_SYS_NICE)].effective &= ~CAP_TO_MASK(CAP_KILL); in TestChild() [all …]
|
/kernel/linux/linux-5.10/security/ |
D | commoncap.c | 199 int cap_capget(struct task_struct *target, kernel_cap_t *effective, in cap_capget() argument 207 *effective = cred->cap_effective; in cap_capget() 243 const kernel_cap_t *effective, in cap_capset() argument 265 if (!cap_issubset(*effective, *permitted)) in cap_capset() 268 new->cap_effective = *effective; in cap_capset() 549 bool *effective, in bprm_caps_from_vfs_caps() argument 557 *effective = true; in bprm_caps_from_vfs_caps() 584 return *effective ? ret : 0; in bprm_caps_from_vfs_caps() 670 bool *effective, bool *has_fcap) in get_file_caps() argument 701 rc = bprm_caps_from_vfs_caps(&vcaps, bprm, effective, has_fcap); in get_file_caps() [all …]
|
/kernel/linux/linux-5.10/kernel/ |
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()
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/Documentation/ |
D | bpftool-cgroup.rst | 23 | **bpftool** **cgroup** { **show** | **list** } *CGROUP* [**effective**] 24 | **bpftool** **cgroup tree** [*CGROUP_ROOT*] [**effective**] 39 **bpftool cgroup { show | list }** *CGROUP* [**effective**] 45 If **effective** is specified retrieve effective programs that 49 **bpftool cgroup tree** [*CGROUP_ROOT*] [**effective**] 58 If **effective** is specified retrieve effective programs that
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | cgroup.c | 134 cgrp->bpf.effective[type], in cgroup_bpf_release() 275 old_array = rcu_replace_pointer(cgrp->bpf.effective[type], old_array, in activate_effective_progs() 292 #define NR ARRAY_SIZE(cgrp->bpf.effective) in cgroup_bpf_inherit() 557 desc->bpf.effective[type], in replace_effective_prog() 719 struct bpf_prog_array *effective; in __cgroup_bpf_query() local 723 effective = rcu_dereference_protected(cgrp->bpf.effective[type], in __cgroup_bpf_query() 727 cnt = bpf_prog_array_length(effective); in __cgroup_bpf_query() 744 return bpf_prog_array_copy_to_user(effective, prog_ids, cnt); in __cgroup_bpf_query() 1013 cgrp->bpf.effective[type], skb, __bpf_prog_run_save_cb); in __cgroup_bpf_run_filter_skb() 1015 ret = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[type], skb, in __cgroup_bpf_run_filter_skb() [all …]
|
/kernel/linux/linux-5.10/arch/x86/mm/ |
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()
|
/kernel/linux/linux-5.10/arch/arm/include/debug/ |
D | omap2plus.S | 30 10: adr \rp, 99f @ get effective addr of 99f 34 sub \tmp, \rp, \rv @ make it effective
|
/kernel/linux/linux-5.10/Documentation/driver-api/media/drivers/ |
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:
|
/kernel/linux/linux-5.10/arch/arm/boot/dts/ |
D | sunxi-bananapi-m2-plus-v1.2.dtsi | 10 * Bananapi M2+ v1.2 uses a GPIO line to change the effective
|
/kernel/linux/linux-5.10/Documentation/userspace-api/media/dvb/ |
D | fe-get-frontend.rst | 36 This ioctl call queries the currently effective frontend parameters. For
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | capability.h | 20 __u32 effective; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | capability.h | 33 __u32 effective; member
|
/kernel/linux/linux-5.10/Documentation/admin-guide/cgroup-v1/ |
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
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | test_verifier.c | 865 cap->data[1].effective |= 1 << (38 /* CAP_PERFMON */ - 32); in set_admin() 866 cap->data[1].effective |= 1 << (39 /* CAP_BPF */ - 32); in set_admin() 868 cap->data[1].effective &= ~(1 << (38 - 32)); in set_admin() 869 cap->data[1].effective &= ~(1 << (39 - 32)); in set_admin() 1138 bpf_priv = cap->data[1].effective & (1 << (39/* CAP_BPF */ - 32)); in is_admin() 1139 perfmon_priv = cap->data[1].effective & (1 << (38/* CAP_PERFMON */ - 32)); in is_admin()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | capability.h | 45 __u32 effective; member
|
/kernel/linux/linux-5.10/include/linux/ |
D | security.h | 144 extern int cap_capget(struct task_struct *target, kernel_cap_t *effective, kernel_cap_t *inheritabl… 146 const kernel_cap_t *effective, 269 kernel_cap_t *effective, 273 const kernel_cap_t *effective, 534 kernel_cap_t *effective, in security_capget() argument 538 return cap_capget(target, effective, inheritable, permitted); in security_capget() 543 const kernel_cap_t *effective, in security_capset() argument 547 return cap_capset(new, old, effective, inheritable, permitted); in security_capset()
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/nds32/ |
D | andestech-boards | 21 processors to provide a cost-effective and high performance solution for
|
/kernel/linux/linux-5.10/tools/testing/selftests/clone3/ |
D | clone3_cap_checkpoint_restore.c | 124 cap->data[1].effective |= 1 << (40 - 32); in set_capability()
|
/kernel/linux/linux-5.10/Documentation/power/ |
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
|
/kernel/linux/linux-5.10/Documentation/vm/ |
D | z3fold.rst | 28 Keeping effective compression ratio close to zsmalloc's, z3fold doesn't
|
/kernel/linux/linux-5.10/Documentation/x86/ |
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.
|
/kernel/linux/linux-5.10/Documentation/powerpc/ |
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
|
/kernel/linux/linux-5.10/Documentation/admin-guide/ |
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).
|
/kernel/linux/linux-5.10/Documentation/security/ |
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
|
/kernel/linux/linux-5.10/Documentation/hwmon/ |
D | ina3221.rst | 52 (only effective when all channels use the same resistor
|