In message <[EMAIL PROTECTED]>, Matthew Dillon wri
tes:
>    Ok, cool.  I'll get the commit gears started for the 
>    first part of the patch.

FYI, I was able to reproduce this and confirm that the first part
of your patch fixes it. All that it takes is for the mknod to fail
because the name already exists, but normally this is masked by the
client because it does an NFSPROC_ACCESS RPC first.

Another nasty bug in nfsrv_mknod that I just spotted is that it
doesn't override the S_IFMT bits of the file mode supplied by the
client. It should be completely ignoring those bits, and using only
the node-type it has in the `vtyp' variable. I just managed to
create a node that makes ls say "Bad file descriptor" by passing
in a type of NFFIFO and a mode of 0...

Ian

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to