View previous topic :: View next topic |
Author |
Message |
Cirrius n00b


Joined: 08 Nov 2004 Posts: 36 Location: Franken
|
Posted: Tue Dec 07, 2004 4:57 am Post subject: NX-Bit aktivieren |
|
|
Hallo Forum,
ich hätte mal wieder eine Frage:
ich will demnächst auf meinen home-pc von dem unsäglichen suse 9.0 in der 64-Bit Variante (SuSE hatte berufliche Gründe, leidiger Zertifizierungsquatsch....) auf Gentoo umsteigen hätte ich eine Hardwarefrage:
Da ich ein x86_64 User bin, wäre es in meinen Interesse die Funktion des NX-Bits meines Prozessors auch zu nutzen. Soweit ich informiert bin wird dies im Vanilla unterstützt, ich hab mir mal die "Mühe" gemacht und den Patch (http://people.redhat.com/mingo/nx-patches/) im Kernelsource gegrept.
Das Problem: Wo ist die Option (gibt es überhaupt eine?) zum Aktivieren in der Kernelkonfiguration? |
|
Back to top |
|
 |
astaecker Guru

Joined: 28 Apr 2003 Posts: 403 Location: Hamburg / Germany
|
Posted: Tue Dec 07, 2004 9:56 am Post subject: |
|
|
Ich habe keine Ahnung, aber du kannst doch gleich einen Hardend-Kernel nutzen, da ist nämlich PaX schon drin, was das NX Bit nutzt.
Mehr Infos findest du auf der Hardend Projekt Seite. |
|
Back to top |
|
 |
Cirrius n00b


Joined: 08 Nov 2004 Posts: 36 Location: Franken
|
Posted: Wed Dec 08, 2004 5:06 am Post subject: |
|
|
Hallo,
ich will ja keine Softwareseitige Implementierung sondern die vorhandene Hardware nutzen.
Zu meinen Problem: Nun bin ich schon so weit, zu sagen, da 64GB Highmem im Kernel aktiviert sein sollte? Hmm... naja, so wichtig ist es auch nicht.,... |
|
Back to top |
|
 |
Genone Retired Dev


Joined: 14 Mar 2003 Posts: 9627 Location: beyond the rim
|
Posted: Wed Dec 08, 2004 8:29 am Post subject: |
|
|
Man muss gar nichts aktivieren (zumindest im 64 Bit Modus), NX wird automatisch angeschaltet. |
|
Back to top |
|
 |
astaecker Guru

Joined: 28 Apr 2003 Posts: 403 Location: Hamburg / Germany
|
Posted: Wed Dec 08, 2004 8:31 am Post subject: |
|
|
Cirrius wrote: |
ich will ja keine Softwareseitige Implementierung sondern die vorhandene Hardware nutzen. |
PaX kann sowohl das NX-Bit in Software emulieren als auch vorhandene Hardware nutzen. |
|
Back to top |
|
 |
Jtb Apprentice

Joined: 19 Dec 2003 Posts: 157 Location: Germany/Darmstadt
|
Posted: Thu Dec 09, 2004 8:51 pm Post subject: |
|
|
wie wäre es mit dem "noexec="-Kernelparameter?
Quote: |
Non Executable Mappings
noexec=on|off
on Enable
off Disable
noforce (default) Don't enable by default for heap/stack/data,
but allow PROT_EXEC to be effective
noexec32=opt{,opt}
Control the no exec default for 32bit processes.
Requires noexec=on or noexec=noforce to be effective.
Valid options:
all,on Heap,stack,data is non executable.
off (default) Heap,stack,data is executable
stack Stack is non executable, heap/data is.
force Don't imply PROT_EXEC for PROT_READ
compat (default) Imply PROT_EXEC for PROT_READ |
_________________ Jens
.. God is real - unless declared integer! |
|
Back to top |
|
 |
|