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
F105785518: D12826.diff
Fri, Dec 20, 4:21 PM
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
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.