Go Back   DaemonForums > DaemonForums.org > News

News News regarding BSD and related.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 31st May 2011
J65nko J65nko is offline
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,503
Default vmmap: bad software everywhere

A message from Marc Espie on the OpenBSD misc mailing list

People not following development too closely may not be aware of it,
but we've had a lot of fun with amd64 recently.

Specifically, Ariane committed a new vmmap implementation that tends to
actually use the 64 bits address space, in userland. She even has some
more nasty diff that does its best to put allocations far apart in that
address space.

Not surprisingly, a lot of software that claims to be 64 bits-ready isn't.
This touches all web navigators, most jit engines, and probably lots more
of software (our ports tree version of gnu-grep, for instance).

How comes nobody in other OSes noticed ? Well, people probably did, and
tweaked their allocators to "work", by using preferably the low address space,
and having addresses that increase slowly, so that a lot of pointers are below
4GB, and a lot of pointer diffs are under 4GB.

This is yet another example of the patheticness that is modern software
development. Instead of going headfront and fixing the actual problems,
most systems cope out and just sweep the problem under the carpet, hoping
no-one will notice.

So, a lot of developers are hard at work figuring the problems, getting the
word upstream.

In case you're wondering about the stakes, well:

1/ this software will break elsewhere eventually. It's just a question of
processing enough data to break thru the 32 bits barrier consistenly.

2/ 64 bits is good for security. When you use the full address range and
randomness, exploiting heap buffer overflows becomes much harder.

Disclaimer: opinion and message my own, Theo, Ariane, Naddy, Robert will
probably chime in, and correct stupid things I've said.
See http://marc.info/?l=openbsd-misc&m=130683944229077&w=2 for the comments of other OBSD developers.
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtualization Software ninjatux FreeBSD Ports and Packages 4 8th January 2009 08:49 PM
Fax software drhowarddrfine General software and network 31 25th December 2008 06:18 AM
any wlanconfig-like software? niedzwiedz FreeBSD General 2 30th July 2008 11:56 PM
CD Burning Software ninjatux FreeBSD Ports and Packages 7 17th July 2008 08:37 AM
bbs software mjt FreeBSD Ports and Packages 3 8th May 2008 03:02 PM

All times are GMT. The time now is 01:29 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick