You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BUG: guidance needed on how to update syscalls.csv #480
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?
Hi @glaubitz, I haven't personally used the new tool yet, but we need to run an update to get a new release out so I expect to have to figure this out myself somewhat soon~ish. If @drakenclimber doesn't come to the rescue before then, I'll document what I find out when I do it - wish me luck ;)
@glaubitz, I just submitted pull request #485 to update the syscalls table to v7.0-rc7. As part of that pull request, I added instructions for updating syscalls.csv. Let me know if that helps, or if I've missed anything. Thanks!
Activity
[-]Please clarify on how to update syscalls.csv[/-][+]BUG: guidance needed on how to update syscalls.csv[/+]pcmoore commentedon Apr 9, 2026
Hi @glaubitz, I haven't personally used the new tool yet, but we need to run an update to get a new release out so I expect to have to figure this out myself somewhat soon~ish. If @drakenclimber doesn't come to the rescue before then, I'll document what I find out when I do it - wish me luck ;)
drakenclimber commentedon Apr 10, 2026
I can put something together.
And sorry for being AWOL lately. I'm not certain what my future holds, but I'm hoping to be a little more present upstream over the next few months.
drakenclimber commentedon Apr 14, 2026
@glaubitz, I just submitted pull request #485 to update the syscalls table to v7.0-rc7. As part of that pull request, I added instructions for updating syscalls.csv. Let me know if that helps, or if I've missed anything. Thanks!