lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 12 Apr 2013 20:39:49 +0200
From:	richard -rw- weinberger <richard.weinberger@...il.com>
To:	Toralf Förster <toralf.foerster@....de>
Cc:	"user-mode-linux-user@...ts.sourceforge.net" 
	<user-mode-linux-user@...ts.sourceforge.net>,
	Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: build error with latest git kernel for a user mode linux build

On Fri, Apr 12, 2013 at 7:51 PM, Toralf Förster <toralf.foerster@....de> wrote:
> On 04/12/2013 07:41 PM, richard -rw- weinberger wrote:
>> You .config build perfectly fine here.
>> Have you tried a "make mrproper"?
> ick - I forgot to un-apply your patch you sent to me related to the trinity-madvise UML problem - compiles fine now again
>
> but this now seems not to work any longer :
>
> $ cat devel/stub_pte_fix.diff
> diff --git a/arch/um/include/asm/Kbuild b/arch/um/include/asm/Kbuild
> index b30f34a..db2d885 100644
> --- a/arch/um/include/asm/Kbuild
> +++ b/arch/um/include/asm/Kbuild
> @@ -3,3 +3,4 @@ generic-y += hw_irq.h irq_regs.h kdebug.h percpu.h sections.h topology.h xor.h
>  generic-y += ftrace.h pci.h io.h param.h delay.h mutex.h current.h exec.h
>  generic-y += switch_to.h clkdev.h
>  generic-y += trace_clock.h
> +header-y += mman.h
> diff --git a/arch/um/include/asm/mman.h b/arch/um/include/asm/mman.h
> new file mode 100644
> index 0000000..d8fb362
> --- /dev/null
> +++ b/arch/um/include/asm/mman.h
> @@ -0,0 +1,10 @@
> +#ifndef __UM_MMAN_H__
> ...

The attached patch is an updated version of stub_pte_fix.diff. It
should fix your issues. :-)

--
Thanks,
//richard

Download attachment "stub_pte_fix.diff" of type "application/octet-stream" (2443 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ