tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: amd64: kernel aslr support



Le 07/10/2017 à 21:29, Valery Ushakov a écrit :
On Sat, Oct 07, 2017 at 20:42:58 +0200, Maxime Villard wrote:

Le 04/10/2017 ? 21:00, Maxime Villard a ?crit :
Here is a Kernel ASLR implementation for NetBSD-amd64.
[...]
Known issues:
[...]
  * There are several redefinitions in the prekern headers. The way to remove
    them depends on where we put the prekern in the source tree.

Does someone have a preference on where to put the prekern? I guess I'll
put it in src/sys/arch/amd64/prekern/.

I'd say src/sys/arch/amd64/stand/prekern to conform to existing
practice.

Alright, I did it. As I said in the commit message, it's not yet linked to
the build system, but basically it works.

You can build and install it this way:
	cd /usr/src/sys/arch/amd64/stand/prekern
	make
	cp prekern /

Maxime


Home | Main Index | Thread Index | Old Index