This patch makes MAKEDEV.sh use the /bin/nullpriv wrapper so that the
storeio translator serving /dev/null is started without any unix
privileges.

* sutils/MAKEDEV.sh (mkdev): Use /bin/nullpriv for /dev/null.
---
 sutils/MAKEDEV.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sutils/MAKEDEV.sh b/sutils/MAKEDEV.sh
index 1d164c7..0a8f514 100644
--- a/sutils/MAKEDEV.sh
+++ b/sutils/MAKEDEV.sh
@@ -116,7 +116,7 @@ mkdev() {
       full)
        st $I root 666 /hurd/null --full;;
       zero)
-       st $I root 666 /hurd/storeio -Tzero;;
+       st $I root 666 /bin/nullauth -- /hurd/storeio -Tzero;;
       tty)
        st $I root 666 /hurd/magic tty;;
       fd)
-- 
1.7.10.4


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/1379581969-11240-3-git-send-email-4win...@informatik.uni-hamburg.de

Reply via email to