]> git.ipfire.org Git - thirdparty/krb5.git/commit
Add support for systemd socket activation 1400/head
authorAndreas Schneider <asn@samba.org>
Wed, 20 Nov 2024 17:17:29 +0000 (18:17 +0100)
committerGreg Hudson <ghudson@mit.edu>
Mon, 3 Feb 2025 23:40:48 +0000 (18:40 -0500)
commit11b9a8244f1b3f5226f315e998f4e892b262e46e
tree0d18f083accdca1808fc56a04d1fc297926fb843
parent78ceba024b64d49612375be4a12d1c066b0bfbd0
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]

ticket: 9157 (new)
.gitignore
doc/admin/admin_commands/kadmind.rst
doc/admin/admin_commands/krb5kdc.rst
src/include/socket-utils.h
src/kdc/Makefile.in
src/kdc/deps
src/kdc/t_sockact.c [new file with mode: 0644]
src/kdc/t_sockact.py [new file with mode: 0644]
src/lib/apputils/net-server.c