80 lines
2.5 KiB
HTML
80 lines
2.5 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of selinux_colors_path</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>selinux_colors_path</H1>
|
|
Section: C Library Functions (3)<BR>Updated: 08 April 2011<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
selinux_colors_path - Return a path to the active SELinux policy color configuration file
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>#include <<A HREF="file:///usr/include/selinux/selinux.h">selinux/selinux.h</A>></B>
|
|
|
|
<P>
|
|
<B>const char *selinux_colors_path(void);</B>
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<B>selinux_colors_path</B>()
|
|
|
|
returns the path to the active policy color configuration file.
|
|
<P>
|
|
The path is built from the path returned by
|
|
<B><A HREF="/cgi-bin/man/man2html?3+selinux_policy_root">selinux_policy_root</A></B>(3)
|
|
|
|
with
|
|
<I>/secolor.conf</I>
|
|
|
|
appended.
|
|
<P>
|
|
This optional configuration file whose format is shown in
|
|
<B><A HREF="/cgi-bin/man/man2html?5+secolor.conf">secolor.conf</A></B>(5),
|
|
|
|
controls the colors to be associated with the
|
|
<I>raw</I>
|
|
|
|
context components of the
|
|
<B><A HREF="/cgi-bin/man/man2html?3+selinux_raw_context_to_color">selinux_raw_context_to_color</A></B>(3)
|
|
|
|
function when information is to be displayed by an SELinux color-aware application.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>RETURN VALUE</H2>
|
|
|
|
On success, the path to the active policy color configuration file is returned. If a path is not available NULL is returned.
|
|
<A NAME="lbAF"> </A>
|
|
<H2>ERRORS</H2>
|
|
|
|
None.
|
|
<A NAME="lbAG"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+selinux">selinux</A></B>(8), <B><A HREF="/cgi-bin/man/man2html?3+selinux_policy_root">selinux_policy_root</A></B>(3), <B><A HREF="/cgi-bin/man/man2html?5+selinux_config">selinux_config</A></B>(5), <B><A HREF="/cgi-bin/man/man2html?3+selinux_raw_context_to_color">selinux_raw_context_to_color</A></B>(3), <B><A HREF="/cgi-bin/man/man2html?5+secolor.conf">secolor.conf</A></B>(5)
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="4"><A HREF="#lbAE">RETURN VALUE</A><DD>
|
|
<DT id="5"><A HREF="#lbAF">ERRORS</A><DD>
|
|
<DT id="6"><A HREF="#lbAG">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:56 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|