2005-10-19 21:12:22 +00:00
|
|
|
<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">+
|
|
|
|
admin</a></br/>
|
|
|
|
<div id='subitem'>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<a href="apps.html">+
|
|
|
|
apps</a></br/>
|
|
|
|
<div id='subitem'>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<a href="kernel.html">+
|
|
|
|
kernel</a></br/>
|
|
|
|
<div id='subitem'>
|
|
|
|
|
|
|
|
- <a href='kernel_bootloader.html'>
|
|
|
|
bootloader</a><br/>
|
|
|
|
|
2005-12-07 15:46:38 +00:00
|
|
|
- <a href='kernel_corecommands.html'>
|
|
|
|
corecommands</a><br/>
|
|
|
|
|
2005-10-19 21:12:22 +00:00
|
|
|
- <a href='kernel_corenetwork.html'>
|
|
|
|
corenetwork</a><br/>
|
|
|
|
|
|
|
|
- <a href='kernel_devices.html'>
|
|
|
|
devices</a><br/>
|
|
|
|
|
2005-12-07 15:46:38 +00:00
|
|
|
- <a href='kernel_domain.html'>
|
|
|
|
domain</a><br/>
|
|
|
|
|
|
|
|
- <a href='kernel_files.html'>
|
|
|
|
files</a><br/>
|
|
|
|
|
2005-10-19 21:12:22 +00:00
|
|
|
- <a href='kernel_filesystem.html'>
|
|
|
|
filesystem</a><br/>
|
|
|
|
|
|
|
|
- <a href='kernel_kernel.html'>
|
|
|
|
kernel</a><br/>
|
|
|
|
|
|
|
|
- <a href='kernel_mls.html'>
|
|
|
|
mls</a><br/>
|
|
|
|
|
|
|
|
- <a href='kernel_selinux.html'>
|
|
|
|
selinux</a><br/>
|
|
|
|
|
|
|
|
- <a href='kernel_storage.html'>
|
|
|
|
storage</a><br/>
|
|
|
|
|
|
|
|
- <a href='kernel_terminal.html'>
|
|
|
|
terminal</a><br/>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<a href="services.html">+
|
|
|
|
services</a></br/>
|
|
|
|
<div id='subitem'>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<a href="system.html">+
|
|
|
|
system</a></br/>
|
|
|
|
<div id='subitem'>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<br/><p/>
|
|
|
|
<a href="global_booleans.html">* Global Booleans </a>
|
|
|
|
<br/><p/>
|
|
|
|
<a href="global_tunables.html">* Global Tunables </a>
|
|
|
|
<p/><br/><p/>
|
|
|
|
<a href="index.html">* Layer Index</a>
|
|
|
|
<br/><p/>
|
|
|
|
<a href="interfaces.html">* Interface Index</a>
|
|
|
|
<br/><p/>
|
|
|
|
<a href="templates.html">* Template 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>
|
|
|
|
|
|
|
|
The type of the process performing this action.
|
|
|
|
|
|
|
|
</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>
|
|
|
|
|
|
|
|
The type of the process performing this action.
|
|
|
|
|
|
|
|
</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>
|
|
|
|
|
|
|
|
The type of the process performing this action.
|
|
|
|
|
|
|
|
</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>
|
|
|
|
|
|
|
|
The type of the process performing this action.
|
|
|
|
|
|
|
|
</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>
|
|
|
|
|
|
|
|
The type of the process performing this action.
|
|
|
|
|
|
|
|
</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>
|
|
|
|
|
|
|
|
The type of the process performing this action.
|
|
|
|
|
|
|
|
</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>
|
|
|
|
|
|
|
|
The type of the process performing this action.
|
|
|
|
|
|
|
|
</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>
|
|
|
|
|
|
|
|
The type of the process performing this action.
|
|
|
|
|
|
|
|
</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>
|
|
|
|
|
|
|
|
The type of the process performing this action.
|
|
|
|
|
|
|
|
</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>
|
|
|
|
|
|
|
|
The type of the object.
|
|
|
|
|
|
|
|
</td><td>
|
|
|
|
No
|
|
|
|
</td></tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<a href=#top>Return</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|