| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
| D | cap_helpers.c | 25 *old_caps = (__u64)(data[1].effective) << 32 | data[0].effective; in cap_enable_effective() 27 if ((data[0].effective & cap0) == cap0 && in cap_enable_effective() 28 (data[1].effective & cap1) == cap1) in cap_enable_effective() 31 data[0].effective |= cap0; in cap_enable_effective() 32 data[1].effective |= cap1; in cap_enable_effective() 55 *old_caps = (__u64)(data[1].effective) << 32 | data[0].effective; in cap_disable_effective() 57 if (!(data[0].effective & cap0) && !(data[1].effective & cap1)) in cap_disable_effective() 60 data[0].effective &= ~cap0; in cap_disable_effective() 61 data[1].effective &= ~cap1; in cap_disable_effective()
|
| /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-6.6/tools/testing/selftests/powerpc/dexcr/ |
| D | lsdexcr.c | 13 static unsigned int effective; variable 98 if (!(effective & mask)) in print_aspect() 101 printf("%12s %c (%d): ", aspect->name, effective & mask ? '*' : ' ', aspect->index); in print_aspect() 115 effective = dexcr | hdexcr; in main() 119 print_dexcr("Effective", effective); in main() 126 if (effective & DEXCR_PR_NPHIE) { in main()
|
| /kernel/linux/linux-6.6/security/ |
| D | commoncap.c | 45 " effective capabilities. Therefore not raising all" in warn_setuid_and_fcaps_mixed() 52 * cap_capable - Determine whether a task has a particular effective capability 59 * its effective set, returning 0 if it does, -ve if it does not. 193 * @effective: The place to record the effective set 200 int cap_capget(const struct task_struct *target, kernel_cap_t *effective, in cap_capget() argument 208 *effective = cred->cap_effective; in cap_capget() 234 * @effective: A pointer to the proposed new effective capabilities set 244 const kernel_cap_t *effective, in cap_capset() argument 266 if (!cap_issubset(*effective, *permitted)) in cap_capset() 269 new->cap_effective = *effective; in cap_capset() [all …]
|
| /kernel/linux/linux-5.10/security/ |
| D | commoncap.c | 44 " effective capabilities. Therefore not raising all" in warn_setuid_and_fcaps_mixed() 51 * cap_capable - Determine whether a task has a particular effective capability 58 * its effective set, returning 0 if it does, -ve if it does not. 192 * @effective: The place to record the effective set 199 int cap_capget(struct task_struct *target, kernel_cap_t *effective, in cap_capget() argument 207 *effective = cred->cap_effective; in cap_capget() 233 * @effective: A pointer to the proposed new effective capabilities set 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() [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ |
| D | ia_css_s3a_types.h | 78 in table, which cells have effective 82 in table, which cells have effective 112 * Condition of effective pixel for AWB level gate check: 170 s32 awb_cnt; /** Number of effective pixels 173 judged as "effective". (u32) */ 175 All Gr pixels (not only for effective pixels) 178 All R pixels (not only for effective pixels) 181 All B pixels (not only for effective pixels) 184 All Gb pixels (not only for effective pixels)
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ |
| D | ia_css_s3a_types.h | 78 in table, which cells have effective 82 in table, which cells have effective 112 * Condition of effective pixel for AWB level gate check: 170 s32 awb_cnt; /** Number of effective pixels 173 judged as "effective". (u32) */ 175 All Gr pixels (not only for effective pixels) 178 All R pixels (not only for effective pixels) 181 All B pixels (not only for effective pixels) 184 All Gb pixels (not only for effective pixels)
|
| /kernel/linux/linux-6.6/kernel/power/ |
| D | qos.c | 13 * aggregated as appropriate to produce effective constraints (target values) 50 * pm_qos_read_value - Return the current effective constraint value. 263 * a new entry to the CPU latency QoS list and recompute the effective QoS 292 * latency QoS list along with updating the effective constraint value for that 319 * QoS list along with updating the effective constraint value for that list. 531 * Insert a new entry into the @qos list of requests, recompute the effective 535 * Return 1 if the effective constraint value has changed, 0 if the effective 568 * Update an existing frequency QoS request along with the effective constraint 571 * Return 1 if the effective constraint value has changed, 0 if the effective 595 * belongs to and recompute the effective constraint value for that list. [all …]
|
| /kernel/linux/linux-5.10/kernel/power/ |
| D | qos.c | 13 * aggregated as appropriate to produce effective constraints (target values) 50 * pm_qos_read_value - Return the current effective constraint value. 258 * a new entry to the CPU latency QoS list and recompute the effective QoS 287 * latency QoS list along with updating the effective constraint value for that 314 * QoS list along with updating the effective constraint value for that list. 521 * Insert a new entry into the @qos list of requests, recompute the effective 525 * Return 1 if the effective constraint value has changed, 0 if the effective 558 * Update an existing frequency QoS request along with the effective constraint 561 * Return 1 if the effective constraint value has changed, 0 if the effective 585 * belongs to and recompute the effective constraint value for that list. [all …]
|
| /kernel/linux/linux-6.6/tools/bpf/bpftool/Documentation/ |
| D | bpftool-cgroup.rst | 27 | **bpftool** **cgroup** { **show** | **list** } *CGROUP* [**effective**] 28 | **bpftool** **cgroup tree** [*CGROUP_ROOT*] [**effective**] 49 **bpftool cgroup { show | list }** *CGROUP* [**effective**] 55 If **effective** is specified retrieve effective programs that 59 **bpftool cgroup tree** [*CGROUP_ROOT*] [**effective**] 68 If **effective** is specified retrieve effective programs that
|
| /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-6.6/tools/testing/selftests/netfilter/ |
| D | rpath.sh | 150 ipt_zero_rule "$iptables" && die "iptables match not effective" 151 ipt_zero_rule "$ip6tables" && die "ip6tables match not effective" 152 ipt_zero_reverse_rule "$iptables" || die "iptables match over-effective" 153 ipt_zero_reverse_rule "$ip6tables" || die "ip6tables match over-effective" 154 nft_zero_rule ip && die "nft IPv4 match not effective" 155 nft_zero_rule ip6 && die "nft IPv6 match not effective"
|
| /kernel/linux/linux-5.10/kernel/bpf/ |
| D | cgroup.c | 151 cgrp->bpf.effective[type], in cgroup_bpf_release() 238 /* compute a chain of effective programs for a given cgroup: 254 /* count number of effective programs by walking parents */ in compute_effective_progs() 265 /* populate the array with effective progs */ in compute_effective_progs() 292 old_array = rcu_replace_pointer(cgrp->bpf.effective[type], old_array, in activate_effective_progs() 301 * cgroup_bpf_inherit() - inherit effective programs from parent 309 #define NR ARRAY_SIZE(cgrp->bpf.effective) in cgroup_bpf_inherit() 353 /* allocate and recompute effective prog arrays */ in update_effective_progs() 384 /* oom while computing effective. Free all computed effective arrays in update_effective_progs() 536 /* Swap updated BPF program for given link in effective program arrays across [all …]
|
| /kernel/linux/linux-6.6/Documentation/scheduler/ |
| D | sched-util-clamp.rst | 132 frequency selection as well as task placement to be most effective. Both of 153 and on dequeue it is decremented. This makes keeping track of the effective 156 As tasks are enqueued and dequeued, we keep track of the current effective 160 Later at any path that wants to identify the effective uclamp value of the rq, 161 it will simply need to read this effective uclamp value of the rq at that exact 167 When a task wakes up, the scheduler will look at the current effective uclamp 173 at the current effective uclamp value of the rq which is influenced by the set 210 To reduce the search space when trying to decide the effective uclamp value of 241 The rq then keeps track of its current effective uclamp value for each 301 the actual applied (effective) value can be influenced by more than just the [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | bpf-cgroup-defs.h | 51 /* array of effective progs in this cgroup */ 52 struct bpf_prog_array __rcu *effective[MAX_CGROUP_BPF_ATTACH_TYPE]; member 65 /* temp storage for effective prog array used by prog_attach/detach */
|
| /kernel/linux/linux-5.10/arch/x86/lib/ |
| D | insn-eval.c | 578 * computing the effective address. Thus, ensure that the first in get_reg_offset_16() 906 * get_eff_addr_reg() - Obtain effective address from register operand 909 * @regoff: Obtained operand offset, in pt_regs, with the effective address 910 * @eff_addr: Obtained effective address 912 * Obtain the effective address stored in the register operand as indicated by 914 * (i.e., ModRM.mod is 3). The effective address is saved in @eff_addr. The 922 * 0 on success. @eff_addr will have the effective address stored in the 956 * get_eff_addr_modrm() - Obtain referenced effective address via ModRM 960 * @eff_addr: Obtained effective address 962 * Obtain the effective address referenced by the ModRM byte of @insn. After [all …]
|
| /kernel/linux/linux-6.6/kernel/ |
| D | capability.c | 136 * @dataptr: pointer to struct that contains the effective, permitted, 168 kdata[0].effective = pE.val; kdata[1].effective = pE.val >> 32; in SYSCALL_DEFINE2() 206 * @data: pointer to struct that contains the effective, permitted, 224 kernel_cap_t inheritable, permitted, effective; in SYSCALL_DEFINE2() local 247 effective = mk_kernel_cap(kdata[0].effective, kdata[1].effective); in SYSCALL_DEFINE2() 256 &effective, &inheritable, &permitted); in SYSCALL_DEFINE2()
|
| /kernel/linux/linux-5.10/kernel/ |
| D | capability.c | 143 * @dataptr: pointer to struct that contains the effective, permitted, 171 kdata[i].effective = pE.cap[i]; in SYSCALL_DEFINE2() 208 * @data: pointer to struct that contains the effective, permitted, 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-6.6/include/uapi/linux/ |
| D | securebits.h | 15 compatibility mode. We raise the effective and inheritable bitmasks 16 *of the executable file* if the effective uid of the new process is 17 0. If the real uid is 0, we raise the effective (legacy) bit of the
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | securebits.h | 15 compatibility mode. We raise the effective and inheritable bitmasks 16 *of the executable file* if the effective uid of the new process is 17 0. If the real uid is 0, we raise the effective (legacy) bit of the
|
| /kernel/linux/linux-6.6/arch/x86/lib/ |
| D | insn-eval.c | 596 * computing the effective address. Thus, ensure that the first in get_reg_offset_16() 944 * get_eff_addr_reg() - Obtain effective address from register operand 947 * @regoff: Obtained operand offset, in pt_regs, with the effective address 948 * @eff_addr: Obtained effective address 950 * Obtain the effective address stored in the register operand as indicated by 952 * (i.e., ModRM.mod is 3). The effective address is saved in @eff_addr. The 960 * 0 on success. @eff_addr will have the effective address stored in the 994 * get_eff_addr_modrm() - Obtain referenced effective address via ModRM 998 * @eff_addr: Obtained effective address 1000 * Obtain the effective address referenced by the ModRM byte of @insn. After [all …]
|
| /kernel/linux/linux-6.6/kernel/bpf/ |
| D | cgroup.c | 63 array = rcu_dereference(cgrp->effective[atype]); in bpf_prog_run_array_cg() 325 cgrp->bpf.effective[atype], in cgroup_bpf_release() 414 /* compute a chain of effective programs for a given cgroup: 430 /* count number of effective programs by walking parents */ in compute_effective_progs() 441 /* populate the array with effective progs */ in compute_effective_progs() 482 old_array = rcu_replace_pointer(cgrp->bpf.effective[atype], old_array, in activate_effective_progs() 491 * cgroup_bpf_inherit() - inherit effective programs from parent 499 #define NR ARRAY_SIZE(cgrp->bpf.effective) in cgroup_bpf_inherit() 543 /* allocate and recompute effective prog arrays */ in update_effective_progs() 574 /* oom while computing effective. Free all computed effective arrays in update_effective_progs() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/sdis/common/ |
| D | ia_css_sdis_common_types.h | 55 in table, which cells have effective 65 in table, which cells have effective 83 in table, which cells have effective 93 in table, which cells have effective
|
| /kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/sdis/common/ |
| D | ia_css_sdis_common_types.h | 55 in table, which cells have effective 65 in table, which cells have effective 83 in table, which cells have effective 93 in table, which cells have effective
|
| /kernel/linux/linux-6.6/Documentation/security/ |
| D | credentials.rst | 137 - Effective, Saved and FS User ID 138 - Effective, Saved and FS Group ID 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
|