blob: 64701dac4e9ea04caff11157085586a59bd0566d (
plain)
1
2
3
4
5
6
7
8
9
10
|
#! /bin/sh
h="/lib/modules/$(uname -r)/build/include/linux/syscalls.h"
sed -n 's/.*sys_\([^)]\+\)(.*/\1/p' $h | while read f; do
x="`( man 3p $f || man 3 $f || man $f ) 2>/dev/null`"
echo "`
echo "$x" | grep -q ENAMETOOLONG && echo 1 || echo 0``
echo "$x" | grep -q EACCES && echo 1 || echo 0``
` $f"
done
|