Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: [Opgelost] Wat doet vm.mmap_min_addr=0 ?  (gelezen 390 keer)

[Opgelost] Wat doet vm.mmap_min_addr=0 ?
« Gepost op: 2011/11/21, 19:31:29 »
http://www.columbia.edu/~em36/wpdos/linux.html
Ik kwam dit hier tegen en het blijkt om hetzelfde bestandje te gaan als de swappiness verlagen. Maar dan wel met een andere regel.

"Warning: Under Ubuntu 10.04 and 10.10, DOSEMU will not run until you perform the following steps. With root privileges, edit the file /etc/sysctl.conf, perhaps by running this command from a terminal:

sudo gedit /etc/sysctl.conf

At the very end of the file add the following line:

vm.mmap_min_addr=0"

Wat doet die regel precies dan?
« Laatst bewerkt op: 2011/11/21, 21:05:54 door Vistaus »

Offline vanadium

  • Lid
Re: Wat doet vm.mmap_min_addr=0 ?
« Reactie #1 Gepost op: 2011/11/21, 19:46:03 »
Citaat
mmap_min_addr is a kernel tunable that specifies the minimum virtual address that a process is allowed to mmap. Allowing processes to map low values increases the security implications of a class of defects known as "kernel NULL pointer dereference" defects. If a malicious local user finds a way to trigger one of these NULL pointer defects, they can exploit it to cause system hangs, crashes, or otherwise make parts of the system unusable. If this user is also able to map low portions of virtual memory, they can often further exploit this issue to gain increased privileges.
Ik hoop dat dit één en ander heeft verduidelijkt  =D

Re: Wat doet vm.mmap_min_addr=0 ?
« Reactie #2 Gepost op: 2011/11/21, 21:05:43 »
Dank! :)
Voor huis-tuin-en-keukengebruik is dit dus gewoon veilig, want enig veiligheidsrisico is er alleen maar als iemand toegang heeft tot je computer. Maar nu weet ik dus ook wat het is, dank! :)