Date: Thu, 19 Dec 1996 10:16:34 -0800 (PST) From: Bruce Evans <bde> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/miscfs/fifofs fifo_vnops.c src/sys/miscfs/specfs spec_vnops.c Message-ID: <199612191816.KAA03378@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 96/12/19 10:16:34 Modified: sys/miscfs/fifofs fifo_vnops.c sys/miscfs/specfs spec_vnops.c Log: Fixed errno for unsupported advisory locks. The errno is now EINVAL fcntl() and EOPNOTSUPP for flock(). POSIX specifies the weaker EINVAL errno and the man page agrees. Not fixed: deadfs: always returns wrong EBADF devfs, msdosfs: always return sometimes-wrong EINVAL cd9660, fdesc, kernfs, portal: always return sometimes-wrong EOPNOTSUPP procfs: always returns wrong EIO mfs: panic?! nfs: fudged NetBSD uses a generic file system genfs to do return the sometimes-wrong EOPNOTSUPP more consistently :-)(. Found by: NIST-PCTS Revision Changes Path 1.18 +2 -2 src/sys/miscfs/fifofs/fifo_vnops.c 1.34 +2 -2 src/sys/miscfs/specfs/spec_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612191816.KAA03378>