Home
last modified time | relevance | path

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

12345

/Linux-v5.4/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()
530 bool *effective, in bprm_caps_from_vfs_caps() argument
538 *effective = true; in bprm_caps_from_vfs_caps()
565 return *effective ? ret : 0; in bprm_caps_from_vfs_caps()
650 static int get_file_caps(struct linux_binprm *bprm, bool *effective, bool *has_fcap) in get_file_caps() argument
681 rc = bprm_caps_from_vfs_caps(&vcaps, bprm, effective, has_fcap); in get_file_caps()
[all …]
/Linux-v5.4/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()
Daudit.h56 kernel_cap_t effective; /* effective set of process */ member
Dauditsc.c1275 audit_log_cap(ab, "cap_pe", &context->capset.cap.effective); in show_special()
1494 audit_log_cap(ab, "old_pe", &axs->old_pcap.effective); in audit_log_exit()
1498 audit_log_cap(ab, "pe", &axs->new_pcap.effective); in audit_log_exit()
2466 ax->old_pcap.effective = old->cap_effective; in __audit_log_bprm_fcaps()
2471 ax->new_pcap.effective = new->cap_effective; in __audit_log_bprm_fcaps()
2488 context->capset.cap.effective = new->cap_effective; in __audit_log_capset()
/Linux-v5.4/tools/bpf/bpftool/Documentation/
Dbpftool-cgroup.rst23 | **bpftool** **cgroup { show | list }** *CGROUP* [**effective**]
24 | **bpftool** **cgroup tree** [*CGROUP_ROOT*] [**effective**]
38 **bpftool cgroup { show | list }** *CGROUP* [**effective**]
44 If **effective** is specified retrieve effective programs that
48 **bpftool cgroup tree** [*CGROUP_ROOT*] [**effective**]
57 If **effective** is specified retrieve effective programs that
/Linux-v5.4/kernel/bpf/
Dcgroup.c61 cgrp->bpf.effective[type], in cgroup_bpf_release()
183 rcu_swap_protected(cgrp->bpf.effective[type], old_array, in activate_effective_progs()
200 #define NR ARRAY_SIZE(cgrp->bpf.effective) in cgroup_bpf_inherit()
498 struct bpf_prog_array *effective; in __cgroup_bpf_query() local
501 effective = rcu_dereference_protected(cgrp->bpf.effective[type], in __cgroup_bpf_query()
505 cnt = bpf_prog_array_length(effective); in __cgroup_bpf_query()
522 return bpf_prog_array_copy_to_user(effective, prog_ids, cnt); in __cgroup_bpf_query()
642 cgrp->bpf.effective[type], skb, __bpf_prog_run_save_cb); in __cgroup_bpf_run_filter_skb()
644 ret = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[type], skb, in __cgroup_bpf_run_filter_skb()
675 ret = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[type], sk, BPF_PROG_RUN); in __cgroup_bpf_run_filter_sk()
[all …]
/Linux-v5.4/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.4/Documentation/media/v4l-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.4/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.4/include/linux/
Dsecurity.h135 extern int cap_capget(struct task_struct *target, kernel_cap_t *effective, kernel_cap_t *inheritabl…
137 const kernel_cap_t *effective,
260 kernel_cap_t *effective,
264 const kernel_cap_t *effective,
518 kernel_cap_t *effective, in security_capget() argument
522 return cap_capget(target, effective, inheritable, permitted); in security_capget()
527 const kernel_cap_t *effective, in security_capset() argument
531 return cap_capset(new, old, effective, inheritable, permitted); in security_capset()
/Linux-v5.4/include/uapi/linux/
Dcapability.h45 __u32 effective; member
/Linux-v5.4/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.4/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).
Dhw_random.rst15 To make the most effective use of these mechanisms, you
/Linux-v5.4/Documentation/devicetree/bindings/nds32/
Dandestech-boards21 processors to provide a cost-effective and high performance solution for
/Linux-v5.4/Documentation/media/uapi/dvb/
Dfe-get-frontend.rst45 This ioctl call queries the currently effective frontend parameters. For
/Linux-v5.4/Documentation/vm/
Dz3fold.rst28 Keeping effective compression ratio close to zsmalloc's, z3fold doesn't
/Linux-v5.4/Documentation/x86/
Dpat.rst133 set_memory_wc() to white-list effective write-combined areas. Such use is
134 nevertheless discouraged as the effective memory type is considered
137 otherwise not be effective.
/Linux-v5.4/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
192 using the same effective addresses. No additional calls are
220 defined by the AFU. Typically this is an effective
/Linux-v5.4/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
401 uid_t task_euid(task) Task's effective UID
/Linux-v5.4/Documentation/power/
Dpm_qos_interface.rst201 whatever is necessary to transfer the effective requirement value to the
204 Whenever the effective latency tolerance changes for the device, its
205 .set_latency_tolerance() callback will be executed and the effective value will
/Linux-v5.4/Documentation/networking/
Dtcp-thin.txt7 effective. In time-dependent scenarios (like online games, control
/Linux-v5.4/kernel/irq/
DKconfig25 # Supports effective affinity mask
/Linux-v5.4/arch/m68k/ifpsp060/
Disp.doc46 cas (w/ a misaligned effective address)
174 The instructions "cas2" and "cas" (when used with a misaligned effective
/Linux-v5.4/Documentation/misc-devices/
Deeprom.rst65 effective for decoding the contents of EEPROMs on DIMMs.

12345