Is AF_UNIX really deprecated?

Garrett Wollman wollman at csail.mit.edu
Thu Jun 19 16:16:32 UTC 2014


<<On Thu, 19 Jun 2014 13:47:43 +0800, Kevin Lo <kevlo at FreeBSD.org> said:

> IEEE Std 1003.1g-2000 and later POSIX standards [1] do not include
> AF_LOCAL and mention only AF_UNIX, but according to socket(2) man page it
> mentions AF_UNIX is deprecated, use AF_LOCAL instead.

> I'd like to add support -f local to netstat(1), I'm wondering if AF_UNIX
> is really deprecated.

AF_UNIX was deprecated in 4.4BSD (or maybe 4.3-net/2) due to issues
with the Unix trademark.  However, POSIX standardized it anyway (much
later), and since POSIX standardization is now handled by the
organization that owns the Unix trademark this is probably no longer
an issue.

-GAWollman



More information about the freebsd-standards mailing list