is_context_customizable(3) SELinux API documentation is_context_customizable(3)
NAME
is_context_customizable - check whether SELinux context type is customizable by the admin-
istrator
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}/con-
text/customizable_types file. A customizable type is a file context type that administra-
tors 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.
FILE
/etc/selinux/{SELINUXTYPE}/context/customizable_types
SEE ALSO
selinux(8)
dwalsh AT redhat.com 10 January 2005 is_context_customizable(3)
Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache/2.4.6 (CentOS)
Under GNU General Public License
2025-06-23 22:07 @127.0.0.1 CrawledBy Wget/1.21.2