]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_systemd: if SELinux is available and enabled, log the SELinux
authorJoe Orton <jorton@apache.org>
Fri, 15 Mar 2024 15:26:11 +0000 (15:26 +0000)
committerJoe Orton <jorton@apache.org>
Fri, 15 Mar 2024 15:26:11 +0000 (15:26 +0000)
commit9b17700660769f8dc8136fd7ffa45c50050f49f2
treef55e8a072f4b226a6370302ee049e0b96b644e6a
parentdc7d1671071ff839ebe4db3e65fdf77bceecbc99
mod_systemd: if SELinux is available and enabled, log the SELinux
context at startup, since this may vary when httpd is started via
systemd vs being started directly.

* modules/arch/unix/mod_systemd.c (systemd_post_config):
  Do nothing for the pre-config iteration.
  Log the SELinux context if available.

* modules/arch/unix/config5.m4: Detect libselinux.

Have at least one CI job build mod_systemd.

Github: closes #422

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916344 13f79535-47bb-0310-9956-ffa450edef68
.github/workflows/linux.yml
changes-entries/systemd-selinux.patch [new file with mode: 0644]
modules/arch/unix/config5.m4
modules/arch/unix/mod_systemd.c