Page MenuHomeFreeBSD

Add SOL_LOCAL symbolic constant for unix socket option level.
ClosedPublic

Authored by kib on Aug 3 2020, 5:07 PM.
Tags
None
Referenced Files
F151135901: D25933.id75333.diff
Mon, Apr 6, 8:13 AM
F151090338: D25933.id75333.diff
Sun, Apr 5, 11:07 PM
Unknown Object (File)
Mon, Mar 30, 5:47 PM
Unknown Object (File)
Mon, Mar 30, 11:43 AM
Unknown Object (File)
Sun, Mar 29, 1:08 PM
Unknown Object (File)
Thu, Mar 19, 3:32 AM
Unknown Object (File)
Wed, Mar 18, 1:51 PM
Unknown Object (File)
Wed, Mar 18, 10:09 AM

Details

Summary

The constant seems to exists on MacOS X >= 10.8.

Requested by: swills

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 32725

Event Timeline

kib requested review of this revision.Aug 3 2020, 5:07 PM

I did not added uses to contrib sources, i.e. tests, bsnmpd, and heimdal.

Thanks! I noticed SOL_SOCKET is in socket.h, so I'm not sure if SOL_SOCKET and SOL_LOCAL should be in the same file or not. Looks fine either way to me.

allanjude added a subscriber: allanjude.

Reviewed By: allanjude

This revision is now accepted and ready to land.Aug 3 2020, 8:52 PM

Thanks! I noticed SOL_SOCKET is in socket.h, so I'm not sure if SOL_SOCKET and SOL_LOCAL should be in the same file or not. Looks fine either way to me.

MacOS provides it in sys/un.h.