Do not allow '.' or '..' to be specified as the last path component when
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 27 Dec 2004 20:30:03 +0000 (20:30 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 27 Dec 2004 20:30:03 +0000 (20:30 +0000)
commitf4d4e93a5d709cc6c3ee5259ac4b21ec25f04393
tree7d3bc41930399a7d7273f5055456686ae560f6d9
parent881476474aecda0068c43844c34c01092721149a
Do not allow '.' or '..' to be specified as the last path component when
removing a directory, as per SUSv3. i

Note also that PAX stupidly depends on this to operate correctly.

Reported-by: Hiroki Sato <hrs@allbsd.org>
sys/kern/vfs_nlookup.c