aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-03-03 06:37:37 -0500
committerMike Frysinger <vapier@gentoo.org>2013-03-03 06:37:37 -0500
commit69d49d18422d3dc67ec08a1d565e0503b813e321 (patch)
tree9d9a834d51de6c5ea112cce87c1c05266219bc10 /TODO
parentsandbox: use a non-shell var for the message path (diff)
downloadsandbox-69d49d18422d3dc67ec08a1d565e0503b813e321.tar.gz
sandbox-69d49d18422d3dc67ec08a1d565e0503b813e321.tar.bz2
sandbox-69d49d18422d3dc67ec08a1d565e0503b813e321.zip
TODO: note more work needed for message framework
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'TODO')
-rw-r--r--TODO13
1 files changed, 13 insertions, 0 deletions
diff --git a/TODO b/TODO
index 6470621..c8d1109 100644
--- a/TODO
+++ b/TODO
@@ -27,3 +27,16 @@ doesnt seem to work quite right:
echo $(./vfork-0 ./mkdir_static-0 2>&1)
handle env var modification inside of traced apps
+
+messaging still needs a little work. consider:
+ - user is running as root
+ - user does `emerge foo`
+ - emerge's stderr is connected to root's tty
+ - FEATURES=userpriv is enabled so portage drops root
+ - sandbox starts up and sets message path to its stderr
+ - that path is owned by root only
+ - attempts to open it by path fail with permission denied
+really only way around this would be to have sandbox set up
+a named pipe in $T and set the message path to that. then
+it would poll that for data and take care of writing it to
+its open stderr.