]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
privsep: Fix valgrind and hardened-malloc on Linux with SECCOMP
authorRoy Marples <roy@marples.name>
Tue, 15 Apr 2025 09:29:11 +0000 (10:29 +0100)
committerRoy Marples <roy@marples.name>
Tue, 15 Apr 2025 09:29:11 +0000 (10:29 +0100)
commit0f62fdd014e497da69723087c6b4ba50933553ab
treea424ada2d896a0f9b63b3e92a5c6fabb0652f0ce
parent4db8dddf513bc15f1dc139410af8130d506e5a0c
privsep: Fix valgrind and hardened-malloc on Linux with SECCOMP

Valgrind will still error by default at exit as the syscall to
unlink the pipe files is denied.
This can be avoided by compiling with -DVALGRIND.
The pipe files still won't be removed as dhcpcd has
already dropped to the non root user.
This is a Vagrind issue really.

hardened-malloc should now run as well as their documented syscalls
are now allowed by default.

Fixes #497.
BUILDING.md
src/privsep-linux.c