Home
last modified time | relevance | path

Searched refs:effective (Results 1 – 25 of 128) sorted by relevance

123456

/linux-6.1.9/tools/testing/selftests/bpf/
Dcap_helpers.c25 *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()
/linux-6.1.9/security/
Dcommoncap.c200 int cap_capget(struct task_struct *target, kernel_cap_t *effective, in cap_capget() argument
208 *effective = cred->cap_effective; in cap_capget()
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()
596 bool *effective, in bprm_caps_from_vfs_caps() argument
604 *effective = true; in bprm_caps_from_vfs_caps()
631 return *effective ? ret : 0; in bprm_caps_from_vfs_caps()
732 bool *effective, bool *has_fcap) in get_file_caps() argument
764 rc = bprm_caps_from_vfs_caps(&vcaps, bprm, effective, has_fcap); in get_file_caps()
[all …]
/linux-6.1.9/kernel/
Dcapability.c171 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-6.1.9/tools/bpf/bpftool/Documentation/
Dbpftool-cgroup.rst27 | **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
/linux-6.1.9/arch/x86/mm/
Ddump_pagetables.c255 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-6.1.9/tools/testing/selftests/cgroup/
Dtest_cpuset_prs.sh95 ACTUAL_VAL=$(cat cpuset.cpus.effective)
433 ECPUS=$DIR/cpuset.cpus.effective
454 FILE=$CGRP/cpuset.cpus.effective
566 echo "Test $TEST[$I] failed effective CPU check!"
Dmemcg_protection.m15 % E number parent effective protection
/linux-6.1.9/Documentation/driver-api/media/drivers/
Dsh_mobile_ceu_camera.rst76 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-6.1.9/arch/arm/include/debug/
Domap2plus.S30 10: adr \rp, 99f @ get effective addr of 99f
34 sub \tmp, \rp, \rv @ make it effective
/linux-6.1.9/kernel/bpf/
Dcgroup.c46 array = rcu_dereference(cgrp->effective[atype]); in bpf_prog_run_array_cg()
308 cgrp->bpf.effective[atype], in cgroup_bpf_release()
449 old_array = rcu_replace_pointer(cgrp->bpf.effective[atype], old_array, in activate_effective_progs()
466 #define NR ARRAY_SIZE(cgrp->bpf.effective) in cgroup_bpf_inherit()
776 desc->bpf.effective[atype], in replace_effective_prog()
929 desc->bpf.effective[atype], in purge_effective_progs()
1028 struct bpf_prog_array *effective; in __cgroup_bpf_query() local
1054 effective = rcu_dereference_protected(cgrp->bpf.effective[atype], in __cgroup_bpf_query()
1056 total_cnt += bpf_prog_array_length(effective); in __cgroup_bpf_query()
1079 effective = rcu_dereference_protected(cgrp->bpf.effective[atype], in __cgroup_bpf_query()
[all …]
/linux-6.1.9/include/linux/
Dbpf-cgroup-defs.h52 struct bpf_prog_array __rcu *effective[MAX_CGROUP_BPF_ATTACH_TYPE]; member
Dsecurity.h147 extern int cap_capget(struct task_struct *target, kernel_cap_t *effective, kernel_cap_t *inheritabl…
149 const kernel_cap_t *effective,
275 kernel_cap_t *effective,
279 const kernel_cap_t *effective,
553 kernel_cap_t *effective, in security_capget() argument
557 return cap_capget(target, effective, inheritable, permitted); in security_capget()
562 const kernel_cap_t *effective, in security_capset() argument
566 return cap_capset(new, old, effective, inheritable, permitted); in security_capset()
/linux-6.1.9/arch/arm/boot/dts/
Dsunxi-bananapi-m2-plus-v1.2.dtsi10 * Bananapi M2+ v1.2 uses a GPIO line to change the effective
/linux-6.1.9/Documentation/userspace-api/media/dvb/
Dfe-get-frontend.rst36 This ioctl call queries the currently effective frontend parameters. For
/linux-6.1.9/Documentation/admin-guide/cgroup-v1/
Dfreezer-subsystem.rst66 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-6.1.9/include/uapi/linux/
Dcapability.h45 __u32 effective; member
/linux-6.1.9/Documentation/devicetree/bindings/net/
Ddavicom,dm9051.yaml13 The DM9051 is a fully integrated and cost-effective low pin count single
/linux-6.1.9/Documentation/loongarch/
Dbooting.rst36 u64 _end - _text /* Kernel image effective size */
/linux-6.1.9/tools/testing/selftests/clone3/
Dclone3_cap_checkpoint_restore.c124 cap->data[1].effective |= 1 << (40 - 32); in set_capability()
/linux-6.1.9/Documentation/power/
Dpm_qos_interface.rst21 (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-6.1.9/Documentation/mm/
Dz3fold.rst28 Keeping effective compression ratio close to zsmalloc's, z3fold doesn't
/linux-6.1.9/Documentation/x86/
Dpat.rst131 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-6.1.9/Documentation/admin-guide/
Dperf-security.rst53 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-6.1.9/Documentation/powerpc/
Dcxl.rst18 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-6.1.9/Documentation/security/
Dcredentials.rst150 - 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

123456