Re: [PATCH] compile and link utsname_sysctl.o

From: Laurent Riffard
Date: Tue Jan 30 2007 - 11:27:09 EST



Le 30.01.2007 16:11, Eric W. Biederman a écrit :
Laurent Riffard <laurent.riffard@xxxxxxx> writes:

The utsname stuff has been moved from kernel/sysctl.c to the new file
utsname_sysctl.c. Let's use it...

Signed-off-by: Laurent Riffard <laurent.riffard@xxxxxxx>

Hmm. Maybe something got lost along the way but I have this
line in my kernel/Makefile and in the patch I sent out.

obj-$(CONFIG_SYSCTL) += utsname_sysctl.o

Do you not have that?

mmm...

linux-2.6-mm$ grep SYSCTL kernel/Makefile
linux-2.6-mm$ echo $?
1

linux-2.6-mm$ grep SYSCTL .config
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_SYSCTL=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_PROC_SYSCTL=y

tmp$ grep "obj-\$(CONFIG_SYSCTL)" broken-out/*
tmp$ echo $?
1
tmp$

What problem are you seeing?

Some /proc files were lacking: /proc/sys/kernel/{osrelease|osrelease|version|...}.

--
laurent

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/