svn commit: r312988 - in head/sys: compat/cloudabi compat/linux kern sys
Gleb Smirnoff
glebius at FreeBSD.org
Mon Jan 30 23:02:02 UTC 2017
On Mon, Jan 30, 2017 at 12:57:23PM +0000, Edward Tomasz Napierala wrote:
E> Author: trasz
E> Date: Mon Jan 30 12:57:22 2017
E> New Revision: 312988
E> URL: https://svnweb.freebsd.org/changeset/base/312988
E>
E> Log:
E> Add kern_listen(), kern_shutdown(), and kern_socket(), and use them
E> instead of their sys_*() counterparts in various compats. The svr4
E> is left untouched, because there's no point.
Btw, any good reasons to keep SVR4 support for FreeBSD 12?
I recently reviewed some socket code and noticed, that having SVR4-compatible
sockets we need COMPAT_OLDSOCK to be compiled in, which isn't in GENERIC, of
course. Thus doing just 'kldload svr4' on GENERIC won't allow to create
SVR4 compatible sockets. Not even mentioning that COMPAT_OLDSOCK is probably
broken since nobody needs it and it has no regression tests.
--
Totus tuus, Glebius.
More information about the svn-src-head
mailing list