aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-02-18 02:05:08 -0500
committerMike Frysinger <vapier@gentoo.org>2009-02-18 02:39:36 -0500
commit4ff12b76f2ebf13ac079e733635fcea832631966 (patch)
tree243499fbccdcf239ce126fedd8f64ec6565f10cd /m4/ax_cflags_warn_all.m4
parentlibsandbox: shuffle/unify local prototypes (diff)
downloadsandbox-4ff12b76f2ebf13ac079e733635fcea832631966.tar.gz
sandbox-4ff12b76f2ebf13ac079e733635fcea832631966.tar.bz2
sandbox-4ff12b76f2ebf13ac079e733635fcea832631966.zip
libsandbox: lock main syscall code with a mutex
Since the main sandbox code maintains state with global variables (like sbcontext), make sure we use a pthread mutex to prevent multiple threads from corrupting each other. In the non-threaded case this shouldn't be a problem as the C library provides redirection stubs in its own code. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'm4/ax_cflags_warn_all.m4')
0 files changed, 0 insertions, 0 deletions