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

1542 lines
22 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'>
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_corecommands.html'>
corecommands</a><br/>
2005-06-15 15:45:57 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_corenetwork.html'>
corenetwork</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_devices.html'>
devices</a><br/>
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_domain.html'>
domain</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_files.html'>
files</a><br/>
2005-06-15 15:45:57 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_filesystem.html'>
filesystem</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_kernel.html'>
kernel</a><br/>
2006-03-07 14:35:03 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_mcs.html'>
mcs</a><br/>
2005-10-19 21:12:22 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_mls.html'>
mls</a><br/>
2005-06-15 15:45:57 +00:00
&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>
2006-03-07 14:35:03 +00:00
<a name="link_storage_dev_filetrans_fixed_disk"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>storage_dev_filetrans_fixed_disk</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>
2006-03-07 14:35:03 +00:00
Create block devices in /dev with the fixed disk type
via an automatic type transition.
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>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2006-03-07 14:35:03 +00:00
</p>
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-03-07 14:35:03 +00:00
<a name="link_storage_dontaudit_getattr_fixed_disk_dev"></a>
2005-08-02 17:21:46 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>storage_dontaudit_getattr_fixed_disk_dev</b>(
2005-08-02 17:21:46 +00:00
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
2006-03-07 14:35:03 +00:00
Do not audit attempts made by the caller to get
the attributes of fixed disk device nodes.
2005-08-02 17:21:46 +00:00
</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>
2006-03-07 14:35:03 +00:00
<p>
The type of the process to not audit.
</p>
2005-08-02 17:21:46 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-03-07 14:35:03 +00:00
<a name="link_storage_dontaudit_getattr_removable_dev"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>storage_dontaudit_getattr_removable_dev</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
Do not audit attempts made by the caller to get
2006-03-07 14:35:03 +00:00
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>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
The type of the process to not audit.
2006-03-07 14:35:03 +00:00
</p>
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-03-07 14:35:03 +00:00
<a name="link_storage_dontaudit_raw_read_removable_device"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>storage_dontaudit_raw_read_removable_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>
2006-03-07 14:35:03 +00:00
Do not audit attempts to directly read removable devices.
2005-06-15 21:11:49 +00:00
</p>
2005-07-07 17:19:13 +00:00
2005-09-22 18:40:05 +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>
2006-03-07 14:35:03 +00:00
<p>
Domain to not audit.
</p>
</td><td>
No
</td></tr>
2005-09-22 18:40:05 +00:00
2006-03-07 14:35:03 +00:00
</table>
</div>
</div>
<a name="link_storage_dontaudit_raw_write_removable_device"></a>
<div id="interface">
<div id="codeblock">
2005-09-22 18:40:05 +00:00
2006-03-07 14:35:03 +00:00
<b>storage_dontaudit_raw_write_removable_device</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Do not audit attempts to directly write removable 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>
<tr><td>
domain
</td><td>
<p>
Domain to not audit.
</p>
2005-09-22 18:40:05 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_storage_dontaudit_read_fixed_disk"></a>
<div id="interface">
<div id="codeblock">
<b>storage_dontaudit_read_fixed_disk</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Do not audit attempts made by the caller to read
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>
2006-03-07 14:35:03 +00:00
<p>
2005-09-22 18:40:05 +00:00
The type of the process to not audit.
2006-03-07 14:35:03 +00:00
</p>
2005-09-22 18:40:05 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_storage_dontaudit_read_removable_device"></a>
<div id="interface">
<div id="codeblock">
<b>storage_dontaudit_read_removable_device</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Do not audit attempts made by the caller to read
removable devices device nodes.
</p>
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>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
The type of the process to not audit.
2006-03-07 14:35:03 +00:00
</p>
2005-07-05 13:36:21 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-03-07 14:35:03 +00:00
<a name="link_storage_dontaudit_rw_scsi_generic"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>storage_dontaudit_rw_scsi_generic</b>(
2005-07-05 13:36:21 +00:00
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>
2006-03-07 14:35:03 +00:00
Do not audit attempts to read or write
SCSI generic device interfaces.
2005-07-05 13:36:21 +00:00
</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>
2006-03-07 14:35:03 +00:00
<p>
Domain to not audit.
</p>
2005-07-05 13:36:21 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-03-07 14:35:03 +00:00
<a name="link_storage_dontaudit_setattr_fixed_disk_dev"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>storage_dontaudit_setattr_fixed_disk_dev</b>(
2005-07-05 13:36:21 +00:00
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
2006-03-07 14:35:03 +00:00
the attributes of fixed disk device nodes.
2005-07-05 13:36:21 +00:00
</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>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
The type of the process to not audit.
2006-03-07 14:35:03 +00:00
</p>
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-03-07 14:35:03 +00:00
<a name="link_storage_dontaudit_setattr_removable_dev"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>storage_dontaudit_setattr_removable_dev</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>
2006-03-07 14:35:03 +00:00
Do not audit attempts made by 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>
2006-03-07 14:35:03 +00:00
<p>
The type of the process to not audit.
</p>
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-03-07 14:35:03 +00:00
<a name="link_storage_dontaudit_write_fixed_disk"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>storage_dontaudit_write_fixed_disk</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>
2006-03-07 14:35:03 +00:00
Do not audit attempts made by the caller to write
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>
2006-03-07 14:35:03 +00:00
<p>
Domain to not audit.
</p>
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-03-07 14:35:03 +00:00
<a name="link_storage_getattr_fixed_disk_dev"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>storage_getattr_fixed_disk_dev</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>
2006-03-07 14:35:03 +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>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2006-03-07 14:35:03 +00:00
</p>
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-03-07 14:35:03 +00:00
<a name="link_storage_getattr_removable_dev"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>storage_getattr_removable_dev</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>
2006-03-07 14:35:03 +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>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2006-03-07 14:35:03 +00:00
</p>
2005-07-05 13:36:21 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-03-07 14:35:03 +00:00
<a name="link_storage_getattr_scsi_generic_dev"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>storage_getattr_scsi_generic_dev</b>(
2005-07-05 13:36:21 +00:00
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
2006-03-07 14:35:03 +00:00
Allow the caller to get the attributes of
the generic SCSI interface device nodes.
2005-07-05 13:36:21 +00:00
</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>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2006-03-07 14:35:03 +00:00
</p>
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-03-07 14:35:03 +00:00
<a name="link_storage_getattr_tape_dev"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>storage_getattr_tape_dev</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>
2006-03-07 14:35:03 +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>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2006-03-07 14:35:03 +00:00
</p>
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-03-07 14:35:03 +00:00
<a name="link_storage_manage_fixed_disk"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>storage_manage_fixed_disk</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>
2006-03-07 14:35:03 +00:00
Create, read, write, and delete 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>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2006-03-07 14:35:03 +00:00
</p>
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-03-07 14:35:03 +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">
2006-03-07 14:35:03 +00:00
<b>storage_raw_read_fixed_disk</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>
2006-03-07 14:35:03 +00:00
Allow the caller to directly read from a fixed disk.
2005-07-05 13:36:21 +00:00
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>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2006-03-07 14:35:03 +00:00
</p>
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-03-07 14:35:03 +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">
2006-03-07 14:35:03 +00:00
<b>storage_raw_read_removable_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>
2006-03-07 14:35:03 +00:00
Allow the caller to directly read from
a removable device.
2005-07-05 13:36:21 +00:00
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>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2006-03-07 14:35:03 +00:00
</p>
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-03-07 14:35:03 +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">
2006-03-07 14:35:03 +00:00
<b>storage_raw_write_fixed_disk</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>
2006-03-07 14:35:03 +00:00
Allow the caller to directly write to a fixed disk.
2005-07-05 13:36:21 +00:00
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>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2006-03-07 14:35:03 +00:00
</p>
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>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2006-03-07 14:35:03 +00:00
</p>
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>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2006-03-07 14:35:03 +00:00
</p>
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-03-07 14:35:03 +00:00
<a name="link_storage_read_tape"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>storage_read_tape</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 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>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2006-03-07 14:35:03 +00:00
</p>
2005-07-05 13:36:21 +00:00
</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>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2006-03-07 14:35:03 +00:00
</p>
2005-07-05 13:36:21 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-03-07 14:35:03 +00:00
<a name="link_storage_setattr_fixed_disk_dev"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>storage_setattr_fixed_disk_dev</b>(
2005-07-05 13:36:21 +00:00
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>
2006-03-07 14:35:03 +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>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2006-03-07 14:35:03 +00:00
</p>
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-03-07 14:35:03 +00:00
<a name="link_storage_setattr_removable_dev"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>storage_setattr_removable_dev</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>
2006-03-07 14:35:03 +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>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2006-03-07 14:35:03 +00:00
</p>
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-03-07 14:35:03 +00:00
<a name="link_storage_setattr_scsi_generic_dev"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>storage_setattr_scsi_generic_dev</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>
2006-03-07 14:35:03 +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>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2006-03-07 14:35:03 +00:00
</p>
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-03-07 14:35:03 +00:00
<a name="link_storage_setattr_scsi_generic_dev_dev"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>storage_setattr_scsi_generic_dev_dev</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>
2006-03-07 14:35:03 +00:00
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>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2006-03-07 14:35:03 +00:00
</p>
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-03-07 14:35:03 +00:00
<a name="link_storage_setattr_tape_dev"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>storage_setattr_tape_dev</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 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>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2006-03-07 14:35:03 +00:00
</p>
2005-07-05 13:36:21 +00:00
</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>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2006-03-07 14:35:03 +00:00
</p>
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_storage_tmpfs_filetrans_fixed_disk"></a>
<div id="interface">
<div id="codeblock">
<b>storage_tmpfs_filetrans_fixed_disk</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Create block devices in on a tmpfs filesystem with the
fixed disk type via an automatic type transition.
</p>
2005-06-15 15:45:57 +00:00
2006-03-07 14:35:03 +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>
<p>
The type of the process performing this action.
</p>
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>
2006-03-07 14:35:03 +00:00
<p>
2005-07-07 17:19:13 +00:00
Domain allowed access.
2006-03-07 14:35:03 +00:00
</p>
2005-07-07 17:19:13 +00:00
</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>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2006-03-07 14:35:03 +00:00
</p>
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-03-07 14:35:03 +00:00
<a name="link_storage_write_tape"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>storage_write_tape</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 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>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2006-03-07 14:35:03 +00:00
</p>
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
2005-09-07 14:45:49 +00:00
2005-06-15 15:45:57 +00:00
</div>
</body>
</html>