Rechercher une page de manuel
is_context_customizable
Langue: en
Version: 95882 (fedora - 25/11/07)
Section: 3 (Bibliothèques de fonctions)
NAME
is_context_customizable - check whether SELinux context type is customizable by the administrator.SYNOPSIS
#include <selinux/selinux.h>int is_context_customizable(security_context_t scon);
DESCRIPTION
is_context_customizableThis 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 errorFILE
/etc/selinux/SELINUXTYPE/context/customizable_typesSEE ALSO
selinux(8)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre