Bump procd-2016-07-29-2c9f5d4af1559b840c42f1443ede9f9fe809c58b

This commit is contained in:
jbnadal
2016-12-06 17:47:39 +01:00
parent 2cdc93987e
commit c52cb8abde
56 changed files with 8207 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
#!/bin/sh
CC=$1
[ -n "$TARGET_CC_NOCACHE" ] && CC=$TARGET_CC_NOCACHE
echo "#include <linux/capability.h>"
echo "static const char *capabilities_names[] = {"
echo "#include <linux/capability.h>" | ${CC} -E -dM - | grep '#define CAP' | grep -vE '(CAP_TO|CAP_LAST_CAP)' | \
awk '{print $3" "$2}' | sort -n | awk '{print " ["$1"]\t= \""tolower($2)"\","}'
echo "};"