Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2009 10:56:13 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern kern_priv.c
Message-ID:  <200902261056.n1QAuMdi049139@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2009-02-26 10:56:13 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_priv.c 
  Log:
  SVN rev 189063 on 2009-02-26 10:56:13Z by rwatson
  
  Add static tracing for privilege checking:
  
    priv:kernel:priv_check:priv_ok fires for granted privileges
    priv:kernel:priv_check:priv_errr fires for denied privileges
  
  The first argument is the requested privilege number.  The naming
  convention is a little different from the OpenSolaris equivilent
  because we can't have '-' in probefunc names, and our privilege
  namespace is different.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.7       +40 -9     src/sys/kern/kern_priv.c



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