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)
Fri, Dec 6, 10:39 PM
Unknown Object (File)
Wed, Dec 4, 3:41 PM
Unknown Object (File)
Oct 22 2024, 2:03 AM
Unknown Object (File)
Oct 17 2024, 10:19 AM
Unknown Object (File)
Oct 16 2024, 5:10 AM
Unknown Object (File)
Oct 16 2024, 12:01 AM
Unknown Object (File)
Oct 14 2024, 6:44 PM
Unknown Object (File)
Oct 4 2024, 9:10 PM
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

Lint
Lint Skipped
Unit
Tests Skipped

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.