Home
last modified time | relevance | path

Searched full:effective (Results 1 – 25 of 413) sorted by relevance

12345678910>>...17

/linux/tools/testing/selftests/bpf/
H 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 in cap_disable_effective()
[all...]
/linux/tools/testing/selftests/powerpc/dexcr/
H A Dlsdexcr.c13 static unsigned int effective; variable
64 if (!(effective & mask)) in print_aspect()
67 printf("%12s %c (%d): ", aspect->name, effective & mask ? '*' : ' ', aspect->index); in print_aspect()
77 bool actual = effective & DEXCR_PR_BIT(aspect->index); in print_aspect_config()
138 effective = dexcr | hdexcr; in main()
144 print_dexcr("Effective", effective); in main()
151 if (effective & DEXCR_PR_NPHIE) { in main()
/linux/security/
H A Dcommoncap.c49 " effective capabilities. Therefore not raising all" in warn_setuid_and_fcaps_mixed()
56 * cap_capable_helper - Determine whether a task has a particular effective
64 * its effective set, returning 0 if it does, -ve if it does not.
109 * cap_capable - Determine whether a task has a particular effective capability
116 * its effective set, returning 0 if it does, -ve if it does not.
223 * @effective: The place to record the effective set
230 int cap_capget(const struct task_struct *target, kernel_cap_t *effective, in cap_capget() argument
238 *effective = cred->cap_effective; in cap_capget()
264 * @effective
274 cap_capset(struct cred * new,const struct cred * old,const kernel_cap_t * effective,const kernel_cap_t * inheritable,const kernel_cap_t * permitted) cap_capset() argument
628 bprm_caps_from_vfs_caps(struct cpu_vfs_cap_data * caps,struct linux_binprm * bprm,bool * effective,bool * has_fcap) bprm_caps_from_vfs_caps() argument
764 get_file_caps(struct linux_binprm * bprm,const struct file * file,bool * effective,bool * has_fcap) get_file_caps() argument
829 handle_privileged_root(struct linux_binprm * bprm,bool has_fcap,bool * effective,kuid_t root_uid) handle_privileged_root() argument
924 bool effective = false, has_fcap = false, id_changed; cap_bprm_creds_from_file() local
[all...]
/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-cgroup.rst27 | **bpftool** **cgroup** { **show** | **list** } *CGROUP* [**effective**]
28 | **bpftool** **cgroup tree** [*CGROUP_ROOT*] [**effective**]
52 bpftool cgroup { show | list } *CGROUP* [effective]
58 If **effective** is specified retrieve effective programs that will execute
62 bpftool cgroup tree [*CGROUP_ROOT*] [effective]
70 If **effective** is specified retrieve effective programs that will execute
/linux/tools/testing/selftests/net/netfilter/
H A Drpath.sh162 ipt_zero_rule "$iptables" && die "iptables match not effective"
163 ipt_zero_rule "$ip6tables" && die "ip6tables match not effective"
164 ipt_zero_reverse_rule "$iptables" || die "iptables match over-effective"
165 ipt_zero_reverse_rule "$ip6tables" || die "ip6tables match over-effective"
166 nft_zero_rule ip && die "nft IPv4 match not effective"
167 nft_zero_rule ip6 && die "nft IPv6 match not effective"
/linux/Documentation/scheduler/
H 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
160 Later at any path that wants to identify the effective uclamp value of the rq,
161 it will simply need to read this effective uclamp value of the rq at that exact
167 When a task wakes up, the scheduler will look at the current effective uclamp
173 at the current effective uclamp value of the rq which is influenced by the set
210 To reduce the search space when trying to decide the effective uclamp value of
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
[all …]
/linux/include/linux/
H A Dbpf-cgroup-defs.h56 /* array of effective progs in this cgroup */
57 struct bpf_prog_array __rcu *effective[MAX_CGROUP_BPF_ATTACH_TYPE]; member
71 /* temp storage for effective prog array used by prog_attach/detach */
/linux/tools/net/ynl/pyynl/lib/
H A Dspecdir.py18 Return the effective schema directory, preferring in-tree before
31 Return the effective spec directory, relative to the effective
/linux/include/uapi/linux/
H A Dsecurebits.h15 compatibility mode. We raise the effective and inheritable bitmasks
16 *of the executable file* if the effective uid of the new process is
17 0. If the real uid is 0, we raise the effective (legacy) bit of the
H A Dauxvec.h21 #define AT_EUID 12 /* effective uid */
23 #define AT_EGID 14 /* effective gid */
/linux/kernel/cgroup/
H A Dcpuset-internal.h87 * The effective masks is the real masks that apply to the tasks
97 * The user-configured masks are always the same with effective masks.
104 /* effective CPUs and Memory Nodes allow to tasks */
127 * it becomes a valid partition root. The effective set of exclusive
255 * Do cpusets a, b have overlapping effective cpus_allowed masks?
/linux/kernel/bpf/
H A Dcgroup.c98 array = rcu_dereference(cgrp->effective[atype]); in bpf_prog_run_array_cg()
358 cgrp->bpf.effective[atype], in cgroup_bpf_release()
447 /* compute a chain of effective programs for a given cgroup:
463 /* count number of effective programs by walking parents */ in compute_effective_progs()
474 /* populate the array with effective progs */ in compute_effective_progs()
515 old_array = rcu_replace_pointer(cgrp->bpf.effective[atype], old_array, in activate_effective_progs()
524 * cgroup_bpf_inherit() - inherit effective programs from parent
532 #define NR ARRAY_SIZE(cgrp->bpf.effective) in cgroup_bpf_inherit()
597 /* allocate and recompute effective prog arrays */ in update_effective_progs()
628 /* oom while computing effective. Free all computed effective arrays in update_effective_progs()
[all …]
/linux/tools/perf/util/
H A Dcap.c37 cap_val = data[1].effective; in perf_cap__capable()
43 cap_val = data[0].effective; in perf_cap__capable()
/linux/tools/testing/selftests/cgroup/
H A Dtest_cpuset_prs.sh26 CPULIST=$(cat $CGROUP2/cpuset.cpus.effective)
159 ACTUAL_VAL=$(cat cpuset.cpus.effective)
161 echo "cpuset.cpus.effective: expect '$EXPECTED_VAL', found '$ACTUAL_VAL'"
203 # ECPUs - effective CPUs of cpusets
311 # cpus.exclusive.effective clearing test
406 # affect cpuset.cpus.exclusive.effective.
428 # cpuset.cpus can become empty with task in it as it inherits parent's effective CPUs
483 # p1 as member, will get its effective CPUs from its parent rtest
667 ECPUS=$DIR/cpuset.cpus.effective
669 XECPUS=$DIR/cpuset.cpus.exclusive.effective
[all …]
/linux/Documentation/driver-api/media/drivers/
H 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/Documentation/ABI/testing/
H A Dsysfs-kernel-mm-ksm59 Description: Measure how effective KSM is.
60 general_profit: how effective is KSM. The formula for the
/linux/tools/bpf/bpftool/
H A Dcgroup.c345 if (is_prefix(*argv, "effective")) { in do_show()
353 p_err("expected no more arguments, 'effective', got: '%s'?", in do_show()
510 if (is_prefix(*argv, "effective")) { in do_show_tree()
518 p_err("expected no more arguments, 'effective', got: '%s'?", in do_show_tree()
675 "Usage: %1$s %2$s { show | list } CGROUP [**effective**]\n" in do_help()
676 " %1$s %2$s tree [CGROUP_ROOT] [**effective**]\n" in do_help()
/linux/arch/arm/include/debug/
H A Domap2plus.S30 10: adr \rp, 99f @ get effective addr of 99f
34 sub \tmp, \rp, \rv @ make it effective
/linux/tools/testing/selftests/damon/
H A Ddamos_quota_goal.py60 print('score: %s, effective quota: %d -> %d (%.3fx)' % (
66 # effective quota was already minimum that cannot be more reduced
69 print('effective bytes not changed: %d' % goal.effective_bytes)
/linux/drivers/iio/imu/inv_icm45600/
H A Dinv_icm45600_buffer.h29 * @watermark.eff_gyro: effective watermark for gyro.
30 * @watermark.eff_accel: effective watermark for accel.
/linux/Documentation/admin-guide/
H 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/arch/powerpc/platforms/cell/spufs/
H A Dspu_utils.h85 * Update the effective address for the CSA in the in build_dma_list()
107 * an effective address in the CSA in order to in enqueue_putllc()
/linux/drivers/dax/
H A Ddax-private.h22 * @target_node: effective numa node if this memory range is onlined
74 * @target_node: effective numa node if dev_dax memory range is onlined
/linux/Documentation/filesystems/
H A Dntfs3.rst108 - Support POSIX ACLs (Access Control Lists). Effective if supported by
115 which is not necessarily as effective as JBD would be.
/linux/arch/powerpc/include/asm/nohash/32/
H A Dmmu-44x.h18 #define PPC44x_TLB_EPN_MASK 0xfffffc00 /* Effective Page Number */
62 #define PPC47x_TLB0_EPN_MASK 0xfffff000 /* Effective Page Number */

12345678910>>...17