Date: Thu, 19 Dec 1996 11:42:38 -0800 (PST) From: Bruce Evans <bde> 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 Message-ID: <199612191942.LAA07406@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612191942.LAA07406>