]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
privsep: allow __NR_clock_gettime32 syscall (#254)
authorOleg Lyovin <ovlevin@sberdevices.ru>
Mon, 16 Oct 2023 16:59:00 +0000 (19:59 +0300)
committerGitHub <noreply@github.com>
Mon, 16 Oct 2023 16:59:00 +0000 (17:59 +0100)
commit52f1b730a8c25c2779fa01736575a494c3800d8c
treec99eb88bac89970e93eee6d343c3c0e7e03345a1
parent6ada94b8561f3e96fdd84d445a2dcbed7c8c9a5f
privsep: allow __NR_clock_gettime32 syscall (#254)

musl libc doesn't have __NR_clock_gettime definition,
but has __NR_clock_gettime32. clock_gettime implementation
fallbacks to 32-bit version if 64-bit is not supported by the kernel.

Signed-off-by: Oleg Lyovin <ovlevin@sberdevices.ru>
src/privsep-linux.c