[PATCH] randomized mmap
From: Suleiman Souhlal (ssouhlal_at_FreeBSD.org)
Date: 05/30/05
- Previous message: Suleiman Souhlal: "Re: [PATCH] Stackgap"
- Next in thread: Marcel Moolenaar: "Re: [PATCH] randomized mmap"
- Reply: Marcel Moolenaar: "Re: [PATCH] randomized mmap"
- Reply: Robert Watson: "Re: [PATCH] randomized mmap"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: arch@FreeBSD.org Date: Sun, 29 May 2005 22:47:03 -0400
Hi!
The patch at http://people.freebsd.org/~ssouhlal/testing/
mmap_random-20050528.diff implements random mmap addresses (unless of
course MAP_FIXED is being used), again from OpenBSD.
This behavior can be disabled setting the vm.mmap_random sysctl to 0.
I think this could greatly increase memory fragmentation, so I'm not
sure it would be such a good idea to have it on by default. Also, it
doesn't really make attacks unfeasable, but the implementation is so
simple that I don't think we really lose anything by letting users
decide if they want to enable it or not.
Any comment?
-- Suleiman Souhlal | ssouhlal@vt.edu The FreeBSD Project | ssouhlal@FreeBSD.org _______________________________________________ freebsd-arch@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Suleiman Souhlal: "Re: [PATCH] Stackgap"
- Next in thread: Marcel Moolenaar: "Re: [PATCH] randomized mmap"
- Reply: Marcel Moolenaar: "Re: [PATCH] randomized mmap"
- Reply: Robert Watson: "Re: [PATCH] randomized mmap"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|