freebsd-dev/share
Xin LI 0919a8fb99 MFC r206637:
When an underlying ioctl(2) handler returns an error, our ioctl(2)
interface considers that it hits a fatal error, and will not copyout
the request structure back for _IOW and _IOWR ioctls, keeping them
untouched.

The previous implementation of the SIOCGIFDESCR ioctl intends to
feed the buffer length back to userland.  However, if we return
an error, the feedback would be defeated and ifconfig(8) would
trap into an infinite loop.

This commit changes SIOCGIFDESCR to set buffer field to NULL to
indicate the previous ENAMETOOLONG case.

Reported by:	bschmidt
2010-04-28 00:49:24 +00:00
..
colldef Croatian locale support for hr_HR.ISO8859-2 2009-06-10 21:55:38 +00:00
dict Correct typos containing my login name (plus one more in expr.y). 2007-02-18 19:48:59 +00:00
doc Add the KNOWN-DEFECTS file back in for the 9.6.1 release. 2009-06-25 20:09:53 +00:00
examples MFC r206996: indent.pro example: actually install the sample file 2010-04-23 15:24:56 +00:00
info
man MFC r206637: 2010-04-28 00:49:24 +00:00
me
misc Merge rev. 199181 to 8.x-STABLE: 2009-11-25 11:23:44 +00:00
mk MFC r205702: 2010-03-29 18:24:08 +00:00
mklocale Fix printing of some wide-characters by iswprint() on ja_JP.eucJP 2009-06-12 23:15:36 +00:00
monetdef Add euro symbol to pt_PT locale using other encodings 2009-06-10 22:09:40 +00:00
msgdef add ca_AD, ca_FR and ca_IT locales 2009-06-10 12:20:11 +00:00
numericdef add ca_AD, ca_FR and ca_IT locales 2009-06-10 12:20:11 +00:00
security
sendmail Dont install .svn metadata with the sendmail install. 2008-05-31 19:15:15 +00:00
skel Add explicit test so that non-existence of /usr/games/fortune 2009-03-27 21:13:14 +00:00
snmp Define a base OID for the FreeBSD version as returned in sysObjectID 2006-10-31 10:09:10 +00:00
syscons Add various new keymaps: 2009-06-12 22:53:49 +00:00
tabset
termcap Add missing passthrough printing entries for VT100 and workalikes 2009-06-14 07:02:50 +00:00
timedef MFC r199179, r199271: 2009-11-22 17:25:11 +00:00
zoneinfo MFC of tzdata2010i, r206868 2010-04-19 21:01:24 +00:00
Makefile Whitespace nit 2008-10-08 13:20:02 +00:00
Makefile.inc