DragonFly BSD
DragonFly commits List (threaded) for 2010-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: mmap - add mmap offset randomization


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 25 Nov 2010 01:24:14 -0800 (PST)

commit 911e30e25724984efec56accba87f739cfca2937
Author: Alex Hornung <ahornung@gmail.com>
Date:   Thu Nov 25 08:18:15 2010 +0000

    mmap - add mmap offset randomization
    
    * mmap offset randomization, based upon OpenBSD's implementation in
      sys/uvm/uvm_map.c and sys/uvm/uvm_mmap.c.
    
    * The randomization is controllable via the sysctl vm.randomize_mmap,
      which by default is 0 (off).
    
    Obtained-from: OpenBSD

Summary of changes:
 sys/vm/vm_map.c  |   56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sys/vm/vm_map.h  |    1 +
 sys/vm/vm_mmap.c |   10 ++------
 3 files changed, 60 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/911e30e25724984efec56accba87f739cfca2937


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]