From owner-cvs-sys Thu Dec 19 11:42:40 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id LAA07414 for cvs-sys-outgoing; Thu, 19 Dec 1996 11:42:40 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id LAA07406; Thu, 19 Dec 1996 11:42:38 -0800 (PST) Date: Thu, 19 Dec 1996 11:42:38 -0800 (PST) From: Bruce Evans Message-Id: <199612191942.LAA07406@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_descrip.c vfs_syscalls.c src/sys/sys file.h src/sys/i386/linux linux_stats.c src/sys/miscfs/fdesc fdesc_vnops.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/12/19 11:42:38 Modified: sys/kern kern_descrip.c vfs_syscalls.c sys/sys file.h sys/i386/linux linux_stats.c sys/miscfs/fdesc fdesc_vnops.c Log: Fixed lseek() on named pipes. It always succeeded but should always fail. Broke locking on named pipes in the same way as locking on non-vnodes (wrong errno). This will be fixed later. The fix involves negative logic. Named pipes are now distinguished from other types of files with vnodes, and there is additional code to handle vnodes and named pipes in the same way only where that makes sense (not for lseek, locking or TIOCSCTTY). Revision Changes Path 1.33 +4 -1 src/sys/kern/kern_descrip.c 1.52 +4 -4 src/sys/kern/vfs_syscalls.c 1.9 +3 -2 src/sys/sys/file.h 1.6 +2 -1 src/sys/i386/linux/linux_stats.c 1.20 +3 -1 src/sys/miscfs/fdesc/fdesc_vnops.c