Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2001 02:16:37 -0700 (PDT)
From:      Peter Pentchev <roam@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_sysctl.c
Message-ID:  <200110120916.f9C9Gbl49976@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
roam        2001/10/12 02:16:37 PDT

  Modified files:
    sys/kern             kern_sysctl.c 
  Log:
  Remove the panic when trying to register a sysctl with an oid too high.
  This stops panics on unloading modules which define their own sysctl sets.
  
  However, this also removes the protection against somebody actually
  defining a static sysctl with an oid in the range of the dynamic ones,
  which would break badly if there is already a dynamic sysctl with
  the requested oid.
  
  Apparently, the algorithm for removing sysctl sets needs a bit more work.
  For the present, the panic I introduced only leads to Bad Things (tm).
  
  Submitted by:	many users of -current :(
  Pointy hat to:	roam (myself) for not testing rev. 1.112 enough.
  
  Revision  Changes    Path
  1.117     +7 -3      src/sys/kern/kern_sysctl.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110120916.f9C9Gbl49976>