Commit 5955f12
arch: Add a script to create syscalls.csv
Given a set of syscall/arch/kernel-version tables generated from
the previous commit, convert these tables to a libseccomp
syscalls.csv.
The steps to generate the libseccomp syscalls.csv for all kernel
versions from v3.0 to v6.16 are as follows:
$ time ./src/arch-build-kver-tables.py -d {syscalls_path}
-k {kernel_path}
Building version table for kernel 3.0
...
./src/arch-build-kver-tables.py -d ... -
real 76m50.202s
user 31m0.841s
sys 48m17.962s
$ ./src/arch-create-syscalls-csv.py -d {path to tables}
-k {kernel path} -o src/syscalls.csv
Signed-off-by: Tom Hromatka <[email protected]>
Signed-off-by: Paul Moore <[email protected]>1 parent 7e6cc86 commit 5955f12
1 file changed
+753
-0
lines changed
0 commit comments