Problem: SE Linux: deprecation warning for security_context_t.
Solution: Use "char *" instead. (James McCoy, closes #7093)
if (selinux_enabled > 0)
{
- security_context_t from_context = NULL;
- security_context_t to_context = NULL;
+ // Use "char *" instead of "security_context_t" to avoid a deprecation
+ // warning.
+ char *from_context = NULL;
+ char *to_context = NULL;
if (getfilecon((char *)from_file, &from_context) < 0)
{
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1818,
/**/
1817,
/**/