summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vsnprintf.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-08-13 08:47:17 +0000
committeralfred <alfred@FreeBSD.org>2002-08-13 08:47:17 +0000
commit7c34d7b587ec98f831771925fdf5ef8569a2139a (patch)
treecd40ab1ae8cf0ba5bb7f267373b939be805c437d /lib/libc/stdio/vsnprintf.c
parenta5d6ffe944878d768006711f6033d7e6653957f7 (diff)
downloadFreeBSD-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/vsnprintf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud