]> git.ipfire.org Git - thirdparty/fcron.git/commitdiff
Stop using the SELinux deprecated security_context_t
authorThibault Godouet <yo8192@users.noreply.github.com>
Fri, 27 Dec 2024 16:05:37 +0000 (16:05 +0000)
committerThibault Godouet <yo8192@users.noreply.github.com>
Fri, 27 Dec 2024 16:05:37 +0000 (16:05 +0000)
global.h

index 1e328fdff403b26b1575ea84ed01e0b8bcae79d0..0b1feef67cee64470269639b5ab80e613d18e637 100644 (file)
--- a/global.h
+++ b/global.h
@@ -198,8 +198,8 @@ typedef struct cf_t {
     int cf_running;             /* number of jobs running                    */
     signed char cf_tzdiff;      /* time diff between system and local hour   */
 #ifdef WITH_SELINUX
-    security_context_t cf_user_context;
-    security_context_t cf_file_context;
+    char *cf_user_context;
+    char *cf_file_context;
 #endif
 } cf_t;