/linux-master/tools/testing/selftests/bpf/ |
H A D | cap_helpers.c | 25 *old_caps = (__u64)(data[1].effective) << 32 | data[0].effective; 27 if ((data[0].effective & cap0) == cap0 && 28 (data[1].effective & cap1) == cap1) 31 data[0].effective |= cap0; 32 data[1].effective |= cap1; 55 *old_caps = (__u64)(data[1].effective) << 32 | data[0].effective; 57 if (!(data[0].effective & cap0) && !(data[1].effective [all...] |
/linux-master/tools/testing/selftests/powerpc/dexcr/ |
H A D | lsdexcr.c | 13 static unsigned int effective; variable 64 if (!(effective & mask)) 67 printf("%12s %c (%d): ", aspect->name, effective & mask ? '*' : ' ', aspect->index); 77 bool actual = effective & DEXCR_PR_BIT(aspect->index); 138 effective = dexcr | hdexcr; 144 print_dexcr("Effective", effective); 151 if (effective & DEXCR_PR_NPHIE) {
|
/linux-master/kernel/ |
H A 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; 206 * @data: pointer to struct that contains the effective, permitted, 224 kernel_cap_t inheritable, permitted, effective; local 247 effective = mk_kernel_cap(kdata[0].effective, kdata[1].effective); 256 &effective, &inheritable, &permitted);
|
H A D | audit.h | 59 unsigned int fE; /* effective bit of file cap */ 60 kernel_cap_t effective; /* effective set of process */ member in union:audit_cap_data::__anon3759
|
H A D | auditsc.c | 1459 audit_log_cap(ab, "cap_pe", &context->capset.cap.effective); 1738 audit_log_cap(ab, "old_pe", &axs->old_pcap.effective); 1742 audit_log_cap(ab, "pe", &axs->new_pcap.effective); 2824 ax->old_pcap.effective = old->cap_effective; 2829 ax->new_pcap.effective = new->cap_effective; 2847 context->capset.cap.effective = new->cap_effective;
|
H A D | workqueue.c | 739 * unbound_effective_cpumask - effective cpumask of an unbound workqueue 743 * is masked with wq_unbound_cpumask to determine the effective cpumask. The 744 * default pwq is always mapped to the pool with the current effective cpumask. 1575 struct cpumask *effective = unbound_effective_cpumask(wq); local 1585 if (off_cpu >= 0 && !cpumask_test_cpu(off_cpu, effective)) 1588 total_cpus = cpumask_weight_and(effective, cpu_online_mask); 1604 node_cpus = cpumask_weight_and(effective, cpumask_of_node(node)); 4681 * Calculate the effective CPU mask of @attrs given @unbound_cpumask. If
|
/linux-master/include/linux/ |
H A D | bpf-cgroup-defs.h | 56 /* array of effective progs in this cgroup */ 57 struct bpf_prog_array __rcu *effective[MAX_CGROUP_BPF_ATTACH_TYPE]; member in struct:cgroup_bpf 70 /* temp storage for effective prog array used by prog_attach/detach */
|
H A D | security.h | 153 extern int cap_capget(const struct task_struct *target, kernel_cap_t *effective, 156 const kernel_cap_t *effective, 282 kernel_cap_t *effective, 286 const kernel_cap_t *effective, 589 kernel_cap_t *effective, 593 return cap_capget(target, effective, inheritable, permitted); 598 const kernel_cap_t *effective, 602 return cap_capset(new, old, effective, inheritable, permitted); 588 security_capget(const struct task_struct *target, kernel_cap_t *effective, kernel_cap_t *inheritable, kernel_cap_t *permitted) argument 596 security_capset(struct cred *new, const struct cred *old, const kernel_cap_t *effective, const kernel_cap_t *inheritable, const kernel_cap_t *permitted) argument
|
H A D | lsm_hook_defs.h | 39 LSM_HOOK(int, 0, capget, const struct task_struct *target, kernel_cap_t *effective, 42 const kernel_cap_t *effective, const kernel_cap_t *inheritable,
|
H A D | bpf-cgroup.h | 190 array = rcu_access_pointer(cgrp->bpf.effective[type]);
|
/linux-master/security/ |
H A D | commoncap.c | 46 " effective capabilities. Therefore not raising all" 53 * cap_capable - Determine whether a task has a particular effective capability 60 * its effective set, returning 0 if it does, -ve if it does not. 194 * @effective: The place to record the effective set 201 int cap_capget(const struct task_struct *target, kernel_cap_t *effective, argument 209 *effective = cred->cap_effective; 235 * @effective: A pointer to the proposed new effective capabilities set 245 const kernel_cap_t *effective, 243 cap_capset(struct cred *new, const struct cred *old, const kernel_cap_t *effective, const kernel_cap_t *inheritable, const kernel_cap_t *permitted) argument 587 bprm_caps_from_vfs_caps(struct cpu_vfs_cap_data *caps, struct linux_binprm *bprm, bool *effective, bool *has_fcap) argument 724 get_file_caps(struct linux_binprm *bprm, const struct file *file, bool *effective, bool *has_fcap) argument 789 handle_privileged_root(struct linux_binprm *bprm, bool has_fcap, bool *effective, kuid_t root_uid) argument 891 bool effective = false, has_fcap = false, is_setid; local [all...] |
H A D | security.c | 977 * @effective: effective capability set 981 * Get the @effective, @inheritable, and @permitted capability sets for the 989 kernel_cap_t *effective, 993 return call_int_hook(capget, target, effective, inheritable, permitted); 1000 * @effective: effective capability set 1004 * Set the @effective, @inheritable, and @permitted capability sets for the 1010 const kernel_cap_t *effective, 1014 return call_int_hook(capset, new, old, effective, inheritabl 988 security_capget(const struct task_struct *target, kernel_cap_t *effective, kernel_cap_t *inheritable, kernel_cap_t *permitted) argument 1009 security_capset(struct cred *new, const struct cred *old, const kernel_cap_t *effective, const kernel_cap_t *inheritable, const kernel_cap_t *permitted) argument [all...] |
/linux-master/arch/arm/include/debug/ |
H A D | omap2plus.S | 30 10: adr \rp, 99f @ get effective addr of 99f 34 sub \tmp, \rp, \rv @ make it effective
|
/linux-master/tools/testing/selftests/cgroup/ |
H A D | test_cpuset_prs.sh | 26 CPULIST=$(cat $CGROUP2/cpuset.cpus.effective) 127 ACTUAL_VAL=$(cat cpuset.cpus.effective) 129 echo "cpuset.cpus.effective: expect '$EXPECTED_VAL', found '$ACTUAL_VAL'" 256 # cpus.exclusive.effective clearing test 489 # Return 1 if the list of effective cpus isn't the same as the initial list. 506 ECPUS=$DIR/cpuset.cpus.effective 508 XECPUS=$DIR/cpuset.cpus.exclusive.effective 523 # Check effective cpus 537 FILE=cpuset.cpus.exclusive.effective 539 FILE=cpuset.cpus.effective [all...] |
/linux-master/include/uapi/linux/ |
H A D | capability.h | 45 __u32 effective; member in struct:__user_cap_data_struct 134 /* Overrides the following restrictions that the effective user ID 136 bits on that file; that the effective group ID (or one of the 143 /* Overrides the restriction that the real or effective user ID of a 144 process sending a signal must match the real or effective user ID
|
/linux-master/arch/x86/mm/ |
H A D | dump_pagetables.c | 255 pgprotval_t effective; local 260 effective = (higher_prot & prot & (_PAGE_USER | _PAGE_RW)) | 263 effective = prot; 266 st->prot_levels[level] = effective;
|
/linux-master/tools/testing/selftests/clone3/ |
H A D | clone3_cap_checkpoint_restore.c | 122 cap->data[1].effective |= 1 << (40 - 32);
|
/linux-master/kernel/bpf/ |
H A D | cgroup.c | 46 array = rcu_dereference(cgrp->effective[atype]); 308 cgrp->bpf.effective[atype], 395 /* compute a chain of effective programs for a given cgroup: 411 /* count number of effective programs by walking parents */ 422 /* populate the array with effective progs */ 449 old_array = rcu_replace_pointer(cgrp->bpf.effective[atype], old_array, 458 * cgroup_bpf_inherit() - inherit effective programs from parent 466 #define NR ARRAY_SIZE(cgrp->bpf.effective) 510 /* allocate and recompute effective prog arrays */ 541 /* oom while computing effective 1029 struct bpf_prog_array *effective; local [all...] |
/linux-master/security/apparmor/ |
H A D | lsm.c | 160 static int apparmor_capget(const struct task_struct *target, kernel_cap_t *effective, argument 172 * initialize effective and permitted. 184 *effective = cap_intersect(*effective,
|
/linux-master/arch/arm/kernel/ |
H A D | phys2virt.S | 158 @ rotation value. (The effective value of the immediate is imm12<7:0>
|
/linux-master/arch/m68k/fpsp040/ |
H A D | fpsp.h | 216 .set EXC_EA,12 | exception frame effective address
|
/linux-master/arch/m68k/ifpsp060/src/ |
H A D | pfpsp.S | 2364 # effective address" exception. # 2440 # reproducing the effective address of the instruction to put on the # 3157 # to the effective address as pointed to by the stacked effective address. 3293 # if the effective addressing mode was -() or ()+, then the address # 3355 # to the effective address as pointed to by the stacked effective address. 3945 # a0 = return correct effective address # 4225 # The effective address must be calculated since this is entered # 4570 # _fmovm_calc_ea: calculate effective addres [all...] |
H A D | fpsp.S | 2365 # effective address" exception. # 2441 # reproducing the effective address of the instruction to put on the # 3158 # to the effective address as pointed to by the stacked effective address. 3294 # if the effective addressing mode was -() or ()+, then the address # 3356 # to the effective address as pointed to by the stacked effective address. 4035 # old_sp is address just above stacked effective address. 4352 # so, the least significant WORD of the stacked effective address got 16872 # eliminate the effective addres [all...] |
/linux-master/sound/pci/hda/ |
H A D | patch_ca0132.c | 5538 bool effective; local 5576 /* if effective conditions, then update hw immediately. */ 5577 effective = ca0132_is_vnode_effective(codec, nid, &shared_nid); 5578 if (effective) { 6524 bool effective; local 6537 /* if effective conditions, then update hw immediately. */ 6538 effective = ca0132_is_vnode_effective(codec, nid, &shared_nid); 6539 if (effective) {
|
/linux-master/security/selinux/ |
H A D | hooks.c | 2110 static int selinux_capget(const struct task_struct *target, kernel_cap_t *effective, argument 2118 const kernel_cap_t *effective, 2117 selinux_capset(struct cred *new, const struct cred *old, const kernel_cap_t *effective, const kernel_cap_t *inheritable, const kernel_cap_t *permitted) argument
|