selinux-policy/www/api-docs/kernel_storage.html

1404 lines
20 KiB
HTML
Raw Normal View History

2005-06-15 15:45:57 +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">+&nbsp;
admin</a></br/>
<div id='subitem'>
</div>
2005-07-05 13:36:21 +00:00
<a href="apps.html">+&nbsp;
apps</a></br/>
<div id='subitem'>
</div>
2005-06-15 15:45:57 +00:00
<a href="kernel.html">+&nbsp;
kernel</a></br/>
<div id='subitem'>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_bootloader.html'>
bootloader</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_filesystem.html'>
filesystem</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_kernel.html'>
kernel</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/>
2005-08-02 17:21:46 +00:00
<a href="global_booleans.html">*&nbsp;Global&nbsp;Booleans&nbsp;</a>
2005-07-05 13:36:21 +00:00
<br/><p/>
2005-08-02 17:21:46 +00:00
<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>
2005-06-15 15:45:57 +00:00
</div>
<div id="Content">
2005-07-05 13:36:21 +00:00
<a name="top":></a>
2005-06-15 15:45:57 +00:00
<h1>Layer: kernel</h1><p/>
<h2>Module: storage</h2><p/>
2005-07-05 13:36:21 +00:00
2005-06-15 15:45:57 +00:00
<h3>Description:</h3>
2005-07-07 17:19:13 +00:00
<p><p>Policy controlling access to storage devices</p></p>
2005-06-15 15:45:57 +00:00
2005-07-05 13:36:21 +00:00
<a name="interfaces"></a>
2005-06-15 15:45:57 +00:00
<h3>Interfaces: </h3>
2005-08-02 17:21:46 +00:00
<a name="link_storage_create_fixed_disk"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>storage_create_fixed_disk</b>(
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-07-07 17:19:13 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Create block devices in /dev with the fixed disk type.
2005-06-15 21:11:49 +00:00
</p>
2005-07-07 17:19:13 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_storage_create_fixed_disk_tmpfs"></a>
<div id="interface">
<div id="codeblock">
<b>storage_create_fixed_disk_tmpfs</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Create fixed disk device nodes on a tmpfs filesystem.
</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_storage_dontaudit_getattr_fixed_disk"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>storage_dontaudit_getattr_fixed_disk</b>(
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-07-07 17:19:13 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Do not audit attempts made by the caller to get
the attributes of fixed disk device nodes.
2005-06-15 21:11:49 +00:00
</p>
2005-07-07 17:19:13 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process to not audit.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_storage_dontaudit_getattr_removable_device"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>storage_dontaudit_getattr_removable_device</b>(
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-07-07 17:19:13 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Do not audit attempts made by the caller to get
the attributes of removable devices device nodes.
2005-06-15 21:11:49 +00:00
</p>
2005-07-07 17:19:13 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process to not audit.
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_storage_dontaudit_setattr_fixed_disk"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>storage_dontaudit_setattr_fixed_disk</b>(
domain
)<br>
</div>
<div id="description">
2005-07-07 17:19:13 +00:00
<h5>Summary</h5>
2005-07-05 13:36:21 +00:00
<p>
Do not audit attempts made by the caller to set
the attributes of fixed disk device nodes.
</p>
2005-07-07 17:19:13 +00:00
2005-07-05 13:36:21 +00:00
<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 to not audit.
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_storage_dontaudit_setattr_removable_device"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>storage_dontaudit_setattr_removable_device</b>(
domain
)<br>
</div>
<div id="description">
2005-07-07 17:19:13 +00:00
<h5>Summary</h5>
2005-07-05 13:36:21 +00:00
<p>
Do not audit attempts made by the caller to set
the attributes of removable devices device nodes.
</p>
2005-07-07 17:19:13 +00:00
2005-07-05 13:36:21 +00:00
<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 to not audit.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_storage_getattr_fixed_disk"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>storage_getattr_fixed_disk</b>(
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-07-07 17:19:13 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Allow the caller to get the attributes of fixed disk
device nodes.
2005-06-15 21:11:49 +00:00
</p>
2005-07-07 17:19:13 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_storage_getattr_removable_device"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>storage_getattr_removable_device</b>(
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-07-07 17:19:13 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Allow the caller to get the attributes of removable
devices device nodes.
2005-06-15 21:11:49 +00:00
</p>
2005-07-07 17:19:13 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_storage_getattr_scsi_generic"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>storage_getattr_scsi_generic</b>(
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-07-07 17:19:13 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Allow the caller to get the attributes of
the generic SCSI interface device nodes.
2005-06-15 21:11:49 +00:00
</p>
2005-07-07 17:19:13 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_storage_getattr_scsi_generic"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
2005-07-05 13:36:21 +00:00
<b>storage_getattr_scsi_generic</b>(
2005-06-15 15:45:57 +00:00
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-07-07 17:19:13 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Get attributes of the device nodes
for the SCSI generic inerface.
2005-06-15 21:11:49 +00:00
</p>
2005-07-07 17:19:13 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_storage_getattr_tape_device"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
2005-07-05 13:36:21 +00:00
<b>storage_getattr_tape_device</b>(
2005-06-15 15:45:57 +00:00
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-07-07 17:19:13 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Allow the caller to get the attributes
of device nodes of tape devices.
2005-06-15 21:11:49 +00:00
</p>
2005-07-07 17:19:13 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_storage_manage_fixed_disk"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>storage_manage_fixed_disk</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Create, read, write, and delete fixed disk device nodes.
</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.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_storage_raw_read_fixed_disk"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>storage_raw_read_fixed_disk</b>(
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-07-07 17:19:13 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Allow the caller to directly read from a fixed disk.
This is extremly dangerous as it can bypass the
SELinux protections for filesystem objects, and
should only be used by trusted domains.
2005-06-15 21:11:49 +00:00
</p>
2005-07-07 17:19:13 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_storage_raw_read_lvm_volume"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>storage_raw_read_lvm_volume</b>(
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-07-07 17:19:13 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Allow the caller to directly read from a logical volume.
This is extremly dangerous as it can bypass the
SELinux protections for filesystem objects, and
should only be used by trusted domains.
2005-06-15 21:11:49 +00:00
</p>
2005-07-07 17:19:13 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_storage_raw_read_removable_device"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>storage_raw_read_removable_device</b>(
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-07-07 17:19:13 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Allow the caller to directly read from
a removable device.
This is extremly dangerous as it can bypass the
SELinux protections for filesystem objects, and
should only be used by trusted domains.
2005-06-15 21:11:49 +00:00
</p>
2005-07-07 17:19:13 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_storage_raw_write_fixed_disk"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>storage_raw_write_fixed_disk</b>(
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-07-07 17:19:13 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Allow the caller to directly write to a fixed disk.
This is extremly dangerous as it can bypass the
SELinux protections for filesystem objects, and
should only be used by trusted domains.
2005-06-15 21:11:49 +00:00
</p>
2005-07-07 17:19:13 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_storage_raw_write_lvm_volume"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>storage_raw_write_lvm_volume</b>(
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-07-07 17:19:13 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Allow the caller to directly read from a logical volume.
This is extremly dangerous as it can bypass the
SELinux protections for filesystem objects, and
should only be used by trusted domains.
2005-06-15 21:11:49 +00:00
</p>
2005-07-07 17:19:13 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_storage_raw_write_removable_device"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>storage_raw_write_removable_device</b>(
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-07-07 17:19:13 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Allow the caller to directly write to
a removable device.
This is extremly dangerous as it can bypass the
SELinux protections for filesystem objects, and
should only be used by trusted domains.
2005-06-15 21:11:49 +00:00
</p>
2005-07-07 17:19:13 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_storage_read_scsi_generic"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>storage_read_scsi_generic</b>(
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-07-07 17:19:13 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Allow the caller to directly read, in a
generic fashion, from any SCSI device.
This is extremly dangerous as it can bypass the
SELinux protections for filesystem objects, and
should only be used by trusted domains.
2005-06-15 21:11:49 +00:00
</p>
2005-07-07 17:19:13 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_storage_read_tape_device"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>storage_read_tape_device</b>(
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-07-07 17:19:13 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Allow the caller to directly read
a tape device.
</p>
2005-07-07 17:19:13 +00:00
2005-07-05 13:36:21 +00:00
<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>
2005-08-02 17:21:46 +00:00
<a name="link_storage_relabel_fixed_disk"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>storage_relabel_fixed_disk</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Relabel fixed disk device nodes.
</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>
2005-08-02 17:21:46 +00:00
<a name="link_storage_set_scsi_generic_attributes"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>storage_set_scsi_generic_attributes</b>(
domain
)<br>
</div>
<div id="description">
2005-07-07 17:19:13 +00:00
<h5>Summary</h5>
2005-07-05 13:36:21 +00:00
<p>
Set attributes of the device nodes
for the SCSI generic inerface.
2005-06-15 21:11:49 +00:00
</p>
2005-07-07 17:19:13 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_storage_setattr_fixed_disk"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>storage_setattr_fixed_disk</b>(
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-07-07 17:19:13 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Allow the caller to set the attributes of fixed disk
device nodes.
2005-06-15 21:11:49 +00:00
</p>
2005-07-07 17:19:13 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_storage_setattr_removable_device"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>storage_setattr_removable_device</b>(
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-07-07 17:19:13 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Allow the caller to set the attributes of removable
devices device nodes.
2005-06-15 21:11:49 +00:00
</p>
2005-07-07 17:19:13 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_storage_setattr_scsi_generic"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>storage_setattr_scsi_generic</b>(
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-07-07 17:19:13 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Allow the caller to set the attributes of
the generic SCSI interface device nodes.
2005-06-15 21:11:49 +00:00
</p>
2005-07-07 17:19:13 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_storage_setattr_tape_device"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>storage_setattr_tape_device</b>(
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-07-07 17:19:13 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Allow the caller to set the attributes
of device nodes of tape devices.
</p>
2005-07-07 17:19:13 +00:00
2005-07-05 13:36:21 +00:00
<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>
2005-08-02 17:21:46 +00:00
<a name="link_storage_swapon_fixed_disk"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>storage_swapon_fixed_disk</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Enable a fixed disk device as swap space
2005-06-15 21:11:49 +00:00
</p>
2005-07-05 13:36:21 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_storage_unconfined"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
2005-07-07 17:19:13 +00:00
<b>storage_unconfined</b>(
2005-06-15 15:45:57 +00:00
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-07-07 17:19:13 +00:00
<h5>Summary</h5>
<p>
Unconfined access to storage devices.
</p>
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
2005-06-15 21:11:49 +00:00
2005-07-07 17:19:13 +00:00
<tr><td>
domain
</td><td>
Domain allowed access.
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_storage_write_scsi_generic"></a>
2005-07-07 17:19:13 +00:00
<div id="interface">
<div id="codeblock">
<b>storage_write_scsi_generic</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Allow the caller to directly write, in a
generic fashion, from any SCSI device.
This is extremly dangerous as it can bypass the
SELinux protections for filesystem objects, and
should only be used by trusted domains.
2005-06-15 21:11:49 +00:00
</p>
2005-07-07 17:19:13 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_storage_write_tape_device"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>storage_write_tape_device</b>(
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-07-07 17:19:13 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Allow the caller to directly read
a tape device.
2005-06-15 21:11:49 +00:00
</p>
2005-07-07 17:19:13 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-07-05 13:36:21 +00:00
<a href=#top>Return</a>
2005-06-15 15:45:57 +00:00
</div>
</body>
</html>