I have started working on Alpha support as support for SECCOMP_FILTER is now being worked on for Alpha.
I have added the usual stuff to add Alpha support and wanted to update syscalls.csv now to add the syscalls for Alpha.
However, it seems that I'm no longer able to do that since the scripts for that were rewritten and it's not clear to me how the scripts are supposed to be used:
glaubitz@z6:..upstream/libseccomp> ./src/arch-update-syscalls-csv.py -k /home/glaubitz/upstream/linux -c src/syscalls.csv -V 6.18 -d datapath/
Updating src/syscalls.csv version table for kernel 6.18
Traceback (most recent call last):
File "/home/glaubitz/upstream/libseccomp/./src/arch-update-syscalls-csv.py", line 330, in <module>
main(args)
~~~~^^^^^^
File "/home/glaubitz/upstream/libseccomp/./src/arch-update-syscalls-csv.py", line 320, in main
syscalls = update_syscalls_dict(args, columns, syscalls, kver)
File "/home/glaubitz/upstream/libseccomp/./src/arch-update-syscalls-csv.py", line 224, in update_syscalls_dict
with open(table_path, 'r') as tblf:
~~~~^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'datapath/tables-6.18/syscalls-i386'
glaubitz@z6:..upstream/libseccomp>
In particular, the script is now asking for a datapath and I have no clue what's that supposed to be. I have skimmed through the documentation and source code, but it doesn't become clear.
Can you please add instructions to README.md on how to create or update syscalls.csv?
Thanks!
I have started working on Alpha support as support for SECCOMP_FILTER is now being worked on for Alpha.
I have added the usual stuff to add Alpha support and wanted to update
syscalls.csvnow to add the syscalls for Alpha.However, it seems that I'm no longer able to do that since the scripts for that were rewritten and it's not clear to me how the scripts are supposed to be used:
In particular, the script is now asking for a
datapathand I have no clue what's that supposed to be. I have skimmed through the documentation and source code, but it doesn't become clear.Can you please add instructions to
README.mdon how to create or updatesyscalls.csv?Thanks!