Skip to content

BUG: guidance needed on how to update syscalls.csv #480

Open

Description

@glaubitz

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!

Activity

  1. changed the title [-]Please clarify on how to update syscalls.csv[/-] [+]BUG: guidance needed on how to update syscalls.csv[/+] on Apr 9, 2026
  2. pcmoore commented on Apr 9, 2026

    @pcmoore
    Member

    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 ;)

  3. drakenclimber commented on Apr 10, 2026

    @drakenclimber
    Member

    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.

  4. drakenclimber commented on Apr 14, 2026

    @drakenclimber
    Member

    @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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions