git: kernel - Implement SO_PASSCRED

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Jul 29 14:12:17 PDT 2020


commit 3aa364b8e8628778f6aaaca0b9f692abffff5022
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Jul 29 13:58:54 2020 -0700

    kernel - Implement SO_PASSCRED
    
    * Implement SO_PASSCRED.  This allows the receiving end of a local socket
      to request creds even if the sending end did not send any.
    
    * Allows the use of a common local socket with multiple end points, e.g.
      for stderr, such that the receiving entity can distinguish between
      message sources.
    
    Taken-from: Linux

Summary of changes:
 sys/kern/uipc_socket.c |  2 ++
 sys/kern/uipc_usrreq.c | 27 +++++++++++++++++++++++++++
 sys/sys/socket.h       |  1 +
 3 files changed, 30 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3aa364b8e8628778f6aaaca0b9f692abffff5022


-- 
DragonFly BSD source repository



More information about the Commits mailing list