rpms/kernel/devel linux-2.6-x86_64-noisy-syscalls.patch, NONE, 1.1 kernel-2.6.spec, 1.2267, 1.2268

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Sun Jun 11 23:05:00 UTC 2006


Author: davej

Update of /cvs/dist/rpms/kernel/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv2620

Modified Files:
	kernel-2.6.spec 
Added Files:
	linux-2.6-x86_64-noisy-syscalls.patch 
Log Message:
Silence noisy unimplemented 32bit syscalls on x86-64.


linux-2.6-x86_64-noisy-syscalls.patch:
 sys_ia32.c |   14 +++-----------
 1 files changed, 3 insertions(+), 11 deletions(-)

--- NEW FILE linux-2.6-x86_64-noisy-syscalls.patch ---
--- linux-2.6.16.noarch/arch/x86_64/ia32/sys_ia32.c~	2006-05-21 14:50:57.000000000 -0400
+++ linux-2.6.16.noarch/arch/x86_64/ia32/sys_ia32.c	2006-05-21 14:51:48.000000000 -0400
@@ -522,17 +522,9 @@ sys32_waitpid(compat_pid_t pid, unsigned
 }
 
 int sys32_ni_syscall(int call)
-{ 
-	struct task_struct *me = current;
-	static char lastcomm[sizeof(me->comm)];
-
-	if (strncmp(lastcomm, me->comm, sizeof(lastcomm))) {
-		printk(KERN_INFO "IA32 syscall %d from %s not implemented\n",
-		       call, me->comm);
-		strncpy(lastcomm, me->comm, sizeof(lastcomm));
-	} 
-	return -ENOSYS;	       
-} 
+{
+	return -ENOSYS;
+}
 
 /* 32-bit timeval and related flotsam.  */
 


Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/dist/rpms/kernel/devel/kernel-2.6.spec,v
retrieving revision 1.2267
retrieving revision 1.2268
diff -u -r1.2267 -r1.2268
--- kernel-2.6.spec	11 Jun 2006 23:02:58 -0000	1.2267
+++ kernel-2.6.spec	11 Jun 2006 23:04:47 -0000	1.2268
@@ -268,6 +268,7 @@
 Patch205: linux-2.6-x86_64-smp-on-uphw-cpucount.patch
 Patch206: linux-2.6-x86-hp-reboot.patch
 Patch207: linux-2.6-x86-cpu_index-false.patch
+Patch208: linux-2.6-x86_64-noisy-syscalls.patch
 
 # 300 - 399   ppc(64)
 Patch302: linux-2.6-offb-find-fb.patch
@@ -840,6 +841,8 @@
 %patch206 -p1
 # cpu_index >= NR_CPUS becomming always false.
 %patch207 -p1
+# Hush noisy unimplemented 32bit syscalls
+%patch208 -p1
 
 #
 # ppc64
@@ -1822,6 +1825,7 @@
 * Sat Jun 10 2006 Dave Jones <davej at redhat.com>
 - 2.6.17-rc6-git2
 - Add MyMusix PD-205 to the unusual USB quirk list.
+- Silence noisy unimplemented 32bit syscalls on x86-64.
 
 * Sat Jun 10 2006 Juan Quintela <quintela at redhat.com>
 - rebase xen to linux-2.6 cset 27412




More information about the fedora-cvs-commits mailing list