NetBSD/sys/nfs
hannken e49191eb15 Return an error if NFSPROC_LOOKUP returns the file handle of the current
directory.  Treating it as DOT lookup would put garbage into the name
cache and could panic on future lookups.

Seen with ZFS file system exported from OmniOS, an OpenSolaris derivative.

Fixes PR kern/50664 "cd .." over NFS/ZFS can panic kernel
2016-01-19 10:56:59 +00:00
..
files.nfs
krpc_subr.c
krpc.h
Makefile
nfs_bio.c
nfs_boot.c
nfs_bootdhcp.c
nfs_bootparam.c
nfs_bootstatic.c
nfs_clntsocket.c
nfs_clntsubs.c
nfs_export.c
nfs_iod.c
nfs_kq.c
nfs_node.c
nfs_serv.c
nfs_socket.c
nfs_srvcache.c
nfs_srvsocket.c
nfs_srvsubs.c
nfs_subs.c
nfs_syscalls.c
nfs_var.h
nfs_vfsops.c
nfs_vnops.c
nfs.h
nfsdiskless.h
nfsm_subs.h
nfsmount.h
nfsnode.h
nfsproto.h
nfsrtt.h
nfsrvcache.h
rpcv2.h
xdr_subs.h