[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Kernel updates for QA



On Fri, May 07, 2004 at 01:26:37AM +0100, Dominic Hargreaves wrote:
 > Hi,
 > 
 > I've put up some packages for QA at
 > http://bugzilla.fedora.us/show_bug.cgi?id=1484

cpufreq *is* in RHL9 kernel, and is vulnerable.
Other than that, looks like you've got it covered.
You may also need the qla2300 perms fix (fixed in SuSE update
kernels, missed everywhere else). Not sure if that driver
made it into RHL9, and I don't have an unpacked source tree
handy. Diff below.

		Dave

--- linux-2.4.21/drivers/scsi/qla2xxx-60500/qla2x00.c.secfix	2004-02-10 09:28:33.000000000 +0100
+++ linux-2.4.21/drivers/scsi/qla2xxx-60500/qla2x00.c	2004-04-23 13:14:07.000000000 +0200
@@ -17298,10 +17298,10 @@
 #ifndef __VMWARE__
            // XXX: Fix this when proc_mknod works again on main!!!
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
-	proc_mknod(APIDEV_NODE, 0777+S_IFCHR, host->hostt->proc_dir,
+	proc_mknod(APIDEV_NODE, 0600+S_IFCHR, host->hostt->proc_dir,
 			(kdev_t)MKDEV(apidev_major, 0));
 #else
-	proc_mknod(APIDEV_NODE, 0777+S_IFCHR, host->hostt->proc_dir,
+	proc_mknod(APIDEV_NODE, 0600+S_IFCHR, host->hostt->proc_dir,
 			(kdev_t)mk_kdev(apidev_major, 0));
 #endif
 #endif //__VMWARE__
--- linux-2.4.21/drivers/scsi/qla2xxx-60650/qla2x00.c.secfix	2004-02-10 09:28:33.000000000 +0100
+++ linux-2.4.21/drivers/scsi/qla2xxx-60650/qla2x00.c	2004-04-23 13:14:07.000000000 +0200
@@ -18757,10 +18757,10 @@
 #ifndef __VMWARE__
            // XXX: Fix this when proc_mknod works again on main!!!
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
-	proc_mknod(APIDEV_NODE, 0777+S_IFCHR, host->hostt->proc_dir,
+	proc_mknod(APIDEV_NODE, 0600+S_IFCHR, host->hostt->proc_dir,
 			(kdev_t)MKDEV(apidev_major, 0));
 #else
-	proc_mknod(APIDEV_NODE, 0777+S_IFCHR, host->hostt->proc_dir,
+	proc_mknod(APIDEV_NODE, 0600+S_IFCHR, host->hostt->proc_dir,
 			(kdev_t)mk_kdev(apidev_major, 0));
 #endif
 #endif //__VMWARE__
--- linux-2.4.21/drivers/scsi/qla2xxx/qla2x00.c.secfix	2004-02-10 09:29:30.000000000 +0100
+++ linux-2.4.21/drivers/scsi/qla2xxx/qla2x00.c	2004-04-23 11:22:59.000000000 +0200
@@ -18720,10 +18720,10 @@
 #ifndef __VMWARE__
            // XXX: Fix this when proc_mknod works again on main!!!
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
-	proc_mknod(APIDEV_NODE, 0777+S_IFCHR, host->hostt->proc_dir,
+	proc_mknod(APIDEV_NODE, 0600+S_IFCHR, host->hostt->proc_dir,
 			(kdev_t)MKDEV(apidev_major, 0));
 #else
-	proc_mknod(APIDEV_NODE, 0777+S_IFCHR, host->hostt->proc_dir,
+	proc_mknod(APIDEV_NODE, 0600+S_IFCHR, host->hostt->proc_dir,
 			(kdev_t)mk_kdev(apidev_major, 0));
 #endif
 #endif //__VMWARE__



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]