From owner-freebsd-bugs Sun Dec 29 01:50:05 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id BAA21673 for bugs-outgoing; Sun, 29 Dec 1996 01:50:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id BAA21667; Sun, 29 Dec 1996 01:50:03 -0800 (PST) Resent-Date: Sun, 29 Dec 1996 01:50:03 -0800 (PST) Resent-Message-Id: <199612290950.BAA21667@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, hhui@arcfour.com Received: from disperse.arcfour.com (disperse.arcfour.com [207.176.50.17]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id BAA21516 for ; Sun, 29 Dec 1996 01:41:15 -0800 (PST) Received: (from hhui@localhost) by disperse.arcfour.com (ArcFour-8.8.3) id EAA15097; ; Sun, 29 Dec 1996 04:41:33 -0500 (EST) Message-Id: <199612290941.EAA15097@disperse.arcfour.com> Date: Sun, 29 Dec 1996 04:41:33 -0500 (EST) From: Hui-Hui Hu Reply-To: hhui@arcfour.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/2315: tail segfaults on NFS permission denied Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >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: