Date: Wed, 4 Aug 1999 11:53:54 -0700 (PDT) From: Brian Feldman <green@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/streams streams.c src/sys/kern kern_descrip.c sys_pipe.c sys_socket.c uipc_syscalls.c vfs_syscalls.c vfs_vnops.c src/sys/sys file.h Message-ID: <199908041853.LAA33263@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
green 1999/08/04 11:53:54 PDT
Modified files:
sys/dev/streams streams.c
sys/kern kern_descrip.c sys_pipe.c sys_socket.c
uipc_syscalls.c vfs_syscalls.c
vfs_vnops.c
sys/sys file.h
Log:
Fix fd race conditions (during shared fd table usage.) Badfileops is
now used in f_ops in place of NULL, and modifications to the files
are more carefully ordered. f_ops should also be set to &badfileops
upon "close" of a file.
This does not fix other problems mentioned in this PR than the first
one.
PR: 11629
Reviewed by: peter
Revision Changes Path
1.9 +4 -4 src/sys/dev/streams/streams.c
1.65 +64 -6 src/sys/kern/kern_descrip.c
1.53 +6 -5 src/sys/kern/sys_pipe.c
1.25 +2 -1 src/sys/kern/sys_socket.c
1.56 +11 -14 src/sys/kern/uipc_syscalls.c
1.129 +3 -3 src/sys/kern/vfs_syscalls.c
1.72 +3 -1 src/sys/kern/vfs_vnops.c
1.18 +2 -1 src/sys/sys/file.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908041853.LAA33263>
