Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2002 06:57:49 -0800 (PST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_exec.c
Message-ID:  <200211051457.gA5Evnk0026777@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2002/11/05 06:57:49 PST

  Modified files:
    sys/kern             kern_exec.c 
  Log:
  Hook up the mac_will_execve_transition() and mac_execve_transition()
  entrypoints, #ifdef MAC.  The supporting logic already existed in
  kern_mac.c, so no change there.  This permits MAC policies to cause
  a process label change as the result of executing a binary --
  typically, as a result of executing a specially labeled binary.
  
  For example, the SEBSD port of SELinux/FLASK uses this functionality
  to implement TE type transitions on processes using transitioning
  binaries, in a manner similar to setuid.  Policies not implementing
  a notion of transition (all the ones in the tree right now) require
  no changes, since the old label data is copied to the new label
  via mac_create_cred() even if a transition does occur.
  
  Obtained from:  TrustedBSD Project
  Sponsored by:   DARPA, Network Associates Laboratories
  
  Revision  Changes    Path
  1.195     +15 -0     src/sys/kern/kern_exec.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?200211051457.gA5Evnk0026777>