Adding a New Syscall
- Add the number to every architecture's table in
SYSCALL_NUMBERSintools/registry.py - Add a
SyscallDefentry toSYSCALL_DEFSintools/registry.py - Run
python tools/generate.py - Run
python -m pytest python/tests/test_sync.py -v
The generated sys/{name}.h will contain the numbers, OS guards, and wrapper.