NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/57952 (dhcpcd(8) inexplicably terminated in the night)



The following reply was made to PR bin/57952; it has been noted by GNATS.

From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/57952 (dhcpcd(8) inexplicably terminated in the night)
Date: Fri, 23 Feb 2024 10:19:12 -0000 (UTC)

 roy%marples.name@localhost (Roy Marples) writes:
 
 >Does that work when the process is locked down so it can't create new files?
 >https://github.com/NetworkConfiguration/dhcpcd/blob/master/src/privsep.c#L146
 
 RLIMIT_NOFILE restricts file descriptors. Dumping core doesn't use
 file descriptors. You would need RLIMIT_CORE to restrict the size
 of the core dump (if too large, no core is dumped).
 
 You still need a writable path in the chroot.
 


Home | Main Index | Thread Index | Old Index