From fb0660da9eb8eccb109c454ce136cd97f92ef7bc Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Mon, 13 May 2024 13:35:36 +0200 Subject: [PATCH] leveldb: security_context_t is deprecated https://github.com/SELinuxProject/selinux/commit/7a124ca2758136f49cc38efc26fb1a2d385ecfd9 --- leveldb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leveldb.c b/leveldb.c index 2de1ac08..7450e755 100644 --- a/leveldb.c +++ b/leveldb.c @@ -44,7 +44,7 @@ int selinux_restore(const char *name) { struct selabel_handle *hnd = NULL; struct stat buf; - security_context_t newcon = NULL; + char *newcon = NULL; int r = -1; hnd = selabel_open(SELABEL_CTX_FILE, NULL, 0);