mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
gio: ‘security_context_t’ is deprecated
From:9eb9c93275
"we found that the const security_context_t declarations in libselinux are incorrect; const char * was intended, but const security_context_t translates to char * const and triggers warnings on passing const char * from the caller. Easiest fix is to replace them all with const char *." And later marked deprecated in commit:7a124ca275
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
159ed036d4
commit
20e23c701c
@ -2715,7 +2715,7 @@ set_selinux_context (char *filename,
|
||||
}
|
||||
|
||||
if (is_selinux_enabled ()) {
|
||||
security_context_t val_s;
|
||||
char *val_s;
|
||||
|
||||
val_s = g_strdup (val);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user