Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2001 14:03:54 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_prot.c src/sys/sys proc.h
Message-ID:  <200109182103.f8IL3sw34706@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2001/09/18 14:03:54 PDT

  Modified files:
    sys/kern             kern_prot.c 
    sys/sys              proc.h 
  Log:
  o Introduce two new calls, securelevel_gt() and securelevel_ge(), which
    abstract the securelevel implementation details from the checking
    code.  The call in -CURRENT accepts a struct ucred--in -STABLE, it
    will accept struct proc.  This facilitates the upcoming commit of
    per-jail securelevel support.  The calls will also generate a
    kernel printf if the calls are made with NULL ucred/proc pointers:
    generally speaking, there are few instances of this, and they should
    be fixed.
  o Update p_candebug() to use securelevel_gt(); future updates to the
    remainder of the kernel tree will be committed soon.
  
  Obtained from:	TrustedBSD Project
  
  Revision  Changes    Path
  1.103     +58 -4     src/sys/kern/kern_prot.c
  1.184     +3 -1      src/sys/sys/proc.h


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?200109182103.f8IL3sw34706>