Make failures of mac_selinux_init() fatal

This commit is contained in:
Christian Göttsche
2020-06-23 19:10:07 +02:00
parent a11bfc17dc
commit a9ba0e328f
15 changed files with 35 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();