Rivoreo Source Code Repositories
src.rivoreo.one
/
systemd-stable
/
v247
/
.
/
src
/
basic
/
generate-cap-list.sh
blob: b814fa859352cccd0104e8f23667611a7b3529d6 [
file
] [
log
] [
blame
] [
raw
]
#!/bin/sh
set
-
eu
$1
-
dM
-
include linux
/
capability
.
h
-
include
"$2"
-
include
"$3"
-
</
dev
/
null
|
\
awk
'/^#define[ \t]+CAP_[A-Z_]+[ \t]+/ { print $2; }'
|
\
grep
-
v CAP_LAST_CAP