Skip to content

gio: ‘security_context_t’ is deprecated

Marc-André Lureau requested to merge malureau/glib:selinux-warning into master

From: https://github.com/SELinuxProject/selinux/commit/9eb9c9327563014ad6a807814e7975424642d5b9

"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: https://github.com/SELinuxProject/selinux/commit/7a124ca2758136f49cc38efc26fb1a2d385ecfd9

Merge request reports