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

cvs commit: src/sys/kern kern_exec.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 22 Jun 2005 12:40:35 -0700 (PDT)

dillon      2005/06/22 12:40:35 PDT

DragonFly src repository

  Modified files:
    sys/kern             kern_exec.c 
  Log:
  Randomize the initial stack pointer for a user process.    Introduce a
  sysctl, kern.stackgrap_random, to specify the random range.  The value must
  be a power of two.
  
  Submitted-by: Craig Dooley <xlnxminusx@xxxxxxxxx>
  Adapted-from: OpenBSD
  
  Revision  Changes    Path
  1.33      +31 -2     src/sys/kern/kern_exec.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_exec.c.diff?r1=1.32&r2=1.33&f=u



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