cvs commit: src/sys/kern kern_sysctl.c

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Nov 23 14:16:00 PST 2003


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





More information about the Commits mailing list