ed9cf8dbe8
Update to 1.13.0! Fixes bsc#1204554! Enjoy. OBS-URL: https://build.opensuse.org/request/show/1033426 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/augeas?expand=0&rev=96
23 lines
728 B
Plaintext
23 lines
728 B
Plaintext
From f38398a2d07028b892eac59449a35e1a3d645fac Mon Sep 17 00:00:00 2001
|
|
From: Leo-Schmit <63145459+Leo-Schmit@users.noreply.github.com>
|
|
Date: Tue, 20 Sep 2022 13:41:31 +0200
|
|
Subject: [PATCH] Replace deprecated 'security_context_t' with 'char *' (#747)
|
|
|
|
---
|
|
src/transform.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/transform.c b/src/transform.c
|
|
index 176482b93..d46f2c497 100644
|
|
--- a/src/transform.c
|
|
+++ b/src/transform.c
|
|
@@ -918,7 +918,7 @@ static int transfer_file_attrs(FILE *from, FILE *to,
|
|
struct stat st;
|
|
int ret = 0;
|
|
int selinux_enabled = (is_selinux_enabled() > 0);
|
|
- security_context_t con = NULL;
|
|
+ char *con = NULL;
|
|
|
|
int from_fd;
|
|
int to_fd = fileno(to);
|