]> git.ipfire.org Git - thirdparty/util-linux.git/commit
include/pidfd-utils: remove hardcoded syscall fallback
authorKarel Zak <kzak@redhat.com>
Mon, 13 May 2024 09:43:57 +0000 (11:43 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 13 May 2024 09:43:57 +0000 (11:43 +0200)
commit057080b5c89fa63cece8a5d4a6da4959bd004aa1
treef6575969b630a81f10850976c7af6c511948a6e4
parentc2a863c2d7f4d7cc7f44423a3d761f973fce711c
include/pidfd-utils: remove hardcoded syscall fallback

Based on https://github.com/util-linux/util-linux/pull/3018

The syscall numbers should not be hardcoded in the header file. If we
really need them, there is UL_CHECK_SYSCALL() to define the numbers
for different architectures. I doubt it's really necessary. Just
update your kernel header files to get the latest kernel updates ...

Signed-off-by: Karel Zak <kzak@redhat.com>
include/pidfd-utils.h