commit-hurd
[Top][All Lists]
Advanced

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

[hurd] 17/30: Also do not realpath "proc" pseudo-device


From: Samuel Thibault
Subject: [hurd] 17/30: Also do not realpath "proc" pseudo-device
Date: Tue, 22 Sep 2015 21:51:59 +0000

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

sthibault pushed a commit to branch upstream
in repository hurd.

commit 90b656d7e9bd288681cde6c9482d4c0ca575a431
Author: Samuel Thibault <address@hidden>
Date:   Tue Sep 8 22:49:50 2015 +0200

    Also do not realpath "proc" pseudo-device
    
    * sutils/fstab.c (fstab_find_device): Do not realpath "proc" pseudo-device.
---
 sutils/fstab.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sutils/fstab.c b/sutils/fstab.c
index 24a1a0d..2e125d8 100644
--- a/sutils/fstab.c
+++ b/sutils/fstab.c
@@ -490,7 +490,7 @@ fs_remount (struct fs *fs)
 inline struct fs *
 fstab_find_device (const struct fstab *fstab, const char *name)
 {
-  if (strcmp (name, "none") == 0)
+  if (strcmp (name, "none") == 0 || strcmp (name, "proc") == 0)
     return NULL;
 
   char *real_name = realpath (name, NULL);

-- 
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]