freebsd-skq/sys
Jeff Roberson 24b50116ed - Introduce a new macro, since that's what nfs loves, called
nfsm_srvpathsiz.  This macro plucks a length out of an rpc request and
   verifies that its size does not exceed NFS_MAXPATHLEN.  If it does
   it generates an ENAMETOOLONG response.
 - Use this macro, and the existing nfsm_srvnamsiz macro in two places
   where we deal with paths passed in by the client.

This fixes a linux interoperability bug.  Linux was sending oversized path
components which would cause us to ignore the request all together.  This
causes linux to hang indefinitly while it waits for a response.  This
could still happen in other cases where we error out with EBADRPC.

Sponsored by:	Isilon Systems, Inc.
Reviewed by:	alfred, fabbri@isilon.com, neal@isilon.com
2002-10-31 22:35:03 +00:00
..
alpha Remove extranious memory barriers, and correct the placement of a few others. 2002-10-30 01:41:44 +00:00
amd64 Note that the sched_lock protects md_ldt of struct mdproc. 2002-10-25 20:06:16 +00:00
arm Add standards visibility conditionals. Change any uses of sigset_t to 2002-10-13 00:31:46 +00:00
boot o Fix a size calculation based on a 8KB page, while under EFI 2002-10-24 07:53:12 +00:00
cam * Add CDRIOC{READ,WRITE}SPEED ioctls to cd(4). Units are in KB/sec. 2002-10-18 22:03:39 +00:00
coda Back our kernel support for reliable signal queues. 2002-10-01 17:15:53 +00:00
compat Remove the process state PRS_WAIT. 2002-10-21 22:27:36 +00:00
conf Make geom_mbr.c optional on PC98, use GEOM_MBR option to include it. 2002-10-26 20:17:59 +00:00
contrib Replace aux mbufs with packet tags: 2002-10-16 01:54:46 +00:00
crypto Don't panic when we can just return an error code. 2002-10-14 11:21:05 +00:00
ddb - Rename the DDB specific %z printf format to %y. 2002-10-25 19:41:32 +00:00
dev Don't examine ACPI_STA_ENABLE bit of device's_STA object on initial 2002-10-31 20:43:02 +00:00
fs Fix winChkName() to match when the last slot contains nothing but the 2002-10-29 01:03:44 +00:00
geom Spruce up bootverbose output a bit. 2002-10-31 22:18:49 +00:00
gnu MFufs 1.33: 2002-10-18 21:41:41 +00:00
i4b Don't include the depricated "bpf.h" and always compile in bpf support 2002-10-21 05:05:43 +00:00
i386 Handle hints for the atspeaker device. 2002-10-28 02:00:09 +00:00
ia64 Don't pass the return address to exception_save in register b0. Use 2002-10-30 07:58:11 +00:00
isa Fix compile with options SC_NO_SUSPEND_VTYSWITCH. 2002-10-17 16:09:13 +00:00
isofs/cd9660 Fix comments and one resulting code confusion about the type of the 2002-10-16 08:04:11 +00:00
kern KSE-enabled processes only. 2002-10-31 08:00:51 +00:00
libkern Slight overhaul of arc4random() and friends. 2002-10-11 13:13:08 +00:00
modules Add an isp(4) module. sbus support is only compiled in on sparc64. 2002-10-31 19:50:18 +00:00
net Don't check IFF_RUNNING in previous change. 2002-10-25 17:31:03 +00:00
netatalk Add more ethernet types and move AppleTalk types into proper location. 2002-09-06 17:02:29 +00:00
netatm Add a field to struct cmn_unit to hold a pointer to the driver's softc. 2002-10-01 22:04:31 +00:00
netgraph Finally get around to committing Bill Paul's FEC netgraph nodes. 2002-10-29 19:12:44 +00:00
netinet Don't need to check if SO_OOBINLINE is defined. 2002-10-30 08:32:19 +00:00
netinet6 plugged memory leakage in some erroneous cases 2002-10-31 19:45:48 +00:00
netipsec "Fast IPsec": this is an experimental IPsec implementation that is derived 2002-10-16 02:10:08 +00:00
netipx Replace aux mbufs with packet tags: 2002-10-16 01:54:46 +00:00
netkey
netnatm Be consistent about functions being static. 2002-10-16 09:19:17 +00:00
netncp Change iov_base's type from char *' to the standard void *'. All 2002-10-11 14:58:34 +00:00
netns Use m_length() instead of home-rolled versions. 2002-09-18 19:44:14 +00:00
netsmb Some kernel threads try to do significant work, and the default KSTACK_PAGES 2002-10-02 07:44:29 +00:00
nfs Change iov_base's type from char *' to the standard void *'. All 2002-10-11 14:58:34 +00:00
nfsclient Don't examine an un-initialized variable. 2002-10-20 21:52:05 +00:00
nfsserver - Introduce a new macro, since that's what nfs loves, called 2002-10-31 22:35:03 +00:00
opencrypto Module-ize the 'core' crypto stuff. This may still need to be compiled 2002-10-16 14:31:34 +00:00
pc98 Enable GEOM by default. 2002-10-31 12:14:05 +00:00
pccard MFp4: Comment about not assuming INTA# for 6729 2002-10-07 07:02:48 +00:00
pci Don't take out the rl_mtx lock in the attach routine. The only way 2002-10-29 19:02:19 +00:00
posix4 Change the way support for asynchronous I/O is indicated to applications 2002-10-27 18:07:41 +00:00
powerpc Split 4.x and 5.x signal handling so that we can keep 4.x signal 2002-10-25 19:10:58 +00:00
rpc
security Move to C99 sparse structure initialization for the mac_policy_ops 2002-10-30 18:48:51 +00:00
sparc64 Don peril sensitive sun glasses and change the default system call vector 2002-10-27 17:22:43 +00:00
sys Move to C99 sparse structure initialization for the mac_policy_ops 2002-10-30 18:48:51 +00:00
tools - Move ASSERT_VOP_*LOCK* functionality into functions in vfs_subr.c 2002-09-26 04:48:44 +00:00
ufs Implement the new 1003.1-2001 pathconf() keys, including the Advisory 2002-10-27 18:09:49 +00:00
vm Merge from MAC tree: rename mac_check_vnode_swapon() to 2002-10-27 06:54:06 +00:00
Makefile