Re: [BUG report] UML linux-2.6 latest BK doesn't compile

2005-02-08 Thread Blaisorblade
return(err); } make arch/um/kernel/exec_kern.i ARCH=um grep bb_init arch/um/kernel/exec_kern.i gives nothing (tested with your config, too). Try adding a "#undef execve1" before the problematic line, and reporting (here I don't get the failure). -- Paolo Giarrusso, aka Blaisorblade Lin

Re: [BUG report] UML linux-2.6 latest BK doesn't compile

2005-02-08 Thread Blaisorblade
/exec_kern.i gives nothing (tested with your config, too). Try adding a #undef execve1 before the problematic line, and reporting (here I don't get the failure). -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade - To unsubscribe from

Re: [BUG report] UML linux-2.6 latest BK doesn't compile

2005-02-08 Thread Blaisorblade
was misleaded by the error message (which *does not* make sense). And it's the first time anybody sees a such error message, in my experience, so please post more details about your glibc (and whether gcov is installed). -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http

Re: [uml-devel] Re: [BUG report] UML linux-2.6 latest BK doesn't compile

2005-02-08 Thread Blaisorblade
On Tuesday 08 February 2005 11:40, Anton Altaparmakov wrote: On Tue, 2005-02-08 at 11:22 +0100, Blaisorblade wrote: On Tuesday 08 February 2005 11:09, Anton Altaparmakov wrote: Hi, With the current linux-2.6 BK tree I get this when trying to compile UML: CC init

[patch 2/2] uml - hostfs: (security) fix chmod +s permission check [before 2.6.11]

2005-02-07 Thread blaisorblade
From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> Cc: Frank 'xraz' Fricke <[EMAIL PROTECTED]>, Alexander Viro <[EMAIL PROTECTED]> Frank Fricke reported that hostfs does not verify that a chmod +s, for instance, is done by a sufficiently privileged user, as long as the

[patch 1/2] uml - kbuild: add further cleaning [before 2.6.11]

2005-02-07 Thread blaisorblade
From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> Descend into arch/um/kernel/skas/util during make clean. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- linux-2.6.11-paolo/arch/um/kernel/skas/Makefile |2 ++ 1 files changed, 2 insertions(+) di

Re: [uml-devel] Fix compilation of UML after the stack-randomization patches

2005-02-07 Thread Blaisorblade
inst kernelspace headers, i.e. not listed in USER_OBJS in the directory it's contained inside), and it'd be nice to add also the x86_64 version. -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade - To unsubscribe from this list: send the

[uml-devel] [patch 0/2] uml: other important patches to merge before 2.6.11

2005-02-07 Thread Blaisorblade
-- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo

[uml-devel] [patch 0/2] uml: other important patches to merge before 2.6.11

2005-02-07 Thread Blaisorblade
-- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [uml-devel] Fix compilation of UML after the stack-randomization patches

2005-02-07 Thread Blaisorblade
in USER_OBJS in the directory it's contained inside), and it'd be nice to add also the x86_64 version. -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

[patch 1/2] uml - kbuild: add further cleaning [before 2.6.11]

2005-02-07 Thread blaisorblade
From: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] Descend into arch/um/kernel/skas/util during make clean. Signed-off-by: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] --- linux-2.6.11-paolo/arch/um/kernel/skas/Makefile |2 ++ 1 files changed, 2 insertions(+) diff -puN arch/um

[patch 2/2] uml - hostfs: (security) fix chmod +s permission check [before 2.6.11]

2005-02-07 Thread blaisorblade
From: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] Cc: Frank 'xraz' Fricke [EMAIL PROTECTED], Alexander Viro [EMAIL PROTECTED] Frank Fricke reported that hostfs does not verify that a chmod +s, for instance, is done by a sufficiently privileged user, as long as the UML kernel itself can

[patch 7/8] uml: fix STATIC_LINK compilation [before 2.6.11]

2005-02-04 Thread blaisorblade
From: Jeff Dike <[EMAIL PROTECTED]> This fixes a bug which assumes that __binary_start starts on a page boundary, which isn't true when UML is configured to load into the normal executable area. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- linux-2.6.11-p

[patch 2/8] uml: kconfig fixes [before 2.6.11]

2005-02-04 Thread blaisorblade
Change some config text (hide CONFIG_MODVERSION which is broken on UML and fix a dummy prompt). Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- linux-2.6.11-paolo/arch/um/Kconfig |6 ++ linux-2.6.11-paolo/init/Kconfig|2 +- 2 files changed, 3 inse

[patch 4/8] uml: disallow stack access below $esp like i386 / x86_64 [before 2.6.11]

2005-02-04 Thread blaisorblade
"rsp-128", stack expansion is not allowed, and a SIGSEGV is given to the user. This patch makes UML behave like i386/x86_64. Signed-off-by: Bodo Stroesser <[EMAIL PROTECTED]> Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- linux-2.6.11-paolo/arch/um/kernel/trap

[patch 8/8] uml: fix x86_64 submode compilation [before 2.6.11]

2005-02-04 Thread blaisorblade
From: Jeff Dike <[EMAIL PROTECTED]> Forgot to use ARCH_USER_CFLAGS after defining it for x86_64. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- linux-2.6.11-paolo/arch/um/Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN arch/um/

[patch 3/8] uml: Fix SKAS sig-handler reentrancy [before 2.6.11]

2005-02-04 Thread blaisorblade
From: Jeff Dike <[EMAIL PROTECTED]>, Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> CC: uml-devel This adds code which enables SIGSEGV reception to the SKAS sig_handler_common, which matches the tt code. I still need to figure out why the SA_NODEFER flag was backed

[patch 5/8] uml: fix jiffies initialization [before 2.6.11]

2005-02-04 Thread blaisorblade
From: Jeff Dike <[EMAIL PROTECTED]>, Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> Initialize jiffies_64 to INITIAL_JIFFIES. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- linux-2.6.11-paolo/arch/um/kernel/time_kern.c |2 +- 1 files changed,

[patch 0/8] uml: important patches to merge before 2.6.11

2005-02-04 Thread Blaisorblade
e tree, i.e. arch/um/Kconfig_arch). I'm resending it, too, as plain-text attachment. Please apply. Thanks and regards -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade arch/um/Kconfig_arch is actually a symlink, so * Remove it from t

[patch 6/8] uml: fix broken #ifdef clause causing crashes [before 2.6.11]

2005-02-04 Thread blaisorblade
From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]>, Jeff Dike <[EMAIL PROTECTED]> The previous ifdef to check whether to use the host's vsyscall page was buggy. This bug can cause crashes. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- linux-2.

[patch 1/8] uml: fix compilation for missing headers [before 2.6.11]

2005-02-04 Thread blaisorblade
From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> Readd some needed headers inclusion deleted in http://linux.bkbits.net:8080/linux-2.5/[EMAIL PROTECTED] If you think it cannot make sense to include both and (as userspace process, i.e. host includes), go complaining with

[patch 1/8] uml: fix compilation for missing headers [before 2.6.11]

2005-02-04 Thread blaisorblade
From: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] Readd some needed headers inclusion deleted in http://linux.bkbits.net:8080/linux-2.5/[EMAIL PROTECTED] If you think it cannot make sense to include both sys/ptrace.h and linux/ptrace.h (as userspace process, i.e. host includes), go

[patch 0/8] uml: important patches to merge before 2.6.11

2005-02-04 Thread Blaisorblade
/Kconfig_arch). I'm resending it, too, as plain-text attachment. Please apply. Thanks and regards -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade arch/um/Kconfig_arch is actually a symlink, so * Remove it from the tree. * Make sure

[patch 6/8] uml: fix broken #ifdef clause causing crashes [before 2.6.11]

2005-02-04 Thread blaisorblade
From: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED], Jeff Dike [EMAIL PROTECTED] The previous ifdef to check whether to use the host's vsyscall page was buggy. This bug can cause crashes. Signed-off-by: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] --- linux-2.6.11-paolo/arch/um

[patch 5/8] uml: fix jiffies initialization [before 2.6.11]

2005-02-04 Thread blaisorblade
From: Jeff Dike [EMAIL PROTECTED], Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] Initialize jiffies_64 to INITIAL_JIFFIES. Signed-off-by: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] --- linux-2.6.11-paolo/arch/um/kernel/time_kern.c |2 +- 1 files changed, 1 insertion(+), 1

[patch 3/8] uml: Fix SKAS sig-handler reentrancy [before 2.6.11]

2005-02-04 Thread blaisorblade
From: Jeff Dike [EMAIL PROTECTED], Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] CC: uml-devel user-mode-linux-devel@lists.sourceforge.net This adds code which enables SIGSEGV reception to the SKAS sig_handler_common, which matches the tt code. I still need to figure out why the SA_NODEFER

[patch 8/8] uml: fix x86_64 submode compilation [before 2.6.11]

2005-02-04 Thread blaisorblade
From: Jeff Dike [EMAIL PROTECTED] Forgot to use ARCH_USER_CFLAGS after defining it for x86_64. Signed-off-by: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] --- linux-2.6.11-paolo/arch/um/Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN arch/um/Makefile~uml

[patch 4/8] uml: disallow stack access below $esp like i386 / x86_64 [before 2.6.11]

2005-02-04 Thread blaisorblade
is not allowed, and a SIGSEGV is given to the user. This patch makes UML behave like i386/x86_64. Signed-off-by: Bodo Stroesser [EMAIL PROTECTED] Signed-off-by: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] --- linux-2.6.11-paolo/arch/um/kernel/trap_kern.c|2 ++ linux-2.6.11-paolo

[patch 2/8] uml: kconfig fixes [before 2.6.11]

2005-02-04 Thread blaisorblade
Change some config text (hide CONFIG_MODVERSION which is broken on UML and fix a dummy prompt). Signed-off-by: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] --- linux-2.6.11-paolo/arch/um/Kconfig |6 ++ linux-2.6.11-paolo/init/Kconfig|2 +- 2 files changed, 3 insertions

[patch 7/8] uml: fix STATIC_LINK compilation [before 2.6.11]

2005-02-04 Thread blaisorblade
From: Jeff Dike [EMAIL PROTECTED] This fixes a bug which assumes that __binary_start starts on a page boundary, which isn't true when UML is configured to load into the normal executable area. Signed-off-by: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] --- linux-2.6.11-paolo/arch/um

ATI modules using the _syscall() macro for unexported syscalls (was: Re: Fw: Re: [patch 02/11] uml: fix compilation for missing headers)

2005-02-03 Thread Blaisorblade
ting EXPORT_SYMBOL restrictions and thus violating the license. IANAL, however. -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [uml-devel] Re: [PATCH 2.6] 4/7 replace uml_strdup by kstrdup

2005-02-03 Thread Blaisorblade
ance of these patches. If there is a chance they're > accepted, maybe the best thing to do is to post the series again with > this correction and the sound patch corrections. -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade - To un

Re: [PATCH] UML - compile fixes for 2.6.11-rc3

2005-02-03 Thread Blaisorblade
ions. -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/m

Re: [uml-devel] Re: [PATCH 2.6] 4/7 replace uml_strdup by kstrdup

2005-02-03 Thread Blaisorblade
for pointing this out. I still haven't got feedback regarding the acceptance of these patches. If there is a chance they're accepted, maybe the best thing to do is to post the series again with this correction and the sound patch corrections. -- Paolo Giarrusso, aka Blaisorblade Linux registered user n

Re: [PATCH] UML - compile fixes for 2.6.11-rc3

2005-02-03 Thread Blaisorblade
Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

ATI modules using the _syscall() macro for unexported syscalls (was: Re: Fw: Re: [patch 02/11] uml: fix compilation for missing headers)

2005-02-03 Thread Blaisorblade
restrictions and thus violating the license. IANAL, however. -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

[patch 1/1] fix syscallN() macro errno value checking for i386

2005-01-28 Thread blaisorblade
From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> Cc: David Howells <[EMAIL PROTECTED]> The errno values which are visible for userspace are actually in the range -1 - -129, not until -128 (): this value was added: #define EKEYREJECTED129 /* Key was rejecte

Re: [PATCH 5/10] UML - compile fixes

2005-01-28 Thread Blaisorblade
On Friday 28 January 2005 23:10, Andrew Morton wrote: > Blaisorblade <[EMAIL PROTECTED]> wrote: > > On Monday 17 January 2005 08:27, Andrew Morton wrote: > > > Jeff Dike <[EMAIL PROTECTED]> wrote: > > > > This fixes some warnings, and changes the system

Re: [PATCH 5/10] UML - compile fixes

2005-01-28 Thread Blaisorblade
On Friday 28 January 2005 23:10, Andrew Morton wrote: Blaisorblade [EMAIL PROTECTED] wrote: On Monday 17 January 2005 08:27, Andrew Morton wrote: Jeff Dike [EMAIL PROTECTED] wrote: This fixes some warnings, and changes the system call table so that it will compile in -linus, where

[patch 1/1] fix syscallN() macro errno value checking for i386

2005-01-28 Thread blaisorblade
From: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] Cc: David Howells [EMAIL PROTECTED] The errno values which are visible for userspace are actually in the range -1 - -129, not until -128 (): this value was added: #define EKEYREJECTED129 /* Key was rejected by service

[patch 1/1] uml: Kconfig_arch little cleanup (to merge before 2.6.11)

2005-01-26 Thread blaisorblade
arch/um/Kconfig_arch is actually a symlink, so * Remove it from the tree. * Make sure it is removed during make mrproper. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- linux-2.6.11-paolo/arch/um/Makefile |8 ++-- linux-2.6.11/arch/um/Kconfig_arch

[patch 1/1] uml: Kconfig_arch little cleanup (to merge before 2.6.11)

2005-01-26 Thread blaisorblade
arch/um/Kconfig_arch is actually a symlink, so * Remove it from the tree. * Make sure it is removed during make mrproper. Signed-off-by: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] --- linux-2.6.11-paolo/arch/um/Makefile |8 ++-- linux-2.6.11/arch/um/Kconfig_arch | 16

[patch 1/1] kbuild: no redundant srctree in tags file

2005-01-20 Thread blaisorblade
From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> Cc: Sam Ravnborg <[EMAIL PROTECTED]> Avoid cluttering the tags/TAGS generated file with $(srctree) in the paths if this is not needed. This has two advantages: * 1) Saving about 20M on the size of the resulting tags file (wh

[patch 1/1] kbuild: no redundant srctree in tags file

2005-01-20 Thread blaisorblade
From: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] Cc: Sam Ravnborg [EMAIL PROTECTED] Avoid cluttering the tags/TAGS generated file with $(srctree) in the paths if this is not needed. This has two advantages: * 1) Saving about 20M on the size of the resulting tags file (which are used

<    2   3   4   5   6   7