Merge pull request #16223 from cgzones/user_selinux

Initialize SELinux in user instances
This commit is contained in:
Lennart Poettering
2020-06-24 08:39:13 +02:00
committed by GitHub
15 changed files with 40 additions and 19 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ int mac_selinux_init(void) {
label_hnd = selabel_open(SELABEL_CTX_FILE, NULL, 0);
if (!label_hnd)
return log_enforcing_errno(errno, "Failed to initialize SELinux context: %m");
return log_enforcing_errno(errno, "Failed to initialize SELinux labeling handle: %m");
after_timestamp = now(CLOCK_MONOTONIC);
after_mallinfo = mallinfo();