centos man page for is_context_customizable

Query: is_context_customizable

OS: centos

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

is_context_customizable(3)				     SELinux API documentation					is_context_customizable(3)

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
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.
FILE
/etc/selinux/{SELINUXTYPE}/context/customizable_types
SEE ALSO
selinux(8) dwalsh@redhat.com 10 January 2005 is_context_customizable(3)
Related Man Pages
security_compute_create(3) - debian
security_compute_relabel(3) - debian
security_get_initial_context(3) - debian
selinux_check_passwd_access(3) - debian
customizable_types(5) - debian
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
Tar Command
Shopt -s histappend
CentOS 6 ran out of space, need to reclaim it