Re: [uml-devel] [PATCH] UML - fix utsname build breakage

2006-07-15 Thread Jeff Dike
On Sat, Jul 15, 2006 at 09:30:26PM -0400, Jeff Garzik wrote: > I can't find any 'JB_' symbols on my computer, except for the uses in > your source code. :( In libc, there used to be. A quick and dirty patch, unsuitable for mainline is this: Newer libcs don't define the JB_* jmp_buf access mac

Re: [uml-devel] [PATCH] UML - fix utsname build breakage

2006-07-15 Thread Jeff Garzik
Thanks for this. There is still upstream build breakage, on latest linux-2.6.git (x86_64, FC5, attached config): CC arch/um/os-Linux/sys-x86_64/registers.o arch/um/os-Linux/sys-x86_64/registers.c: In function ‘get_thread_regs’: arch/um/os-Linux/sys-x86_64/registers.c:85: error: ‘JB_PC’

[uml-devel] cap-bound not working in uml

2006-07-15 Thread Frank v Waveren
I was trying to limit some unecessary capabilities in a UML instance with /proc/sys/kernel/cap-bound, but it turned out not to take. The source of the problem (or at least something a bit of the way up the garden path of the problem) is at security/commoncap.c:140 at the top of cap_bprm_apply_cred