2.4.21-rc2 and rc1 compile problem in fs/exec.c + PATCH

dvorak (dvorak@xs4all.nl)
Wed, 14 May 2003 02:26:18 +0200


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-13797-1052872019-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,

while compiling a 2.4.21-rc2 kernel i noticed the following
compile problem:

exec.c: In function `format_corename':
exec.c:1084: `uts_sem' undeclared (first use in this function)
exec.c:1084: (Each undeclared identifier is reported only once
exec.c:1084: for each function it appears in.)
exec.c:1086: `system_utsname' undeclared (first use in this function)

reverting back to 2.4.21-rc1 shows the same problem, solution
seems to add #include <linux/utsname.h> to the list of included
files in fs/exec.c couldn't find anything in the mailing lists
(searched for uts_sem at theaimsgroup) hope this patch helps,

gtx.
dvorak

P.S. i am not subscribed but i'll follow the archives the coming
time, Cc if possible.

--=_courier-13797-1052872019-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="rc2-exec-patch.diff"

--- fs/exec.c.orig 2003-05-14 02:23:56.000000000 +0200
+++ fs/exec.c 2003-05-14 02:26:09.000000000 +0200
@@ -36,6 +36,7 @@
#include <linux/spinlock.h>
#include <linux/personality.h>
#include <linux/random.h>
+#include <linux/utsname.h>
#define __NO_VERSION__
#include <linux/module.h>

--=_courier-13797-1052872019-0001-2--