lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 6 Oct 2006 16:44:32 +0200
From:	Michael Buesch <mb@...sch.de>
To:	Alan Cox <alan@...rguk.ukuu.org.uk>
Cc:	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: Really good idea to allow mmap(0, FIXED)?

On Thursday 05 October 2006 23:58, Alan Cox wrote:
> Ar Iau, 2006-10-05 am 20:59 +0200, ysgrifennodd Michael Buesch:
> > Is is really a good idea to allow processes to remap something
> > to address 0?
> 
> It is very useful indeed. Consider for example dosemu.

Ok, good point.

> > Besides that, I currently don't see a valid reason to mmap address 0.
> > 
> > Comments?
> 
> User zero is not neccessarily mapped at kernel zero so your argument
> isn't portable either.

Eh, so what about the following.
We _have_ arches which map user zero to kernel zero. What about
specialcasing that on a per-arch case. So remapping user zero to
something else in kernel.

-- 
Greetings Michael.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ