Skip to content
  • Lennart Poettering's avatar
    auth: add fd passing negotiation support · c200e030
    Lennart Poettering authored
    This adds two new directives to the auth protocol:
    
    NEGOTIATE_UNIX_FD is sent by the client after the authentication was
    sucessful, i.e. OK was received.
    
    AGREE_UNIX_FD is then sent by the server if it can do unix fd passing as
    well.
    
    ERROR is returned when the server cannot or is unwilling to do unix fd
    passing.
    
    This should be compatible with existing D-Bus implementations which will
    naturally return ERROR on NEGOTIATE_UNIX_FD.
    c200e030