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
F110701828: D25933.diff
Sat, Feb 22, 2:06 AM
Unknown Object (File)
Sun, Feb 2, 2:38 AM
Unknown Object (File)
Tue, Jan 28, 2:48 AM
Unknown Object (File)
Mon, Jan 27, 1:58 PM
Unknown Object (File)
Sat, Jan 25, 7:32 PM
Unknown Object (File)
Thu, Jan 23, 10:30 AM
Unknown Object (File)
Nov 30 2024, 3:23 PM
Unknown Object (File)
Nov 16 2024, 2:42 PM

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 Not Applicable
Unit
Tests Not Applicable

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.