Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 2002 20:52:44 -0700 (PDT)
From:      Dima Dorfman <dd@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/fs/devfs devfs_rule.c
Message-ID:  <200207280352.g6S3qiBY012941@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
dd          2002/07/27 20:52:44 PDT

  Modified files:
    sys/fs/devfs         devfs_rule.c 
  Log:
  Unimplement panic(8) by making sure that we don't recurse into a
  ruleset.  If we do, that means there's a ruleset loop (10 includes 20
  include 30 includes 10), which will quickly cause a double fault due
  to stack overflow (since "include" is implemented by recursion).
  (Previously, we only checked that X didn't include X.)
  
  Revision  Changes    Path
  1.2       +11 -5     src/sys/fs/devfs/devfs_rule.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?200207280352.g6S3qiBY012941>