commit:     69d49d18422d3dc67ec08a1d565e0503b813e321
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  3 11:37:37 2013 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Sun Mar  3 11:37:37 2013 +0000
URL:        https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=69d49d18

TODO: note more work needed for message framework

Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>

 TODO | 13 +++++++++++++
 1 file changed, 13 insertions(+)

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.

Reply via email to