freebsd-dev/sys
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
..
amd64 MFC r206992: 2010-04-27 10:50:09 +00:00
arm MFC r206053, r206054: 2010-04-15 12:30:46 +00:00
boot MFC r206625: 2010-04-26 17:03:56 +00:00
bsm Merge r197624 from head to stable/8: 2009-12-14 00:15:56 +00:00
cam This is an MFC of 205252. 2010-04-24 23:10:13 +00:00
cddl MFC r203504,r204067,r204073,r204101,r204804,r205079,r205080,r205132,r205133, 2010-04-18 21:36:34 +00:00
compat Regen. 2010-04-07 14:53:49 +00:00
conf MFC: r204773 2010-04-26 20:55:03 +00:00
contrib MFC: r204773 2010-04-26 20:55:03 +00:00
crypto Changed to M_NOWAIT when reallocing psc_buf in padlock_sha_update(), 2009-05-27 09:52:12 +00:00
ddb MFC r199355: 2009-12-19 12:06:12 +00:00
dev MFC 206662: Cleanup if_media handling in mxge(4) 2010-04-27 15:38:58 +00:00
fs MFC: r206880 2010-04-27 01:00:22 +00:00
gdb
geom MFC r206859: 2010-04-26 16:20:18 +00:00
gnu MFC a number of changes from head for ISP (203478,203463,203444,202418,201758, 2010-02-11 18:34:06 +00:00
i386 MFC r206625: 2010-04-26 17:03:56 +00:00
ia64 MFC r205014,205015: 2010-04-07 02:24:41 +00:00
isa MFC x86emu/x86bios emulator and make previously i386 only dpms and vesa 2010-03-02 01:56:55 +00:00
kern MFC r206547: 2010-04-27 10:47:54 +00:00
kgssapi When the KOBJMETHOD() macro was updated, it resulted in the 2009-06-14 17:33:46 +00:00
libkern MFC r199208, r199223: 2009-11-22 16:04:49 +00:00
mips MFC rev 198341 and 198342: 2010-03-31 02:43:58 +00:00
modules MFC: r204773 2010-04-26 20:55:03 +00:00
net MFC r206637: 2010-04-28 00:49:24 +00:00
net80211 MFC r205140: 2010-04-17 23:48:07 +00:00
netatalk Merge r196121 from head to stable/8: 2009-08-13 14:50:39 +00:00
netgraph MFC r206021, r206032, r206049, r206050: 2010-04-15 12:46:16 +00:00
netinet MFC 206452: 2010-04-27 13:50:15 +00:00
netinet6 MFC 206454: 2010-04-27 13:27:51 +00:00
netipsec MFC r205789: 2010-04-02 17:48:01 +00:00
netipx Use queue(9) instead of hand-crafted link lists for the global IPX 2009-06-24 20:57:50 +00:00
netnatm Reimplement the netisr framework in order to support parallel netisr 2009-06-01 10:41:38 +00:00
netncp
netsmb Rework socket upcalls to close some races with setup/teardown of upcalls. 2009-06-01 21:17:03 +00:00
nfs MFC: r203731 2010-03-30 19:52:45 +00:00
nfsclient MFC: r203731 2010-03-30 19:52:45 +00:00
nfsserver MFC: r205661 2010-04-09 01:14:39 +00:00
nlm MFC: revision 197730 2009-10-07 14:14:05 +00:00
opencrypto MFC r201898: 2010-01-17 13:36:13 +00:00
pc98 MFC r206421: 2010-04-24 00:49:19 +00:00
pci MFC r206436: 2010-04-14 01:22:33 +00:00
powerpc MFC r204694,204719,205370 2010-04-01 13:27:27 +00:00
rpc MFC: r205562 2010-04-06 23:03:20 +00:00
security MFC r201438: 2010-03-27 15:05:06 +00:00
sparc64 MFC: r206086 2010-04-05 18:25:30 +00:00
sun4v MFC rev 198341 and 198342: 2010-03-31 02:43:58 +00:00
sys MFC r205345: 2010-04-21 19:45:41 +00:00
tools MFC: Allow KMOD with hypens and dots. 2009-11-02 09:47:15 +00:00
ufs MFC r202971: 2010-04-19 18:22:21 +00:00
vm MFC r206409 2010-04-14 16:31:59 +00:00
xdr MFC r196149: 2009-08-12 20:30:27 +00:00
xen MFC a number of changes from head for ISP (203478,203463,203444,202418,201758, 2010-02-11 18:34:06 +00:00
Makefile Remove the unmaintained University of Michigan NFSv4 client from 8.x 2009-05-22 12:35:12 +00:00