Closed Leo-Schmit closed 2 years ago
This is in line with the comments in /usr/include/selinux/selinux.h
(libselinux-devel-3.3-4.fc36)
/* No longer used; here for compatibility with legacy callers. */
typedef char *security_context_t
#ifdef __GNUC__
__attribute__ ((deprecated))
#endif
;
transform.c
uses the variable con
as an argument to the libselinux functions fgetfilecon()
and fsetfilecon()
These were updated in 2014 to use char **
instead of security_context_t *
https://github.com/SELinuxProject/selinux/commit/9eb9c9327563014ad6a807814e7975424642d5b9
https://github.com/SELinuxProject/selinux/commit/7a124ca275 https://github.com/SELinuxProject/selinux/pull/212/files