Page MenuHomeFreeBSD

Disable libc try to close a stdio in dhclient.
ClosedPublic

Authored by oshogbo on Oct 29 2017, 3:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 7, 11:56 PM
Unknown Object (File)
Dec 23 2023, 11:02 AM
Unknown Object (File)
Dec 22 2023, 11:24 PM
Unknown Object (File)
Sep 4 2023, 11:10 PM
Unknown Object (File)
Sep 4 2023, 11:09 PM
Unknown Object (File)
Sep 4 2023, 11:09 PM
Unknown Object (File)
Aug 30 2023, 10:47 AM
Unknown Object (File)
Aug 26 2023, 3:27 AM
Subscribers
None

Details

Summary

We are chrooted so opening /dev/null always will fail.
The code below the Damon is closing those descriptors so there is no point to do try that here.

This is annoying for me because I'm running machine with kern.trap_enotcap, and dhclient fails on opening /dev/null.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Oct 29 2017, 4:04 PM
This revision was automatically updated to reflect the committed changes.