diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-04-05 00:56:30 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-04-05 03:54:05 -0400 |
commit | 4f5ba92246606723806c0585393f21244d44036c (patch) | |
tree | 8faf05e0b33f28068c3cafff95694446a3b504a6 /libsandbox/symbols.h.in | |
parent | tests: add some tracing tests (diff) | |
download | sandbox-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/symbols.h.in')
-rw-r--r-- | libsandbox/symbols.h.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libsandbox/symbols.h.in b/libsandbox/symbols.h.in index 4317e13..b674b5e 100644 --- a/libsandbox/symbols.h.in +++ b/libsandbox/symbols.h.in @@ -61,3 +61,4 @@ utimes utimensat futimesat lutimes +fork |