Title: [4099] trunk: [#2424] Update kernel from 2.6.22.15 to 2.6.22.16
- Revision
- 4099
- Author
- cooloney
- Date
- 2008-01-14 18:19:54 -0600 (Mon, 14 Jan 2008)
Log Message
[#2424] Update kernel from 2.6.22.15 to 2.6.22.16
We (the -stable team) are announcing the release of the 2.6.22.16
kernel.
It contains a single fix for a problem that could cause a local user to
cause file system corruption on some types of filesystems.
All users of the 2.6.22 series are encouraged to upgrade.
I'll also be replying to this message with a copy of the patch between
2.6.22.15 and 2.6.22.16
The updated 2.6.22.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.22.y.git
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.22.y.git;a=summary
thanks,
greg k-h
--------
Makefile | 2 +-
fs/namei.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
Summary of changes from v2.6.22.15 to v2.6.22.16
================================================
Greg Kroah-Hartman (1):
Linux 2.6.22.16
Linus Torvalds (1):
Use access mode instead of open flags to determine needed permissions (CVE-2008-0001)
Diffstat
Makefile | 2 +-
fs/namei.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
Modified Paths
Diff
Modified: trunk/Makefile (4098 => 4099)
--- trunk/Makefile 2008-01-14 07:45:06 UTC (rev 4098)
+++ trunk/Makefile 2008-01-15 00:19:54 UTC (rev 4099)
@@ -1,7 +1,7 @@
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 22
-EXTRAVERSION = .15
+EXTRAVERSION = .16
NAME = Holy Dancing Manatees, Batman!
# *DOCUMENTATION*
Modified: trunk/fs/namei.c (4098 => 4099)
--- trunk/fs/namei.c 2008-01-14 07:45:06 UTC (rev 4098)
+++ trunk/fs/namei.c 2008-01-15 00:19:54 UTC (rev 4099)
@@ -1543,7 +1543,7 @@
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);
@@ -1562,7 +1562,7 @@
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.
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits