freebsd-skq/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 Add audit events for process descriptor system calls, which will appear in 2009-09-29 21:25:59 +00:00
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 Changed to M_NOWAIT when reallocing psc_buf in padlock_sha_update(), 2009-05-27 09:52:12 +00:00
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 When the KOBJMETHOD() macro was updated, it resulted in the 2009-06-14 17:33:46 +00:00
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 Reverse misordered unlock and lock in at_control for netatalk phase I 2009-08-12 10:44:13 +00:00
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 Changed an IPSEC_ASSERT to a simple test, as such invalid packets 2009-10-01 15:33:53 +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 Don't print out a message on loading a module. 'kldload -v' and 'kldstat 2009-09-10 18:33:08 +00:00
nfs Revert rev 192323 (nfs_common.c only): 2009-07-12 03:53:52 +00:00
nfsclient Close a race with caching of -ve name lookups in the NFS client. 2009-10-16 19:30:48 +00:00
nfsserver Ensure that tv_sec is between INT32_MIN and INT32_MAX, so ZFS won't object. 2009-09-26 18:23:16 +00:00
nlm Handle GRANTED_RES messages more gracefully: Send along a grant cookie 2009-10-07 19:50:14 +00:00
opencrypto If crypto operation is finished with EAGAIN, don't repeat operation from 2009-09-04 09:48:18 +00:00
pc98 Allow Syscons terminal emulators to provide function key strings. 2009-11-11 08:20:19 +00:00
pci intpm/sb700: force polling mode if configured interrupt is SMI 2009-09-19 08:56:28 +00:00
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 Having thrown the cat out of the house, add a necessary include. 2009-09-08 13:24:36 +00:00
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 Don't build ufs_gjournal.c at all if UFS_GJOURNAL option is not given 2009-09-22 16:22:05 +00:00
vm Eliminate an unnecessary #include. (This #include should have been removed 2009-11-04 03:12:56 +00:00
xdr Add a check for a NULL mbuf ptr at the beginning of xdrmbuf_inline() 2009-08-12 16:27:51 +00:00
xen Temporarily revert the new-bus locking for 8.0 release. It will be 2009-08-20 19:17:53 +00:00
Makefile