freebsd-src/sys
Attilio Rao 023c800576 The building the dev nameunit string, in devclass_add_device() is based
on the assumption that the unit linked with the device is invariant but
that can change when calling devclass_alloc_unit() (because -1 is passed
or, more simply, because the unit choosen is beyond the table limits).
This results in a completely bogus string building.

Fix this by reserving the necessary room for all the possible characters
printable by a positive integer (we do not allow for negative unit
number).

Reported by:	Sandvine Incorporated
Reviewed by:	emaste
Sponsored by:	Sandvine Incorporated
MFC:		1 week
2009-11-12 00:52:14 +00:00
..
amd64 reflect that pg_ps_enabled is a tunable, not just a read-only sysctl 2009-11-11 14:21:31 +00:00
arm Extract the code that records syscall results in the frame into MD 2009-11-10 11:43:07 +00:00
boot - Remove trailing ";" after if statement 2009-11-11 19:39:45 +00:00
bsm
cam MFp4: 2009-11-11 11:10:36 +00:00
cddl Be careful which vattr fields are set during setattr replay. 2009-11-10 22:27:33 +00:00
compat Fix typo in kernel message. The fix is based upon the patch in the PR. 2009-11-05 07:37:48 +00:00
conf Move inet_aton() (specular to inet_ntoa(), already present in libkern) 2009-11-12 00:46:28 +00:00
contrib Fix two memory leaks in error cases. 2009-11-05 16:30:16 +00:00
crypto
ddb Put square backets ([]) around process names for system processes to patch 2009-10-01 19:12:14 +00:00
dev More consistent whitespace. 2009-11-11 20:29:40 +00:00
fs Create verifier used by FreeBSD NFS client is suboptimal because the 2009-11-11 15:43:07 +00:00
gdb
geom Fix handling of GPT headers when size is > 92 bytes. 2009-11-07 17:29:03 +00:00
gnu File flags handling fixes for ext2fs: 2009-11-05 04:51:38 +00:00
i386 reflect that pg_ps_enabled is a tunable, not just a read-only sysctl 2009-11-11 14:21:31 +00:00
ia64 Extract the code that records syscall results in the frame into MD 2009-11-10 11:43:07 +00:00
isa Remove duplicate suspend/resume code from vga_pci.c and let vga(4) register 2009-11-06 20:32:26 +00:00
kern The building the dev nameunit string, in devclass_add_device() is based 2009-11-12 00:52:14 +00:00
kgssapi
libkern Move inet_aton() (specular to inet_ntoa(), already present in libkern) 2009-11-12 00:46:28 +00:00
mips Extract the code that records syscall results in the frame into MD 2009-11-10 11:43:07 +00:00
modules Driver for the Apple Touchpad present on MacBook (non-Pro & Pro). 2009-11-09 15:59:09 +00:00
net Add interface description capability as inspired by OpenBSD. 2009-11-11 21:30:58 +00:00
net80211 Remove trailing ";" in struct ieee80211_beacon_offsets declaration 2009-11-11 15:00:56 +00:00
netatalk
netgraph Take a step towards removing if_watchdog/if_timer. Don't explicitly set 2009-11-06 14:55:01 +00:00
netinet Move inet_aton() (specular to inet_ntoa(), already present in libkern) 2009-11-12 00:46:28 +00:00
netinet6 CURVNET_RESTORE() was not called in certain cases. 2009-11-11 08:28:18 +00:00
netipsec
netipx
netnatm
netncp
netsmb
nfs
nfsclient Close a race with caching of -ve name lookups in the NFS client. 2009-10-16 19:30:48 +00:00
nfsserver
nlm Handle GRANTED_RES messages more gracefully: Send along a grant cookie 2009-10-07 19:50:14 +00:00
opencrypto
pc98 Allow Syscons terminal emulators to provide function key strings. 2009-11-11 08:20:19 +00:00
pci
powerpc Extract the code that records syscall results in the frame into MD 2009-11-10 11:43:07 +00:00
rpc Add a check for the connection being shut down to the krpc 2009-11-08 19:02:13 +00:00
security
sparc64 Extract the code that records syscall results in the frame into MD 2009-11-10 11:43:07 +00:00
sun4v Extract the code that records syscall results in the frame into MD 2009-11-10 11:43:07 +00:00
sys Add interface description capability as inspired by OpenBSD. 2009-11-11 21:30:58 +00:00
teken Place home and end before insert and delete. 2009-11-11 09:43:26 +00:00
tools Output a comment on top of each generated file explaining where it came 2009-10-25 09:48:21 +00:00
ufs
vm Eliminate an unnecessary #include. (This #include should have been removed 2009-11-04 03:12:56 +00:00
xdr
xen
Makefile