selinux-policy/www/api-docs/kernel_mls.html
2006-03-07 14:35:03 +00:00

567 lines
8.2 KiB
HTML

<html>
<head>
<title>
Security Enhanced Linux Reference Policy
</title>
<style type="text/css" media="all">@import "style.css";</style>
</head>
<body>
<div id="Header">Security Enhanced Linux Reference Policy</div>
<div id='Menu'>
<a href="admin.html">+&nbsp;
admin</a></br/>
<div id='subitem'>
</div>
<a href="apps.html">+&nbsp;
apps</a></br/>
<div id='subitem'>
</div>
<a href="kernel.html">+&nbsp;
kernel</a></br/>
<div id='subitem'>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_corecommands.html'>
corecommands</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_corenetwork.html'>
corenetwork</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_devices.html'>
devices</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_domain.html'>
domain</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_files.html'>
files</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_filesystem.html'>
filesystem</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_kernel.html'>
kernel</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_mcs.html'>
mcs</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_mls.html'>
mls</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_selinux.html'>
selinux</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_storage.html'>
storage</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_terminal.html'>
terminal</a><br/>
</div>
<a href="services.html">+&nbsp;
services</a></br/>
<div id='subitem'>
</div>
<a href="system.html">+&nbsp;
system</a></br/>
<div id='subitem'>
</div>
<br/><p/>
<a href="global_booleans.html">*&nbsp;Global&nbsp;Booleans&nbsp;</a>
<br/><p/>
<a href="global_tunables.html">*&nbsp;Global&nbsp;Tunables&nbsp;</a>
<p/><br/><p/>
<a href="index.html">*&nbsp;Layer Index</a>
<br/><p/>
<a href="interfaces.html">*&nbsp;Interface&nbsp;Index</a>
<br/><p/>
<a href="templates.html">*&nbsp;Template&nbsp;Index</a>
</div>
<div id="Content">
<a name="top":></a>
<h1>Layer: kernel</h1><p/>
<h2>Module: mls</h2><p/>
<h3>Description:</h3>
<p><p>
</p><p>
This module contains interfaces for handling multilevel
security. The interfaces allow the specified subjects
and objects to be allowed certain privileges in the
MLS rules.
</p><p>
</p></p>
<p>This module is required to be included in all policies.</p>
<a name="interfaces"></a>
<h3>Interfaces: </h3>
<a name="link_mls_file_downgrade"></a>
<div id="interface">
<div id="codeblock">
<b>mls_file_downgrade</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Make specified domain MLS trusted
for lowering the level of files.
</p>
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
<tr><td>
domain
</td><td>
<p>
The type of the process performing this action.
</p>
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_mls_file_read_up"></a>
<div id="interface">
<div id="codeblock">
<b>mls_file_read_up</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Make specified domain MLS trusted
for reading from files at higher levels.
</p>
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
<tr><td>
domain
</td><td>
<p>
The type of the process performing this action.
</p>
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_mls_file_upgrade"></a>
<div id="interface">
<div id="codeblock">
<b>mls_file_upgrade</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Make specified domain MLS trusted
for raising the level of files.
</p>
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
<tr><td>
domain
</td><td>
<p>
The type of the process performing this action.
</p>
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_mls_file_write_down"></a>
<div id="interface">
<div id="codeblock">
<b>mls_file_write_down</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Make specified domain MLS trusted
for writing to files at lower levels.
</p>
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
<tr><td>
domain
</td><td>
<p>
The type of the process performing this action.
</p>
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_mls_process_read_up"></a>
<div id="interface">
<div id="codeblock">
<b>mls_process_read_up</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Make specified domain MLS trusted
for reading from processes at higher levels.
</p>
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
<tr><td>
domain
</td><td>
<p>
The type of the process performing this action.
</p>
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_mls_process_set_level"></a>
<div id="interface">
<div id="codeblock">
<b>mls_process_set_level</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Make specified domain MLS trusted
for setting the level of processes
it executes.
</p>
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
<tr><td>
domain
</td><td>
<p>
The type of the process performing this action.
</p>
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_mls_process_write_down"></a>
<div id="interface">
<div id="codeblock">
<b>mls_process_write_down</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Make specified domain MLS trusted
for writing to processes at lower levels.
</p>
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
<tr><td>
domain
</td><td>
<p>
The type of the process performing this action.
</p>
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_mls_rangetrans_source"></a>
<div id="interface">
<div id="codeblock">
<b>mls_rangetrans_source</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Allow the specified domain to do a MLS
range transition that changes
the current level.
</p>
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
<tr><td>
domain
</td><td>
<p>
The type of the process performing this action.
</p>
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_mls_rangetrans_target"></a>
<div id="interface">
<div id="codeblock">
<b>mls_rangetrans_target</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Make specified domain a target domain
for MLS range transitions that change
the current level.
</p>
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
<tr><td>
domain
</td><td>
<p>
The type of the process performing this action.
</p>
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_mls_trusted_object"></a>
<div id="interface">
<div id="codeblock">
<b>mls_trusted_object</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Make specified object MLS trusted.
</p>
<h5>Description</h5>
<p>
</p><p>
Make specified object MLS trusted. This
allows all levels to read and write the
object.
</p><p>
</p><p>
This currently only applies to filesystem
objects, for example, files and directories.
</p><p>
</p>
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
<tr><td>
domain
</td><td>
<p>
The type of the object.
</p>
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a href=#top>Return</a>
</div>
</body>
</html>