seccomp / libseccomp

The main libseccomp repository
GNU Lesser General Public License v2.1
791 stars 170 forks source link

BUG: fix small syntax errors in the gperf script #428

Closed huajingyun01 closed 4 months ago

huajingyun01 commented 4 months ago

hi,when I compile libseccomp, the error is as follows:

  CC       libseccomp_la-syscalls.lo
  GEN      syscalls.perf
sed: can't find label for jump to 'r1}'
make[3]: *** [Makefile:1425: syscalls.perf] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:935: all-recursive] Error 1

more detail:

~/test/libseccomp/src$ cat ./syscalls.csv | grep -v '^#'|nl -ba -s, -v0 | sed -e '{s|^[[:space:]]\+\([0-9]\+\),\([^,]\+\),\(.*\)|\2,\1,\3|;};' -e '{:r1; {s|\([^,]\+\)\(.*\)[^_]PNR|\1\2,__PNR_\1|g;}; t r1};' -e '{s|,KV_|,SCMP_KV_|g;};'
sed: can't find label for jump to 'r1}'
~/test/libseccomp/src$ 
coveralls commented 4 months ago

Coverage Status

coverage: 89.474%. remained the same when pulling 9452b9b28003fd4b6f1c43d319369dd7b4f9647b on huajingyun01:main into 47ca6441d62e41ba845ad8036c15f1154bd56b24 on seccomp:main.

drakenclimber commented 4 months ago

Pushed to main in commit 99bd9e5abfe5. Thanks, @huajingyun01