проверьте, может ли администратор настроить тип контекста SELinux (check whether SELinux context type is customizable by the administrator)
Имя (Name)
is_context_customizable - check whether SELinux context type is
customizable by the administrator
Синопсис (Synopsis)
#include <selinux/selinux.h>
int is_context_customizable(char *
scon);
Описание (Description)
This function checks whether the type of scon is in the
/etc/selinux/{SELINUXTYPE}/context/customizable_types file. A
customizable type is a file context type that administrators set
on files, usually to allow certain domains to share the file
content. restorecon and setfiles, by default, leave these context
in place.
Возвращаемое значение (Return value)
Returns 1 if security context is customizable or 0 if it is not.
Returns -1 on error.
Файлы (Files)
/etc/selinux/{SELINUXTYPE}/context/customizable_types
Смотри также (See also)
selinux(8)