NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/50664: "cd .." over NFS/ZFS can panic kernel



The following reply was made to PR kern/50664; it has been noted by GNATS.

From: Brian Marcotte <marcotte%panix.com@localhost>
To: "J. Hannken-Illjes" <hannken%eis.cs.tu-bs.de@localhost>
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
	netbsd-bugs%netbsd.org@localhost, gnats-bugs%NetBSD.org@localhost
Subject: Re: kern/50664: "cd .." over NFS/ZFS can panic kernel
Date: Mon, 18 Jan 2016 07:07:51 -0500

 >  What prints this diff?
 
 # cd /net/u
 # ls -la
 lookup "1"
 dvp 0xc17e0dd0 newvp 0xc17e0bc0 OTHER
 lookup "2"
 dvp 0xc17e0dd0 newvp 0xc17e0b10 OTHER
 lookup "dir"
 dvp 0xc17e0dd0 newvp 0xc17e0a60 OTHER
 lookup "3"
 dvp 0xc17e0dd0 newvp 0xc17e09b0 OTHER
 lookup "4"
 dvp 0xc17e0dd0 newvp 0xc17e0900 OTHER
 total 5
 drwxr-xr-x  3 root  wheel    7 Jan 18 06:19 .
 drwxr-xr-x  3 root  wheel  512 Jan 17 07:36 ..
 -rw-r--r--  1 root  wheel    0 Jan 17 08:31 1
 -rw-r--r--  1 root  wheel    0 Jan 17 08:31 2
 -rw-r--r--  1 root  wheel    0 Jan 17 08:31 3
 -rw-r--r--  1 root  wheel    0 Jan 17 08:31 4
 drwxr-xr-x  2 root  wheel    2 Jan 18 06:19 dir
 # cd dir
 # ls -la
 lookup ".."
 dvp 0xc17e0a60 newvp 0xc17e0dd0 DOTDOT
 total 1
 drwxr-xr-x  2 root  wheel  2 Jan 18 06:19 .
 drwxr-xr-x  3 root  wheel  7 Jan 18 06:19 ..
 # cd ..
 # cd .zfs
 lookup ".zfs"
 dvp 0xc17e0dd0 newvp 0xc17e0850 OTHER
 # cd shares
 lookup "shares"
 dvp 0xc17e0850 newvp 0xc17e07a0 OTHER
 # cd ..
 lookup ".."
 dvp 0xc17e07a0 newvp 0xc17e07a0 DOT
 Reader / writer lock error: rw_vector_enter: locking against myself
 
 --
 - Brian
 



Home | Main Index | Thread Index | Old Index