Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Aug 2002 09:49:03 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern uipc_socket.c
Message-ID:  <200208121649.g7CGn3Nk059650@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2002/08/12 09:49:03 PDT

  Modified files:
    sys/kern             uipc_socket.c 
  Log:
  Use the credential authorizing the socket creation operation to perform
  the jail check and the MAC socket labeling in socreate().  This handles
  socket creation using a cached credential better (such as in the NFS
  client code when rebuilding a socket following a disconnect: the new
  socket should be created using the nfsmount cached cred, not the cred
  of the thread causing the socket to be rebuilt).
  
  Obtained from:  TrustedBSD Project
  Sponsored by:   DARPA, NAI Labs
  
  Revision  Changes    Path
  1.130     +2 -2      src/sys/kern/uipc_socket.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?200208121649.g7CGn3Nk059650>