Add support for systemd socket activation If LISTEN_PID and LISTEN_FDS are set in the environment, expect listener sockets to be present at fds starting at 3. If any match a configured listener address and port, use it instead of creating a new socket. [ghudson@mit.edu: combined two commits; changed sa_compare() to sa_equal(); restructured changes to fetch listener sockets into a list once and to match on socket type as well as address; added tests] https://github.com/krb5/krb5/commit/11b9a8244f1b3f5226f315e998f4e892b262e46e Author: Andreas Schneider Committer: Greg Hudson Commit: 11b9a8244f1b3f5226f315e998f4e892b262e46e Branch: master .gitignore | 1 + doc/admin/admin_commands/kadmind.rst | 8 ++ doc/admin/admin_commands/krb5kdc.rst | 7 ++ src/include/socket-utils.h | 35 +++++++++ src/kdc/Makefile.in | 10 ++- src/kdc/deps | 10 +++ src/kdc/t_sockact.c | 121 +++++++++++++++++++++++++++++ src/kdc/t_sockact.py | 43 +++++++++++ src/lib/apputils/net-server.c | 144 ++++++++++++++++++++++++++++++----- 9 files changed, 358 insertions(+), 21 deletions(-)