[prev in list] [next in list] [prev in thread] [next in thread] 

List:       klik-devel
Subject:    [klik-devel] [klikclient commit] r1449 -
From:       codesite-noreply () google ! com
Date:       2008-03-30 22:58:38
Message-ID: 00c09f8b8f3d0449af79cf25d14f379 () google ! com
[Download RAW message or body]

Author: lionel.tricon
Date: Sun Mar 30 15:57:53 2008
New Revision: 1449

Modified:
   trunk/virtualization/unionfuse/trunk/fusioniso/src/fs.c

Log:
From into the fuse fs, we avoid access to the /tmp/klik/ directory.
The previous attempt to fix that was not working.


Modified: trunk/virtualization/unionfuse/trunk/fusioniso/src/fs.c
==============================================================================
--- trunk/virtualization/unionfuse/trunk/fusioniso/src/fs.c	(original)
+++ trunk/virtualization/unionfuse/trunk/fusioniso/src/fs.c	Sun Mar 30 
15:57:53 2008
@@ -776,8 +776,8 @@
             return -ENOENT;
         }

-        // We forbid access to the ~./.klik directory
-        if (_union_mounting && strncmp(path,"/tmp/klik/", 10) == 0) 
return -ENOENT;
+        // We forbid access to the /tmp/klik directory
+        if (_union_mounting && strncmp(path,"/tmp/klik", 9) == 0) 
return -ENOENT;

         if (fs_home_stat(path,&newpath,stbuf) == 0) return 0;
         if (_union_mounting && lstat(path,stbuf)==0)
_______________________________________________
klik-devel mailing list
klik-devel@kde.org
https://mail.kde.org/mailman/listinfo/klik-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic