freebsd-dev/share
Xin LI 57d848483e 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
MFC after:	2 weeks
2010-04-14 22:02:19 +00:00
..
colldef Add lv_LV, move lt_LT to common part 2009-09-03 16:53:11 +00:00
dict Add "Massachusetts". 2010-03-17 15:31:06 +00:00
doc Move USD documents from /usr/share/doc/papers to to /usr/share/doc/usd. 2010-01-22 23:19:48 +00:00
examples indent.pro example: put all options one per line 2010-04-05 09:26:03 +00:00
info
man When an underlying ioctl(2) handler returns an error, our ioctl(2) 2010-04-14 22:02:19 +00:00
me
misc - Add an entry for myself to committers-ports.dot 2010-04-12 23:47:29 +00:00
mk WITH_CTF can now be specified in src.conf (not recommended, there 2010-04-02 06:55:31 +00:00
mklocale Add lv_LV, move lt_LT to common part 2009-09-03 17:12:45 +00:00
monetdef Last character is a space for the international currency symbol. 2009-09-13 22:17:23 +00:00
msgdef Add lv_LV 2009-09-04 06:19:37 +00:00
numericdef Add lv_LV 2009-09-03 17:37:23 +00:00
security Remove stale references to utmp(5) and its corresponding filenames. 2010-01-21 17:25:12 +00:00
sendmail Dont install .svn metadata with the sendmail install. 2008-05-31 19:15:15 +00:00
skel Switch the default terminal emulation style to xterm for most platforms. 2009-11-13 05:54:55 +00:00
snmp
syscons Add missing newline in last line of file. 2010-02-16 09:10:21 +00:00
tabset
termcap Properly make the end key work again for TERM=xterm. 2010-01-10 21:41:37 +00:00
timedef Since %b contains unit, %b is not suitable for c_fmt, now. Use %_m 2009-11-14 15:56:23 +00:00
zoneinfo Officially speaking, the zoneinfo data files are contributed data. 2010-02-25 06:44:16 +00:00
Makefile Whitespace nit 2008-10-08 13:20:02 +00:00
Makefile.inc