[uml-devel] [PATCH 2/2] powerpc/mm: Tracking vDSO remap

2015-03-21 Thread Laurent Dufour
Some processes (CRIU) are moving the vDSO area using the mremap system call. As a consequence the kernel reference to the vDSO base address is no more valid and the signal return frame built once the vDSO has been moved is not pointing to the new sigreturn address. This patch handles vDSO remappin

[uml-devel] [PATCH 0/2] Tracking user space vDSO remaping

2015-03-21 Thread Laurent Dufour
CRIU is recreating the process memory layout by remapping the checkpointee memory area on top of the current process (criu). This includes remapping the vDSO to the place it has at checkpoint time. However some architectures like powerpc are keeping a reference to the vDSO base address to build th

Re: [uml-devel] [PATCH 1/2] mm: Introducing arch_remap hook

2015-03-21 Thread Richard Weinberger
Am 20.03.2015 um 16:53 schrieb Laurent Dufour: > Some architecture would like to be triggered when a memory area is moved > through the mremap system call. > > This patch is introducing a new arch_remap mm hook which is placed in the > path of mremap, and is called before the old area is unmapped

[uml-devel] [PATCH 1/2] mm: Introducing arch_remap hook

2015-03-21 Thread Laurent Dufour
Some architecture would like to be triggered when a memory area is moved through the mremap system call. This patch is introducing a new arch_remap mm hook which is placed in the path of mremap, and is called before the old area is unmapped (and the arch_unmap hook is called). To no break the bui

Re: [uml-devel] starting an 32 bit x86 chroot uml image at a ahrdened Gentoo amd64 system fails

2015-03-21 Thread Richard Weinberger
Am 16.03.2015 um 14:23 schrieb Toralf Förster: > On 03/15/2015 05:56 PM, Richard Weinberger wrote: >> Then please move the hardened gcc to /dev/null. ;-) > > yes, at least to compile the UML linux > >> If you can tell me what hardening feature is the root cause I can think of a >> solution. > Wi