Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2001 10:44:50 -0800 (PST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_prot.c
Message-ID:  <200111021844.fA2IipI21839@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2001/11/02 10:44:50 PST

  Modified files:
    sys/kern             kern_prot.c 
  Log:
  o Introduce group subset test, which limits the ability of a process to
    debug another process based on their respective {effective,additional,
    saved,real} gid's.  p1 is only permitted to debug p2 if its effective
    gids (egid + additional groups) are a strict superset of the gids of
    p2.  This implements properly the security test previously incorrectly
    implemented in kern_ktrace.c, and is consistent with the kernel
    security policy (although might be slightly confusing for those more
    familiar with the userland policy).
  o Restructure p_candebug() logic so that various results are generated
    comparing uids, gids, credential changes, and then composed in a
    single check before testing for privilege.  These tests encapsulate
    the "BSD" inter-process debugging policy.  Other non-BSD checks remain
    seperate.  Additional comments are added.
  
  Submitted by:   tmm, rwatson
  Obtained from:  TrustedBSD Project
  Reviewed by:    petef, tmm, rwatson
  
  Revision  Changes    Path
  1.120     +36 -8     src/sys/kern/kern_prot.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?200111021844.fA2IipI21839>