Go to file
reinoud 6e09afa9be vfs_mountedon() can only and only handle special device nodes and will
otherwise generate an UVM trap or will access random memory. This is due to
the dereference of vp->v_specmountpoint that is really
vp->v_specinfo->si_mountpoint. The field v_specinfo is multiplexed with
other structs in the vun union in struct vnode like struct socket.

The patch adds a sanity check for accessing the specinfo fields by only
allowing VBLK nodes to be passed. In theory also VCHR could be valid since
its also a special node though mounting is only done on VBLK so be strict.

Ok'd by yamt.
2006-01-18 14:26:55 +00:00
bin Start 'You have mail in' with a capital Y. 2006-01-15 18:16:30 +00:00
common change DEBUG to ZLIB_DEBUG. 2006-01-16 17:02:29 +00:00
crypto make software behave as the documentation advertise for INTERNAL_NETMASK4. 2006-01-07 23:51:50 +00:00
dist xref named.conf(5) after a complaint from tiocsti. okay veego@. 2006-01-16 19:20:15 +00:00
distrib Instead of abusing the function md_prep_label(), create a new (optional) 2006-01-18 13:39:05 +00:00
doc Note the removal of the tb(4) driver which happened on past December 20th. 2006-01-17 19:14:45 +00:00
etc Add /libdata, /libdata/firmware, and /usr/libdata/firmware directories. 2006-01-17 06:58:28 +00:00
games Simplify error checking. 2005-11-19 18:01:42 +00:00
gnu Two special files that both refer to the same device should be treated 2006-01-14 09:18:17 +00:00
include Fix comment indentation after __P was deleted. 2006-01-11 22:50:35 +00:00
lib C versions of non-IEEE round() / roundf(). Alas, using the VAX 2006-01-17 13:16:08 +00:00
libexec Bring across a change from FreeBSD from back in 1998: 2006-01-12 22:40:17 +00:00
regress Moved to interface/interface.c 2005-12-25 22:24:57 +00:00
rescue lmcctl has been replaced by lmcconfig. 2005-12-06 14:02:58 +00:00
sbin Add '-V' to usage output. 2006-01-16 21:34:41 +00:00
share Document "pf" postscript filter capability 2006-01-17 19:16:51 +00:00
sys vfs_mountedon() can only and only handle special device nodes and will 2006-01-18 14:26:55 +00:00
tools Add a tweak for ews4800mips/include/disklabel.h, 2005-12-29 15:35:19 +00:00
usr.bin sync usage(). 2006-01-15 16:50:05 +00:00
usr.sbin per PR bin/12958 change buf[MAXPATHLEN] to buf[BUFSIZ] to avoid potential 2006-01-17 19:41:49 +00:00
x11 Add support for Xews4800mips under src/x11. 2005-12-29 15:52:20 +00:00
BUILDING Bump date for syspkgs. 2006-01-12 21:22:30 +00:00
Makefile Add a new "syspkgs" target, which simply chains to the "syspkgs" target 2006-01-04 15:30:02 +00:00
Makefile.inc don't set KERNSRCDIR here; pull in <bsd.kernobj.mk> if you need it 2002-04-10 14:53:43 +00:00
UPDATING note about conf/std. 2005-10-03 04:45:52 +00:00
build.sh Use separate invocations of make for cleandir dependall and install of 2006-01-08 11:03:40 +00:00