mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-22 05:59:58 +00:00
7179fd8738
The majority of prototypes don't put a space between the "*" and the parameter name. i.e. this style is incorrect: char * foo; Instead, we want: char *foo; Fix a bunch of references that use this uncommon style. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
25 lines
869 B
Groff
25 lines
869 B
Groff
.TH "is_context_customizable" "3" "10 January 2005" "dwalsh@redhat.com" "SELinux API documentation"
|
|
.SH "NAME"
|
|
is_context_customizable \- check whether SELinux context type is customizable by the administrator
|
|
.
|
|
.SH "SYNOPSIS"
|
|
.B #include <selinux/selinux.h>
|
|
.sp
|
|
.BI "int is_context_customizable(char *" scon );
|
|
.
|
|
.SH "DESCRIPTION"
|
|
This function checks whether the type of scon is in the
|
|
.I /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.
|
|
.
|
|
.SH "RETURN VALUE"
|
|
Returns 1 if security context is customizable or 0 if it is not.
|
|
Returns \-1 on error.
|
|
.
|
|
.SH "FILE"
|
|
.I /etc/selinux/{SELINUXTYPE}/context/customizable_types
|
|
.
|
|
.SH "SEE ALSO"
|
|
.BR selinux "(8)"
|