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

cvs commit: src/sys/kern kern_sysctl.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 23 Nov 2003 14:15:22 -0800 (PST)

dillon      2003/11/23 14:15:22 PST

DragonFly src repository

  Modified files:
    sys/kern             kern_sysctl.c 
  Log:
  Fix the OID_AUTO collision with static sysctl numbers.  This can occur
  when things like DIVERT are turned on, because they use static oid's
  larger then 100.  Change the minimum OID_AUTO oid from 100 to 256 (taken
  from FreeBSD-5.x), and add the assignment scan code from FreeBSD-4.x
  rather then using a static variable.
  
  Revision  Changes    Path
  1.14      +11 -5     src/sys/kern/kern_sysctl.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_sysctl.c.diff?r1=1.13&r2=1.14&f=h



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