Date: Sat, 30 May 1998 13:38:54 +0200 (CEST) From: Arend-Jan Wijtzes <aj@toad.stack.nl> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: kern/6796: send-pr form for you Message-ID: <199805301138.NAA17900@toad.stack.nl>
index | next in thread | raw e-mail
Note: There was a bad value `bug' for the field `>Class:'.
It was set to the default value of `sw-bug'.
>Number: 6796
>Category: kern
>Synopsis: kernel crash from user land
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat May 30 04:40:01 PDT 1998
>Last-Modified:
>Originator: Arend-jan Wijtzes
>Organization:
M.C.G.V. Stack
>Release: FreeBSD 2.2.6-STABLE i386
>Environment:
must have NFS mounted filesystem
>Description:
machine freezes when hardlinking a device to a file on a NFS
filesystem. like ln /dev/null testblebber (on NFS mounted fs)
Looks like the cross-filesytem check fails.
>How-To-Repeat:
ln /dev/null file
>Fix:
Not really a solution, but a 'fix':
--- /usr/src/sys/kern/vfs_syscalls.c Thu May 28 15:46:03 1998
+++ /usr/src/sys/kern/vfs_syscalls.c Thu May 28 15:47:28 1998
@@ -904,7 +904,9 @@
if (error)
return (error);
vp = nd.ni_vp;
- if (vp->v_type == VDIR)
+ if ((vp->v_type == VCHR) || (vp->v_type == VBLK))
+ error = EPERM; /* STACK HACK gehaktdag */
+ else if (vp->v_type == VDIR)
error = EPERM; /* POSIX */
else {
NDINIT(&nd, CREATE, LOCKPARENT, UIO_USERSPACE, uap->link, p);
>Audit-Trail:
>Unformatted:
Hi. As send-pr is broken at this time, here is the form by mail.
SEND-PR: -*- send-pr -*-
SEND-PR: Lines starting with `SEND-PR' will be removed automatically, as
SEND-PR: will all comments (text enclosed in `<' and `>').
SEND-PR:
SEND-PR: Please consult the send-pr man page `send-pr(1)' or the Texinfo
SEND-PR: manual if you are not sure how to fill out a problem report.
SEND-PR:
SEND-PR: Note that the Synopsis field is mandatory. The Subject (for
SEND-PR: the mail) will be made the same as Synopsis unless explicitly
SEND-PR: changed.
SEND-PR:
SEND-PR: Choose from the following categories:
SEND-PR:
SEND-PR: bin conf docs gnu i386 kern misc ports
SEND-PR:
To: FreeBSD-gnats-submit@freebsd.org
Subject:
From: aj@stack.nl
Reply-To: aj@stack.nl
X-send-pr-version: 3.2
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805301138.NAA17900>
