Gentoo Archives: gentoo-hardened

From: pageexec@××××××××.hu
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] 2.6.28-hardened-r7 hangs before starting /sbin/init
Date: Fri, 03 Apr 2009 06:50:48
Message-Id: 49D5B1BD.32679.3A29DEB3@pageexec.freemail.hu
In Reply to: Re: [gentoo-hardened] 2.6.28-hardened-r7 hangs before starting /sbin/init by Alex Efros
1 On 3 Apr 2009 at 2:04, Alex Efros wrote:
2
3 > I think best way to find out what happens - add debug prints into PaX code
4 > which executes while starting process N1.
5
6 ok, can you add a printk into mm/mmap.c:mmap_region and print out all the
7 arguments? that will show us at least what the kernel intended to mmap
8 during execve. something like:
9
10 printk("f:%p a:%0lx l:%0lx f:%0lx v:%0lx p:%0lx\n", file, addr, len, flags, vm_flags, pgoff);
11
12 also to simplify matters, can you just run with the PaX test patch alone?

Replies

Subject Author
Re: [gentoo-hardened] 2.6.28-hardened-r7 hangs before starting /sbin/init Alex Efros <powerman@××××××××××××××××××.com>