Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:CAP_BPF
(Results
1 - 13
of
13
) sorted by relevance
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H
A
D
cap_helpers.h
12
#ifndef
CAP_BPF
13
#define
CAP_BPF
39
macro
H
A
D
test_loader.c
416
1ULL << CAP_PERFMON | 1ULL <<
CAP_BPF
);
in drop_capabilities()
H
A
D
test_verifier.c
71
/* need
CAP_BPF
, CAP_NET_ADMIN, CAP_PERFMON to load progs */
74
1ULL <<
CAP_BPF
)
1771
* CAP_PERFMON, and
CAP_BPF
instead of CAP_SYS_ADMIN.
in is_admin()
/kernel/linux/linux-5.10/tools/bpf/bpftool/
H
A
D
feature.c
783
#ifdef
CAP_BPF
in handle_perms()
784
capability(
CAP_BPF
),
in handle_perms()
803
#ifdef
CAP_BPF
in handle_perms()
804
if (CAP_IS_SUPPORTED(
CAP_BPF
))
in handle_perms()
824
/* System does not know about
CAP_BPF
, meaning that
in handle_perms()
846
#ifdef
CAP_BPF
in handle_perms()
852
#endif /*
CAP_BPF
*/
in handle_perms()
/kernel/linux/linux-6.6/tools/bpf/bpftool/
H
A
D
feature.c
1052
#ifdef
CAP_BPF
in handle_perms()
1053
capability(
CAP_BPF
),
in handle_perms()
1072
#ifdef
CAP_BPF
in handle_perms()
1073
if (CAP_IS_SUPPORTED(
CAP_BPF
))
in handle_perms()
1093
/* System does not know about
CAP_BPF
, meaning that
in handle_perms()
1115
#ifdef
CAP_BPF
in handle_perms()
1121
#endif /*
CAP_BPF
*/
in handle_perms()
/kernel/linux/linux-5.10/include/uapi/linux/
H
A
D
capability.h
277
/* Allow everything under
CAP_BPF
and CAP_PERFMON for backward compatibility */
384
*
CAP_BPF
allows the following BPF operations:
409
* CAP_PERFMON and
CAP_BPF
are required to load tracing programs.
410
* CAP_NET_ADMIN and
CAP_BPF
are required to load networking programs.
412
#define
CAP_BPF
39
macro
/kernel/linux/linux-6.6/include/uapi/linux/
H
A
D
capability.h
277
/* Allow everything under
CAP_BPF
and CAP_PERFMON for backward compatibility */
384
*
CAP_BPF
allows the following BPF operations:
409
* CAP_PERFMON and
CAP_BPF
are required to load tracing programs.
410
* CAP_NET_ADMIN and
CAP_BPF
are required to load networking programs.
412
#define
CAP_BPF
39
macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H
A
D
capability.h
109
#define
CAP_BPF
39
macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H
A
D
capability.h
109
#define
CAP_BPF
39
macro
/kernel/linux/linux-6.6/include/linux/
H
A
D
capability.h
202
return capable(
CAP_BPF
) || capable(CAP_SYS_ADMIN);
in bpf_capable()
/kernel/linux/linux-5.10/include/linux/
H
A
D
capability.h
261
return capable(
CAP_BPF
) || capable(CAP_SYS_ADMIN);
in bpf_capable()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H
A
D
unpriv_bpf_disabled.c
12
* an old /usr/include/linux/capability.h and be <
CAP_BPF
; as a result
13
*
CAP_BPF
would not be included in ALL_CAPS. Instead use
CAP_BPF
as
17
#define ALL_CAPS ((2ULL <<
CAP_BPF
) - 1)
H
A
D
tc_bpf.c
404
/* In case
CAP_BPF
and CAP_PERFMON is not set */
in tc_bpf_non_root()
405
ret = cap_enable_effective(1ULL <<
CAP_BPF
| 1ULL << CAP_NET_ADMIN, &caps);
in tc_bpf_non_root()
Completed in 11 milliseconds