packages: kernel/kernel-unionfs.patch - umask fix

arekm arekm at pld-linux.org
Tue Jul 21 03:25:41 CEST 2009


Author: arekm                        Date: Tue Jul 21 01:25:41 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- umask fix

---- Files affected:
packages/kernel:
   kernel-unionfs.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/kernel/kernel-unionfs.patch
diff -u packages/kernel/kernel-unionfs.patch:1.3 packages/kernel/kernel-unionfs.patch:1.4
--- packages/kernel/kernel-unionfs.patch:1.3	Mon Jul 20 14:57:26 2009
+++ packages/kernel/kernel-unionfs.patch	Tue Jul 21 03:25:36 2009
@@ -10812,7 +10812,7 @@
 +		if (!err)
 +			err = vfs_create(lower_dir_dentry->d_inode,
 +					 lower_wh_dentry,
-+					 ~current->fs->umask & S_IRUGO,
++					 ~current_umask() & S_IRUGO,
 +					 &nd);
 +		unlock_dir(lower_dir_dentry);
 +		dput(lower_wh_dentry);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kernel/kernel-unionfs.patch?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list