On Sun, Jul 24, 2016 at 10:10:09AM +0000, Gleb Smirnoff wrote:
T> Author: glebius
T> Date: Sun Jul 24 10:10:09 2016
T> New Revision: 303263
T> URL: https://svnweb.freebsd.org/changeset/base/303263
T> 
T> Log:
T>   Partially revert r257696/r257713, which have an issue with writing to user
T>   controlled address. Restore the old code that emulated OSIOCGIFCONF in 
if.c.
T>   
T>   Noticed by:        C Turt

I believe no one on the planet uses compat_svr4, but better fix it for
11.0-RELEASE, since too late to remove it.

Note that SVR4_SIOCGIFCONF actually won't work for FreeBSD 10.x, if
you load in compat_svr4.ko, since it depends on COMPAT_43 functionality
compiled in kernel, which isn't case for i386 GENERIC.

Of course the change wasn't tested, since I don't know how to produce
or where to take an SVR4 binary that does something useful with
SVR4_SIOCGIFCONF.

-- 
Totus tuus, Glebius.
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to