commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 03/36: sutils: set up /dev/null using /bin/nullpriv in MAKEDEV.sh


From: Samuel Thibault
Subject: [hurd] 03/36: sutils: set up /dev/null using /bin/nullpriv in MAKEDEV.sh
Date: Tue, 24 Sep 2013 12:31:12 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit cdf852011b3e6dc24b53952b2e1d415387cb9409
Author: Justus Winter <address@hidden>
Date:   Thu Sep 19 11:12:47 2013 +0200

    sutils: set up /dev/null using /bin/nullpriv in MAKEDEV.sh
    
    This patch makes MAKEDEV.sh use the /bin/nullpriv wrapper so that the
    storeio translator serving /dev/zero is started without any unix
    privileges.
    
    * sutils/MAKEDEV.sh (mkdev): Use /bin/nullpriv for /dev/zero.
---
 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)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]