Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 1996 04:41:33 -0500 (EST)
From:      Hui-Hui Hu <hhui@arcfour.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/2315: tail segfaults on NFS permission denied
Message-ID:  <199612290941.EAA15097@disperse.arcfour.com>
Resent-Message-ID: <199612290950.BAA21667@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         2315
>Category:       bin
>Synopsis:       tail segfaults on NFS permission denied
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 29 01:50:02 PST 1996
>Last-Modified:
>Originator:     Hui-Hui Hu
>Organization:
Arc Four
>Release:        FreeBSD 2.2-ALPHA i386
>Environment:

NFS client mounting partition with "nosuid" option

>Description:

on an NFS client mounting a partition with the nosuid option,
tail(1), if run as root, segfaults with the following kernel log messages:

Dec 28 10:41:38 watermark /kernel: vnode_pager_getpages: I/O read error
Dec 28 10:41:38 watermark /kernel: vm_fault: pager input (probably hardware) error, PID 15308 failure
Dec 28 10:41:38 watermark /kernel: pid 15308 (tail), uid 0: exited on signal 11

shouldn't it be more robust than this?

>How-To-Repeat:

client# mount -t nfs -o nosuid server:/foo /foo
client# tail /foo/filename
Segmentation fault

>Fix:
	

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612290941.EAA15097>