Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2001 15:01:18 -0700 (PDT)
From:      Dima Dorfman <dd@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys un.h unpcb.h src/sys/kern uipc_proto.c uipc_usrreq.c src/share/man/man4 unix.4
Message-ID:  <200108172201.f7HM1Id35219@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
dd          2001/08/17 15:01:18 PDT

  Modified files:
    sys/sys              un.h unpcb.h 
    sys/kern             uipc_proto.c uipc_usrreq.c 
    share/man/man4       unix.4 
  Log:
  Implement a LOCAL_PEERCRED socket option which returns a
  `struct xucred` with the credentials of the connected peer.
  Obviously this only works (and makes sense) on SOCK_STREAM
  sockets.  This works for both the connect(2) and listen(2)
  callers.
  
  There is precise documentation of the semantics in unix(4).
  
  Reviewed by:	dwmalone (eyeballed)
  
  Revision  Changes    Path
  1.18      +5 -1      src/sys/sys/un.h
  1.12      +20 -1     src/sys/sys/unpcb.h
  1.22      +2 -2      src/sys/kern/uipc_proto.c
  1.67      +82 -3     src/sys/kern/uipc_usrreq.c
  1.5       +31 -2     src/share/man/man4/unix.4


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?200108172201.f7HM1Id35219>