Home
last modified time | relevance | path

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

12345

/Linux-v5.15/security/
Dcommoncap.c199 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()
591 bool *effective, in bprm_caps_from_vfs_caps() argument
599 *effective = true; in bprm_caps_from_vfs_caps()
626 return *effective ? ret : 0; in bprm_caps_from_vfs_caps()
727 bool *effective, bool *has_fcap) in get_file_caps() argument
759 rc = bprm_caps_from_vfs_caps(&vcaps, bprm, effective, has_fcap); in get_file_caps()
[all …]
/Linux-v5.15/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-v5.15/tools/bpf/bpftool/Documentation/
Dbpftool-cgroup.rst24 | **bpftool** **cgroup** { **show** | **list** } *CGROUP* [**effective**]
25 | **bpftool** **cgroup tree** [*CGROUP_ROOT*] [**effective**]
40 **bpftool cgroup { show | list }** *CGROUP* [**effective**]
46 If **effective** is specified retrieve effective programs that
50 **bpftool cgroup tree** [*CGROUP_ROOT*] [**effective**]
59 If **effective** is specified retrieve effective programs that
/Linux-v5.15/kernel/bpf/
Dcgroup.c134 cgrp->bpf.effective[atype], in cgroup_bpf_release()
275 old_array = rcu_replace_pointer(cgrp->bpf.effective[atype], old_array, in activate_effective_progs()
292 #define NR ARRAY_SIZE(cgrp->bpf.effective) in cgroup_bpf_inherit()
564 desc->bpf.effective[atype], in replace_effective_prog()
740 struct bpf_prog_array *effective; in __cgroup_bpf_query() local
753 effective = rcu_dereference_protected(cgrp->bpf.effective[atype], in __cgroup_bpf_query()
757 cnt = bpf_prog_array_length(effective); in __cgroup_bpf_query()
774 return bpf_prog_array_copy_to_user(effective, prog_ids, cnt); in __cgroup_bpf_query()
1043 cgrp->bpf.effective[atype], skb, __bpf_prog_run_save_cb); in __cgroup_bpf_run_filter_skb()
1045 ret = BPF_PROG_RUN_ARRAY_CG(cgrp->bpf.effective[atype], skb, in __cgroup_bpf_run_filter_skb()
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/arch/arm/include/debug/
Domap2plus.S30 10: adr \rp, 99f @ get effective addr of 99f
34 sub \tmp, \rp, \rv @ make it effective
/Linux-v5.15/arch/arm/boot/dts/
Dsunxi-bananapi-m2-plus-v1.2.dtsi10 * Bananapi M2+ v1.2 uses a GPIO line to change the effective
/Linux-v5.15/Documentation/userspace-api/media/dvb/
Dfe-get-frontend.rst36 This ioctl call queries the currently effective frontend parameters. For
/Linux-v5.15/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-v5.15/include/uapi/linux/
Dcapability.h45 __u32 effective; member
/Linux-v5.15/include/linux/
Dsecurity.h143 extern int cap_capget(struct task_struct *target, kernel_cap_t *effective, kernel_cap_t *inheritabl…
145 const kernel_cap_t *effective,
271 kernel_cap_t *effective,
275 const kernel_cap_t *effective,
547 kernel_cap_t *effective, in security_capget() argument
551 return cap_capget(target, effective, inheritable, permitted); in security_capget()
556 const kernel_cap_t *effective, in security_capset() argument
560 return cap_capset(new, old, effective, inheritable, permitted); in security_capset()
/Linux-v5.15/tools/testing/selftests/bpf/
Dtest_verifier.c941 cap->data[1].effective |= 1 << (38 /* CAP_PERFMON */ - 32); in set_admin()
942 cap->data[1].effective |= 1 << (39 /* CAP_BPF */ - 32); in set_admin()
944 cap->data[1].effective &= ~(1 << (38 - 32)); in set_admin()
945 cap->data[1].effective &= ~(1 << (39 - 32)); in set_admin()
1239 bpf_priv = cap->data[1].effective & (1 << (39/* CAP_BPF */ - 32)); in is_admin()
1240 perfmon_priv = cap->data[1].effective & (1 << (38/* CAP_PERFMON */ - 32)); in is_admin()
/Linux-v5.15/Documentation/devicetree/bindings/nds32/
Dandestech-boards21 processors to provide a cost-effective and high performance solution for
/Linux-v5.15/tools/testing/selftests/clone3/
Dclone3_cap_checkpoint_restore.c124 cap->data[1].effective |= 1 << (40 - 32); in set_capability()
/Linux-v5.15/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-v5.15/Documentation/vm/
Dz3fold.rst28 Keeping effective compression ratio close to zsmalloc's, z3fold doesn't
/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/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
/Linux-v5.15/Documentation/hwmon/
Dina3221.rst52 (only effective when all channels use the same resistor
/Linux-v5.15/kernel/irq/
DKconfig25 # Supports effective affinity mask
/Linux-v5.15/Documentation/networking/
Dtcp-thin.rst11 effective. In time-dependent scenarios (like online games, control
/Linux-v5.15/arch/m68k/ifpsp060/
Disp.doc46 cas (w/ a misaligned effective address)
174 The instructions "cas2" and "cas" (when used with a misaligned effective

12345