is_context_customizable(3) debian man page | unix.com

Man Page: is_context_customizable

Operating Environment: debian

Section: 3

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
is_context_customizable 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
virtual_image_context(5) - centos
checkpasswdaccess(3) - debian
security_compute_user(3) - debian
selinux_check_passwd_access(3) - debian
customizable_types(5) - debian
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Installing Dash Shell on OS X Lion
awk or sed - Convert 2 lines to 1 line
Detecting unused variables...
Find columns in a file based on header and print to new file