summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2023-05-17 15:43:42 -0500
committerBen Kohler <bkohler@gentoo.org>2023-05-17 15:44:14 -0500
commit8072c639ff1c84e0ece6be0c375abcb08aef9762 (patch)
treece31d7adc4bcf88f2e470ef4dcc392bc2370767b /sys-auth/elogind
parentprofiles: Drop obsolete mask (diff)
downloadgentoo-8072c639ff1c84e0ece6be0c375abcb08aef9762.tar.gz
gentoo-8072c639ff1c84e0ece6be0c375abcb08aef9762.tar.bz2
gentoo-8072c639ff1c84e0ece6be0c375abcb08aef9762.zip
sys-auth/elogind: fix musl selinux patch
Bug: https://bugs.gentoo.org/906643 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'sys-auth/elogind')
-rw-r--r--sys-auth/elogind/files/elogind-246.10-musl-selinux.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-auth/elogind/files/elogind-246.10-musl-selinux.patch b/sys-auth/elogind/files/elogind-246.10-musl-selinux.patch
index 433184edd102..c36861b983e2 100644
--- a/sys-auth/elogind/files/elogind-246.10-musl-selinux.patch
+++ b/sys-auth/elogind/files/elogind-246.10-musl-selinux.patch
@@ -72,7 +72,7 @@ not otherwise.
before_timestamp = now(CLOCK_MONOTONIC);
label_hnd = selabel_open(SELABEL_CTX_FILE, NULL, 0);
-@@ -95,14 +106,16 @@ int mac_selinux_init(void) {
+@@ -95,14 +107,17 @@ int mac_selinux_init(void) {
return log_enforcing_errno(errno, "Failed to initialize SELinux labeling handle: %m");
after_timestamp = now(CLOCK_MONOTONIC);
@@ -91,6 +91,7 @@ not otherwise.
+#else
+ log_debug("Successfully loaded SELinux database in %s.",
+ format_timespan(timespan, sizeof(timespan), after_timestamp - before_timestamp, 0));
++#endif
#endif
return 0;
}