Re: Linux 2.6.23.14

2008-01-16 Thread Greg KH
On Wed, Jan 16, 2008 at 03:27:41PM +0100, markus reichelt wrote:
> * Greg Kroah-Hartman <[EMAIL PROTECTED]> wrote:
> 
> > It contains a single fix for a problem that could cause a local
> > user to cause file system corruption on some types of filesystems.
> 
> Some types of filesystems? Which ones? 

Lots of them, but not all :)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Linux 2.6.23.14

2008-01-16 Thread markus reichelt
* Greg Kroah-Hartman <[EMAIL PROTECTED]> wrote:

> It contains a single fix for a problem that could cause a local
> user to cause file system corruption on some types of filesystems.

Some types of filesystems? Which ones? 

-- 
left blank, right bald


pgpDjfZ3kpyxn.pgp
Description: PGP signature


Re: Linux 2.6.23.14

2008-01-16 Thread markus reichelt
* Greg Kroah-Hartman [EMAIL PROTECTED] wrote:

 It contains a single fix for a problem that could cause a local
 user to cause file system corruption on some types of filesystems.

Some types of filesystems? Which ones? 

-- 
left blank, right bald


pgpDjfZ3kpyxn.pgp
Description: PGP signature


Re: Linux 2.6.23.14

2008-01-16 Thread Greg KH
On Wed, Jan 16, 2008 at 03:27:41PM +0100, markus reichelt wrote:
 * Greg Kroah-Hartman [EMAIL PROTECTED] wrote:
 
  It contains a single fix for a problem that could cause a local
  user to cause file system corruption on some types of filesystems.
 
 Some types of filesystems? Which ones? 

Lots of them, but not all :)
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Linux 2.6.23.14

2008-01-14 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile
index 55edf2f..5c31700 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 VERSION = 2
 PATCHLEVEL = 6
 SUBLEVEL = 23
-EXTRAVERSION = .13
+EXTRAVERSION = .14
 NAME = Arr Matey! A Hairy Bilge Rat!
 
 # *DOCUMENTATION*
diff --git a/fs/namei.c b/fs/namei.c
index a83160a..314afe6 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -1576,7 +1576,7 @@ int may_open(struct nameidata *nd, int acc_mode, int flag)
if (S_ISLNK(inode->i_mode))
return -ELOOP;

-   if (S_ISDIR(inode->i_mode) && (flag & FMODE_WRITE))
+   if (S_ISDIR(inode->i_mode) && (acc_mode & MAY_WRITE))
return -EISDIR;
 
error = vfs_permission(nd, acc_mode);
@@ -1595,7 +1595,7 @@ int may_open(struct nameidata *nd, int acc_mode, int flag)
return -EACCES;
 
flag &= ~O_TRUNC;
-   } else if (IS_RDONLY(inode) && (flag & FMODE_WRITE))
+   } else if (IS_RDONLY(inode) && (acc_mode & MAY_WRITE))
return -EROFS;
/*
 * An append-only file must be opened in append mode for writing.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Linux 2.6.23.14

2008-01-14 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile
index 55edf2f..5c31700 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 VERSION = 2
 PATCHLEVEL = 6
 SUBLEVEL = 23
-EXTRAVERSION = .13
+EXTRAVERSION = .14
 NAME = Arr Matey! A Hairy Bilge Rat!
 
 # *DOCUMENTATION*
diff --git a/fs/namei.c b/fs/namei.c
index a83160a..314afe6 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -1576,7 +1576,7 @@ int may_open(struct nameidata *nd, int acc_mode, int flag)
if (S_ISLNK(inode-i_mode))
return -ELOOP;

-   if (S_ISDIR(inode-i_mode)  (flag  FMODE_WRITE))
+   if (S_ISDIR(inode-i_mode)  (acc_mode  MAY_WRITE))
return -EISDIR;
 
error = vfs_permission(nd, acc_mode);
@@ -1595,7 +1595,7 @@ int may_open(struct nameidata *nd, int acc_mode, int flag)
return -EACCES;
 
flag = ~O_TRUNC;
-   } else if (IS_RDONLY(inode)  (flag  FMODE_WRITE))
+   } else if (IS_RDONLY(inode)  (acc_mode  MAY_WRITE))
return -EROFS;
/*
 * An append-only file must be opened in append mode for writing.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/