aboutsummaryrefslogtreecommitdiff
path: root/TODO
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 /TODO
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 'TODO')
-rw-r--r--TODO6
1 files changed, 6 insertions, 0 deletions
diff --git a/TODO b/TODO
index 5103175..dd6904b 100644
--- a/TODO
+++ b/TODO
@@ -18,3 +18,9 @@ reimplement the functions (building up argv[] and then call the execv* ver)
erealpath() might deref symlinks when working with unreadable paths as non-root
even when working on funcs that do not deref funcs themselves ... this isnt a
real big issue though
+
+threaded apps conflict with shared state:
+ - sandbox_lib
+ - sandbox_on
+ - trace_pid
+ - etc...