diff options
author | alfred <alfred@FreeBSD.org> | 2002-08-13 08:47:17 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-08-13 08:47:17 +0000 |
commit | 7c34d7b587ec98f831771925fdf5ef8569a2139a (patch) | |
tree | cd40ab1ae8cf0ba5bb7f267373b939be805c437d /lib/libc/stdio/findfp.c | |
parent | a5d6ffe944878d768006711f6033d7e6653957f7 (diff) | |
download | FreeBSD-src-7c34d7b587ec98f831771925fdf5ef8569a2139a.zip FreeBSD-src-7c34d7b587ec98f831771925fdf5ef8569a2139a.tar.gz |
Make SYSVSEM mpsafe. Each semaphore set gets its own lock, however
there is a global lock over the undo structures because of the way
they are managed.
Switch to using SLIST instead of rolling our own linked list.
Fix several races where a permission check was done before a
copyin/copyout, if the copy happened to fault it may have been
possible to race for access to a semaphore set that one shouldn't
have access to.
Requested by: rwatson
Tested by: NetBSD regression suite.
Diffstat (limited to 'lib/libc/stdio/findfp.c')
0 files changed, 0 insertions, 0 deletions