adding security patches to 2.6.23 kernel
git-svn-id: http://svn.sabayonlinux.org/overlay@1982 d7aec97c-591d-0410-af39-a8856400b30a
This commit is contained in:
@@ -42,6 +42,22 @@ AUX 2.6.23/mactel-patches-2.6.23.patch 26289 RMD160 59e2d43eac3a0178bf85293046a1
|
||||
MD5 4be03a2c74f6333cd5c8fdaa09007ef0 files/2.6.23/mactel-patches-2.6.23.patch 26289
|
||||
RMD160 59e2d43eac3a0178bf85293046a1a1ed80062fbc files/2.6.23/mactel-patches-2.6.23.patch 26289
|
||||
SHA256 dbe35b10ac9c4a2675b2dab7836f456ae994dd36990b101511cae6dbc7e4165b files/2.6.23/mactel-patches-2.6.23.patch 26289
|
||||
AUX 2.6.23/patch-2.6.23.12-13 2311 RMD160 396fa408ae86a748d264b7eaae715436d6d6af48 SHA1 b379b8903fa0e77d2b289891b01912245de086ed SHA256 7277f47c713c190f7f7d1dd615ac632e94bfc0ebf2d0bc2f4e4736d677836729
|
||||
MD5 5b6494c7f2b47aaa661ea398f0508da5 files/2.6.23/patch-2.6.23.12-13 2311
|
||||
RMD160 396fa408ae86a748d264b7eaae715436d6d6af48 files/2.6.23/patch-2.6.23.12-13 2311
|
||||
SHA256 7277f47c713c190f7f7d1dd615ac632e94bfc0ebf2d0bc2f4e4736d677836729 files/2.6.23/patch-2.6.23.12-13 2311
|
||||
AUX 2.6.23/patch-2.6.23.13-14 983 RMD160 447ec26a4d4fbf28f55814652035a031348e8df4 SHA1 ff8ded41a587ed170967f136cb4259f2537b4e64 SHA256 50cc0cc7792eb867ad89a48339ff651e2e4c7af9f366dc5fef3453b84a46e8ed
|
||||
MD5 342372f79332442a854c4915caa36fc2 files/2.6.23/patch-2.6.23.13-14 983
|
||||
RMD160 447ec26a4d4fbf28f55814652035a031348e8df4 files/2.6.23/patch-2.6.23.13-14 983
|
||||
SHA256 50cc0cc7792eb867ad89a48339ff651e2e4c7af9f366dc5fef3453b84a46e8ed files/2.6.23/patch-2.6.23.13-14 983
|
||||
AUX 2.6.23/patch-2.6.23.14-15 263270 RMD160 c13b4094558ac573b247393417ae5553779813ec SHA1 ab8f0e0e9a04b83e2c6804f497a5aaf2253ae867 SHA256 5e4a2037787d32b83b30a8ba8264095c7e07d5baf8794597112e35fb383640f4
|
||||
MD5 79d8acc72f533dee2b313478e46ee9b8 files/2.6.23/patch-2.6.23.14-15 263270
|
||||
RMD160 c13b4094558ac573b247393417ae5553779813ec files/2.6.23/patch-2.6.23.14-15 263270
|
||||
SHA256 5e4a2037787d32b83b30a8ba8264095c7e07d5baf8794597112e35fb383640f4 files/2.6.23/patch-2.6.23.14-15 263270
|
||||
AUX 2.6.23/patch-2.6.23.15-16 583 RMD160 9d8136d234bc9fcdce76a622108a358fa88a51bb SHA1 1beb54cd9d5aa9687e87810d43d9d883438afe48 SHA256 bc4cc7a2dd997545a554c66be39e45b4e690df181c585245f07560901d1e9142
|
||||
MD5 0152e440d8184cf425568e464e67b079 files/2.6.23/patch-2.6.23.15-16 583
|
||||
RMD160 9d8136d234bc9fcdce76a622108a358fa88a51bb files/2.6.23/patch-2.6.23.15-16 583
|
||||
SHA256 bc4cc7a2dd997545a554c66be39e45b4e690df181c585245f07560901d1e9142 files/2.6.23/patch-2.6.23.15-16 583
|
||||
AUX 2.6.23/pm_qos-2.6.23.patch 33320 RMD160 7dd597f8c0bff1469c67d4ad089d1d2b89e7e6e6 SHA1 d6528353d1b5d8cf3b93a1e7b7e89cadb21cb245 SHA256 7d47838a9e41c46c3d451c39d224cf0d06114474151b5bb769b0a164f50535a7
|
||||
MD5 e73600df64adedefa126efa7e3379613 files/2.6.23/pm_qos-2.6.23.patch 33320
|
||||
RMD160 7dd597f8c0bff1469c67d4ad089d1d2b89e7e6e6 files/2.6.23/pm_qos-2.6.23.patch 33320
|
||||
@@ -154,10 +170,10 @@ DIST tuxonice-3.0-rc3-for-2.6.23.9.patch.bz2 111146 RMD160 6a44034aa195e941483f6
|
||||
DIST tuxonice-3.0-rc5-for-2.6.24.patch.bz2 113258 RMD160 c1fde23de970b6347302ae2bff71bf3ab1bfbeb3 SHA1 bf559c8dead1d0372d3388e4f9d2c4d145862ec1 SHA256 0a3b502b89bebbcd0f701a0e89c072797257ce766b2ea2d2bda1f6762ca2ce9b
|
||||
DIST unionfs-2.2.1_for_2.6.23.12.diff.gz 76680 RMD160 9ecdffbb576ce9b7fcce0a145c6c78dddfb74cfb SHA1 a972ec81097b0e4262d6cf596ff741e120811ff5 SHA256 1caa738ba1f6c6ac4185f60c4325d9bad3990690b8476b6145c4704d04a2b5e9
|
||||
DIST unionfs-2.2.3_for_2.6.24.diff.gz 76789 RMD160 c213efff91016cd1d7660913e791cf7b2dd6ea95 SHA1 a6d8fb804a7ffd2d94a4356c76c7d08d4d8798d7 SHA256 7bd36244b205f46452b577e79f77ed90b30cd6a5801e36fac57b696573ade513
|
||||
EBUILD linux-sabayon-2.6.23-r1.ebuild 4961 RMD160 b0ad3fcb9473b3b2f41edd51448304ebf0fb8259 SHA1 93083381b07c7e62c2ef0c607312356f30c7fde6 SHA256 6adae6d26a8ad9fd5151c6544d6d3deb8461affc35d665e64034902c603471f3
|
||||
MD5 9bfdc4dbf1045806b7c802c6c3d20016 linux-sabayon-2.6.23-r1.ebuild 4961
|
||||
RMD160 b0ad3fcb9473b3b2f41edd51448304ebf0fb8259 linux-sabayon-2.6.23-r1.ebuild 4961
|
||||
SHA256 6adae6d26a8ad9fd5151c6544d6d3deb8461affc35d665e64034902c603471f3 linux-sabayon-2.6.23-r1.ebuild 4961
|
||||
EBUILD linux-sabayon-2.6.23-r1.ebuild 5118 RMD160 09fb8743b9f40d3a34fe69d893406499e629e159 SHA1 5d5b6882cc15ebffa0e6ef83d1361a7bc0931fcc SHA256 91845f515bbe88f1b13e20262eea96072fc58a0108ea6a7141b25a5de8a6730b
|
||||
MD5 d0efbf11afc605def0746befa22efe0c linux-sabayon-2.6.23-r1.ebuild 5118
|
||||
RMD160 09fb8743b9f40d3a34fe69d893406499e629e159 linux-sabayon-2.6.23-r1.ebuild 5118
|
||||
SHA256 91845f515bbe88f1b13e20262eea96072fc58a0108ea6a7141b25a5de8a6730b linux-sabayon-2.6.23-r1.ebuild 5118
|
||||
EBUILD linux-sabayon-2.6.24.ebuild 4113 RMD160 5e29b3969984665025542bc8e7a7ec9f4f8da6b6 SHA1 00b12fd99c29acb3eda0ee7860a1e525acd87fe9 SHA256 a4bdf60fbbe206b03417a4f8b2feec1af0fb6020e48de9cf4cc5825256c23741
|
||||
MD5 f8550ded82cb11bb0954882eaa98539a linux-sabayon-2.6.24.ebuild 4113
|
||||
RMD160 5e29b3969984665025542bc8e7a7ec9f4f8da6b6 linux-sabayon-2.6.24.ebuild 4113
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 96c3f02..55edf2f 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,7 +1,7 @@
|
||||
VERSION = 2
|
||||
PATCHLEVEL = 6
|
||||
SUBLEVEL = 23
|
||||
-EXTRAVERSION = .12
|
||||
+EXTRAVERSION = .13
|
||||
NAME = Arr Matey! A Hairy Bilge Rat!
|
||||
|
||||
# *DOCUMENTATION*
|
||||
diff --git a/drivers/hwmon/w83627ehf.c b/drivers/hwmon/w83627ehf.c
|
||||
index d9a9ec7..bfd8828 100644
|
||||
--- a/drivers/hwmon/w83627ehf.c
|
||||
+++ b/drivers/hwmon/w83627ehf.c
|
||||
@@ -1276,23 +1276,31 @@ static int __devinit w83627ehf_probe(struct platform_device *pdev)
|
||||
|
||||
data->vrm = vid_which_vrm();
|
||||
superio_enter(sio_data->sioreg);
|
||||
- /* Set VID input sensibility if needed. In theory the BIOS should
|
||||
- have set it, but in practice it's not always the case. */
|
||||
- en_vrm10 = superio_inb(sio_data->sioreg, SIO_REG_EN_VRM10);
|
||||
- if ((en_vrm10 & 0x08) && data->vrm != 100) {
|
||||
- dev_warn(dev, "Setting VID input voltage to TTL\n");
|
||||
- superio_outb(sio_data->sioreg, SIO_REG_EN_VRM10,
|
||||
- en_vrm10 & ~0x08);
|
||||
- } else if (!(en_vrm10 & 0x08) && data->vrm == 100) {
|
||||
- dev_warn(dev, "Setting VID input voltage to VRM10\n");
|
||||
- superio_outb(sio_data->sioreg, SIO_REG_EN_VRM10,
|
||||
- en_vrm10 | 0x08);
|
||||
- }
|
||||
/* Read VID value */
|
||||
superio_select(sio_data->sioreg, W83627EHF_LD_HWM);
|
||||
- if (superio_inb(sio_data->sioreg, SIO_REG_VID_CTRL) & 0x80)
|
||||
+ if (superio_inb(sio_data->sioreg, SIO_REG_VID_CTRL) & 0x80) {
|
||||
+ /* Set VID input sensibility if needed. In theory the BIOS
|
||||
+ should have set it, but in practice it's not always the
|
||||
+ case. We only do it for the W83627EHF/EHG because the
|
||||
+ W83627DHG is more complex in this respect. */
|
||||
+ if (sio_data->kind == w83627ehf) {
|
||||
+ en_vrm10 = superio_inb(sio_data->sioreg,
|
||||
+ SIO_REG_EN_VRM10);
|
||||
+ if ((en_vrm10 & 0x08) && data->vrm == 90) {
|
||||
+ dev_warn(dev, "Setting VID input voltage to "
|
||||
+ "TTL\n");
|
||||
+ superio_outb(sio_data->sioreg, SIO_REG_EN_VRM10,
|
||||
+ en_vrm10 & ~0x08);
|
||||
+ } else if (!(en_vrm10 & 0x08) && data->vrm == 100) {
|
||||
+ dev_warn(dev, "Setting VID input voltage to "
|
||||
+ "VRM10\n");
|
||||
+ superio_outb(sio_data->sioreg, SIO_REG_EN_VRM10,
|
||||
+ en_vrm10 | 0x08);
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
data->vid = superio_inb(sio_data->sioreg, SIO_REG_VID_DATA) & 0x3f;
|
||||
- else {
|
||||
+ } else {
|
||||
dev_info(dev, "VID pins in output mode, CPU VID not "
|
||||
"available\n");
|
||||
data->vid = 0x3f;
|
||||
@@ -0,0 +1,35 @@
|
||||
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.
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,26 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 8920cb8..3a932c7 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,7 +1,7 @@
|
||||
VERSION = 2
|
||||
PATCHLEVEL = 6
|
||||
SUBLEVEL = 23
|
||||
-EXTRAVERSION = .15
|
||||
+EXTRAVERSION = .16
|
||||
NAME = Arr Matey! A Hairy Bilge Rat!
|
||||
|
||||
# *DOCUMENTATION*
|
||||
diff --git a/fs/splice.c b/fs/splice.c
|
||||
index 2aa8f5a..1a9c0e6 100644
|
||||
--- a/fs/splice.c
|
||||
+++ b/fs/splice.c
|
||||
@@ -1289,7 +1289,7 @@ static int get_iovec_page_array(const struct iovec __user *iov,
|
||||
if (unlikely(!len))
|
||||
break;
|
||||
error = -EFAULT;
|
||||
- if (unlikely(!base))
|
||||
+ if (!access_ok(VERIFY_READ, base, len))
|
||||
break;
|
||||
|
||||
/*
|
||||
@@ -68,6 +68,11 @@ UNIPATCH_LIST="
|
||||
${FILESDIR}/${PV}/aufs-cvs-0710115-2.6.23.patch
|
||||
${FILESDIR}/${PV}/linux-2.6.23.11-12.patch
|
||||
|
||||
${FILESDIR}/${PV}/patch-2.6.23.12-13
|
||||
${FILESDIR}/${PV}/patch-2.6.23.13-14
|
||||
${FILESDIR}/${PV}/patch-2.6.23.14-15
|
||||
${FILESDIR}/${PV}/patch-2.6.23.15-16
|
||||
|
||||
"
|
||||
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${SUSPEND2_URI} ${SL_PATCHES_URI}"
|
||||
## END: Exported data
|
||||
|
||||
Reference in New Issue
Block a user