Home
last modified time | relevance | path

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

123456

/linux-6.3-rc2/tools/testing/selftests/bpf/
A 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.3-rc2/security/
A Dcommoncap.c208 *effective = cred->cap_effective; in cap_capget()
244 const kernel_cap_t *effective, in cap_capset() argument
269 new->cap_effective = *effective; in cap_capset()
588 bool *effective, in bprm_caps_from_vfs_caps() argument
595 *effective = true; in bprm_caps_from_vfs_caps()
617 return *effective ? ret : 0; in bprm_caps_from_vfs_caps()
724 bool *effective, bool *has_fcap) in get_file_caps() argument
819 *effective = true; in handle_privileged_root()
858 !(__cap_full(effective, new) && in nonroot_raised_pE()
946 if (effective) in cap_bprm_creds_from_file()
[all …]
/linux-6.3-rc2/kernel/
A Dcapability.c168 kdata[0].effective = pE.val; kdata[1].effective = pE.val >> 32; in SYSCALL_DEFINE2()
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()
/linux-6.3-rc2/tools/bpf/bpftool/Documentation/
A 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.3-rc2/arch/x86/mm/
A 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.3-rc2/tools/testing/selftests/cgroup/
A Dtest_cpuset_prs.sh109 ACTUAL_VAL=$(cat cpuset.cpus.effective)
448 ECPUS=$DIR/cpuset.cpus.effective
469 FILE=$CGRP/cpuset.cpus.effective
581 echo "Test $TEST[$I] failed effective CPU check!"
/linux-6.3-rc2/Documentation/driver-api/media/drivers/
A 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.3-rc2/arch/arm/include/debug/
A Domap2plus.S30 10: adr \rp, 99f @ get effective addr of 99f
34 sub \tmp, \rp, \rv @ make it effective
/linux-6.3-rc2/Documentation/scheduler/
A Dsched-util-clamp.rst132 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
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
304 The effective util clamp value of any task is restricted as follows:
314 For now suffice to say that if a task makes a request, its actual effective
388 In a cgroup hierarchy, effective cpu.uclamp.min is the max of (child,
397 In a cgroup hierarchy, effective cpu.uclamp.max is the min of (child,
461 By changing it to 512 for example the effective allowed range reduces to
[all …]
/linux-6.3-rc2/kernel/bpf/
A Dcgroup.c46 array = rcu_dereference(cgrp->effective[atype]); in bpf_prog_run_array_cg()
308 cgrp->bpf.effective[atype], in cgroup_bpf_release()
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()
1081 cnt = min_t(int, bpf_prog_array_length(effective), total_cnt); in __cgroup_bpf_query()
[all …]
/linux-6.3-rc2/include/linux/
A Dbpf-cgroup-defs.h52 struct bpf_prog_array __rcu *effective[MAX_CGROUP_BPF_ATTACH_TYPE]; member
A Dsecurity.h148 extern int cap_capget(struct task_struct *target, kernel_cap_t *effective, kernel_cap_t *inheritabl…
150 const kernel_cap_t *effective,
275 kernel_cap_t *effective,
279 const kernel_cap_t *effective,
560 kernel_cap_t *effective, in security_capget() argument
564 return cap_capget(target, effective, inheritable, permitted); in security_capget()
569 const kernel_cap_t *effective, in security_capset() argument
573 return cap_capset(new, old, effective, inheritable, permitted); in security_capset()
/linux-6.3-rc2/arch/arm/boot/dts/
A Dsunxi-bananapi-m2-plus-v1.2.dtsi10 * Bananapi M2+ v1.2 uses a GPIO line to change the effective
/linux-6.3-rc2/Documentation/userspace-api/media/dvb/
A Dfe-get-frontend.rst36 This ioctl call queries the currently effective frontend parameters. For
/linux-6.3-rc2/Documentation/admin-guide/cgroup-v1/
A 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.3-rc2/include/uapi/linux/
A Dcapability.h45 __u32 effective; member
/linux-6.3-rc2/Documentation/devicetree/bindings/net/
A Ddavicom,dm9051.yaml13 The DM9051 is a fully integrated and cost-effective low pin count single
/linux-6.3-rc2/Documentation/loongarch/
A Dbooting.rst36 u64 _end - _text /* Kernel image effective size */
/linux-6.3-rc2/tools/testing/selftests/clone3/
A Dclone3_cap_checkpoint_restore.c124 cap->data[1].effective |= 1 << (40 - 32); in set_capability()
/linux-6.3-rc2/Documentation/power/
A 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.3-rc2/Documentation/x86/
A 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.3-rc2/Documentation/mm/
A Dz3fold.rst26 Keeping effective compression ratio close to zsmalloc's, z3fold doesn't
/linux-6.3-rc2/Documentation/admin-guide/
A 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.3-rc2/Documentation/powerpc/
A 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.3-rc2/Documentation/security/
A 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

Completed in 37 milliseconds

123456