+ provide-kernel_execve-on-all-architectures-fix-3.patch added to -mm tree

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

 



The patch titled

     Make 2.6.18-rc5-mm1 compile

has been added to the -mm tree.  Its filename is

     provide-kernel_execve-on-all-architectures-fix-3.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: Make 2.6.18-rc5-mm1 compile
From: Bernhard Rosenkraenzer <bero@xxxxxxxxxxxx>

  CC      arch/i386/kernel/sys_i386.o
arch/i386/kernel/sys_i386.c: In function 'kernel_execve':
arch/i386/kernel/sys_i386.c:262: error: '__NR_execve' undeclared (first use in
this function)
arch/i386/kernel/sys_i386.c:262: error: (Each undeclared identifier is
reported only once
arch/i386/kernel/sys_i386.c:262: error: for each function it appears in.)
make[1]: *** [arch/i386/kernel/sys_i386.o] Error 1
make: *** [arch/i386/kernel] Error 2

It's just a missing #include for the __NR_execve define -- fix below.

Signed-off-by: Bernhard Rosenkraenzer <bero@xxxxxxxxxxxx>
Cc: Arnd Bergmann <arnd@xxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 arch/i386/kernel/sys_i386.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN arch/i386/kernel/sys_i386.c~provide-kernel_execve-on-all-architectures-fix-3 arch/i386/kernel/sys_i386.c
--- a/arch/i386/kernel/sys_i386.c~provide-kernel_execve-on-all-architectures-fix-3
+++ a/arch/i386/kernel/sys_i386.c
@@ -21,6 +21,7 @@
 #include <linux/utsname.h>
 
 #include <asm/uaccess.h>
+#include <asm/unistd.h>
 #include <asm/ipc.h>
 
 /*
_

Patches currently in -mm which might be from bero@xxxxxxxxxxxx are

provide-kernel_execve-on-all-architectures-fix-3.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux