Rivoreo Source Code Repositories
src.rivoreo.one
/
systemd-stable
/
v239-50
/
.
/
src
/
basic
/
generate-cap-list.sh
blob: 0628d2425fc91fe56f9b94443c39f8e604ba32fb [
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