summaryrefslogtreecommitdiff
path: root/src/basic/missing_syscalls.py
Commit message (Collapse)AuthorAgeFilesLines
* sd-event: reenable epoll_pwait2()Lennart Poettering2022-11-231-1/+0
| | | | | | | | | | | | | | | | This reenables epoll_pwait2() use, i.e. undoes the effect of 39f756d3ae4765b8bf017567a12b8a4b358eaaf5. Instead of just reverting that, this PR will change things so that we strictly rely on glibc's new epoll_pwait2() wrapper (which was added earlier this year), and drop our own manual fallback syscall wrapper. That should nicely side-step any issues with correct syscall wrapping definitions (which on some arch seem not to be easy, given the sigset_t size final argument), by making this a glibc problem, not ours. Given that the only benefit this delivers are time-outs more granular than msec, it shouldn't really matter that we'll miss out on support for this on systems with older glibcs.
* basic/missing-syscalls: add PARISC (HPPA support)Sam James2022-06-281-0/+2
| | | | Bug: https://github.com/systemd/systemd/issues/23180
* various: add missing "#pragma once"Zbigniew Jędrzejewski-Szmek2022-04-071-0/+1
|
* missing-syscall: add __NR_openat2Yu Watanabe2022-01-031-0/+1
|
* syscalls: add LoongArch 64bit syscallsXiaotian Wu2021-12-011-0/+2
|
* missing_syscall: add riscv32 supportYu Watanabe2021-06-151-2/+8
|
* basic/missing-syscall: add regen instructionsZbigniew Jędrzejewski-Szmek2021-04-281-1/+5
|
* basic/missing-syscall: sort syscalls alphabetically and add numbers for ↵Zbigniew Jędrzejewski-Szmek2021-04-281-1/+5
| | | | mount_setattr, move_mount, open_tree
* basic/missing-syscall: add numbers for riscv (64-bit)Zbigniew Jędrzejewski-Szmek2021-04-281-0/+2
|
* basic/missing-syscalls: only emit one warning about missing numbersZbigniew Jędrzejewski-Szmek2021-04-281-7/+27
| | | | | | | | | The ifdef pattern is the same for all syscalls, so most of the time, if one is not defined, all others will too. So let's reduce the noise a bit and emit one warning in case the support for the architecture is fully missing. (Current template was copied over from before when we added numbers for each syscall by hand and stopped making sense when we started generating the header from a table that is expected to have all syscall numbers.)
* missing-syscalls: do not generate trailing empty lineZbigniew Jędrzejewski-Szmek2021-03-081-3/+3
| | | | | The generated .h file was already like this, but what the generator generated did not match. So we only need to update the generator.
* missing_syscall: add epoll_pwait2() wrapperLennart Poettering2021-02-261-1/+2
|
* syscall-tables: add missing preposition and fix file name pathZbigniew Jędrzejewski-Szmek2021-02-121-2/+2
| | | | | I added an extension in 1f6f8cc8039a204609ddab79791ef22ee6340da0 but forgot to fix the consumer script.
* missing-syscalls: add license header in the version-controlled generated fileZbigniew Jędrzejewski-Szmek2021-01-271-1/+6
| | | | | | | If the file was always generated on the fly, the header would be pointless. But since we distribute it, it should be there. C.f. a0e150b2f4933ae7546fce9a2773b0208b2dc269. This was forgotten in 35b42e560039fd87d4ae4d99cd54d1d4e89710b1.
* basic: drop unused moduleYu Watanabe2021-01-171-1/+0
| | | | Follow-up for 35b42e560039fd87d4ae4d99cd54d1d4e89710b1.
* src/basic: generate missing syscall headers programaticallyZbigniew Jędrzejewski-Szmek2021-01-151-0/+115
Getting the numbers right for all architectures has proven to be a constant chore. Let's autogenerate the header from the tables that were imported in one of the previous commits. Fixes #18074. (Hopefully. I cannot verify this on all architectures.) To update the lists, or to update the header after template changes: ninja -C build update-syscall-tables update-syscall-header Note: the generated file is saved in git. Initially I wanted to only store the tables in git, and generate the header during each build. Generation is quick enough, but the header is used in many many places (wherever missing_syscall.h is included, directly or indirectly), which means that we would need to declare the dependency in meson, so the header would be generated early enough. This turned out to be very noisy. Storing the generated header in version control avoids the hassle.