summaryrefslogtreecommitdiffstats
path: root/src/python
diff options
context:
space:
mode:
authorFabiano Fidêncio <fidencio@redhat.com>2016-11-16 18:01:39 +0100
committerLukas Slebodnik <lslebodn@redhat.com>2017-01-23 18:46:37 +0100
commitb1829f05cf9bdc3d89c1058481281198ebc968d0 (patch)
treee20330646588306aa255ee35087e4496f7e32caa /src/python
parent9e59f73f81612f60c02ec7c23e14db9cebb28e29 (diff)
RESPONDER: Make responders' common code ready for socket activation
Instead of simply setting the unix socket during the process initialization, let's make it socket-activatable. It's the first step in order to have socket-activated responders and doesn't introduce any kind of regression with the current code. Also, we must avoid setting the responders fds to -1 in all cases as it may have cause the socket to be unreachable in case the administrator decides to move back from socket-activation to using the services line in sssd.conf. With this change, the responders will have to activelly set their sockets fd to -1 before calling activate_unix_sockets(), which is already done everyone but in Secrets and in one piece of PAM responder. Related: https://fedorahosted.org/sssd/ticket/2243 Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> Reviewed-by: Pavel Březina <pbrezina@redhat.com> Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/python')
0 files changed, 0 insertions, 0 deletions