aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-04-05 00:56:30 -0400
committerMike Frysinger <vapier@gentoo.org>2009-04-05 03:54:05 -0400
commit4f5ba92246606723806c0585393f21244d44036c (patch)
tree8faf05e0b33f28068c3cafff95694446a3b504a6 /libsandbox/Makefile.am
parenttests: add some tracing tests (diff)
downloadsandbox-4f5ba92246606723806c0585393f21244d44036c.tar.gz
sandbox-4f5ba92246606723806c0585393f21244d44036c.tar.bz2
sandbox-4f5ba92246606723806c0585393f21244d44036c.zip
libsandbox: force lock sanity across forks
Classic example of forks being used in multithreaded applications and causing havoc with shared state (locks in this case). Make sure that threads grabbing the sandbox lock don't screw up threads that do a fork and then exec. URL: http://bugs.gentoo.org/263657 Signed-off-by: Mike Frysinger <vapier@gentoo.org> Reported-by: Ryan Hope <rmh3093@gmail.com>
Diffstat (limited to 'libsandbox/Makefile.am')
-rw-r--r--libsandbox/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsandbox/Makefile.am b/libsandbox/Makefile.am
index 36393f0..eb9f0f2 100644
--- a/libsandbox/Makefile.am
+++ b/libsandbox/Makefile.am
@@ -30,6 +30,7 @@ libsandbox_la_SOURCES = \
eqawarn.c \
libsandbox.h \
libsandbox.c \
+ lock.c \
memory.c \
trace.c \
wrappers.h \