selinux-refpolicy/www/api-docs/kernel_corecommands.html

1867 lines
24 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
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_corenetwork.html'>
corenetwork</a><br/>
2005-06-15 15:45:57 +00:00
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_devices.html'>
devices</a><br/>
2005-06-15 15:45:57 +00:00
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_domain.html'>
2005-06-15 15:45:57 +00:00
domain</a><br/>
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_files.html'>
2005-06-15 15:45:57 +00:00
files</a><br/>
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_filesystem.html'>
filesystem</a><br/>
2005-06-15 15:45:57 +00:00
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_kernel.html'>
kernel</a><br/>
2005-06-15 15:45:57 +00:00
2006-03-07 14:35:03 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_mcs.html'>
mcs</a><br/>
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_mls.html'>
mls</a><br/>
2005-06-15 15:45:57 +00:00
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_selinux.html'>
selinux</a><br/>
2005-06-15 15:45:57 +00:00
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_storage.html'>
storage</a><br/>
2005-06-15 15:45:57 +00:00
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='kernel_terminal.html'>
terminal</a><br/>
2005-06-15 15:45:57 +00:00
2005-12-07 15:46:38 +00:00
</div>
<a href="services.html">+&nbsp;
services</a></br/>
<div id='subitem'>
2005-07-07 17:19:13 +00:00
2005-12-07 15:46:38 +00:00
</div>
<a href="system.html">+&nbsp;
system</a></br/>
<div id='subitem'>
2005-06-15 15:45:57 +00:00
</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-12-07 15:46:38 +00:00
<h1>Layer: kernel</h1><p/>
2005-06-15 15:45:57 +00:00
<h2>Module: corecommands</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>
2005-06-15 15:45:57 +00:00
Core policy for shells, and generic programs
in /bin, /sbin, /usr/bin, and /usr/sbin.
2005-07-07 17:19:13 +00:00
</p></p>
2005-06-15 15:45:57 +00:00
2005-09-07 14:45:49 +00:00
<p>This module is required to be included in all policies.</p>
2005-07-05 13:36:21 +00:00
<a name="interfaces"></a>
2005-06-15 15:45:57 +00:00
<h3>Interfaces: </h3>
2005-12-07 15:46:38 +00:00
<a name="link_corecmd_bin_alias"></a>
<div id="interface">
<div id="codeblock">
<b>corecmd_bin_alias</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Create a aliased type to generic bin files.
</p>
<h5>Description</h5>
<p>
</p><p>
Create a aliased type to generic bin files.
</p><p>
</p><p>
This is added to support targeted policy. Its
use should be limited. It has no effect
on the strict policy.
</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>
2006-03-07 14:35:03 +00:00
<p>
2005-12-07 15:46:38 +00:00
Alias type for bin_t.
2006-03-07 14:35:03 +00:00
</p>
2005-12-07 15:46:38 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_corecmd_bin_domtrans"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
2005-07-05 13:36:21 +00:00
<div id="codeblock">
2005-08-02 17:21:46 +00:00
<b>corecmd_bin_domtrans</b>(
2005-07-05 13:36:21 +00:00
2005-08-02 17:21:46 +00:00
domain
,
target_domain
2005-07-05 13:36:21 +00:00
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
2005-08-02 17:21:46 +00:00
Execute a file in a bin directory
in the specified domain.
2005-07-05 13:36:21 +00:00
</p>
2005-08-02 17:21:46 +00:00
<h5>Description</h5>
<p>
</p><p>
Execute a file in a bin directory
in the specified domain. This allows
the specified domain to execute any file
on these filesystems in the specified
domain. This is not suggested.
</p><p>
</p><p>
No interprocess communication (signals, pipes,
etc.) is provided by this interface since
the domains are not owned by this module.
</p><p>
</p><p>
This interface was added to handle
the ssh-agent policy.
</p><p>
</p>
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>
2005-08-02 17:21:46 +00:00
domain
2005-07-05 13:36:21 +00:00
</td><td>
2006-03-07 14:35:03 +00:00
<p>
2005-12-07 15:46:38 +00:00
Domain allowed access.
2006-03-07 14:35:03 +00:00
</p>
2005-08-02 17:21:46 +00:00
</td><td>
No
</td></tr>
<tr><td>
target_domain
</td><td>
2006-03-07 14:35:03 +00:00
<p>
2005-08-02 17:21:46 +00:00
The type of the new process.
2006-03-07 14:35:03 +00:00
</p>
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_corecmd_bin_spec_domtrans"></a>
<div id="interface">
<div id="codeblock">
<b>corecmd_bin_spec_domtrans</b>(
domain
,
target_domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Execute a file in a bin directory
in the specified domain but do not
do it automatically. This is an explicit
transition, requiring the caller to use setexeccon().
</p>
<h5>Description</h5>
<p>
</p><p>
Execute a file in a bin directory
in the specified domain. This allows
the specified domain to execute any file
on these filesystems in the specified
domain. This is not suggested.
</p><p>
</p><p>
No interprocess communication (signals, pipes,
etc.) is provided by this interface since
the domains are not owned by this module.
</p><p>
</p><p>
This interface was added to handle
the userhelper policy.
</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>
Domain allowed access.
</p>
</td><td>
No
</td></tr>
2005-07-05 13:36:21 +00:00
2006-03-07 14:35:03 +00:00
<tr><td>
target_domain
</td><td>
<p>
The type of the new process.
</p>
2005-07-05 13:36:21 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-12-07 15:46:38 +00:00
<a name="link_corecmd_check_exec_shell"></a>
<div id="interface">
<div id="codeblock">
<b>corecmd_check_exec_shell</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Check if a shell is executable (DAC-wise).
</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-12-07 15:46:38 +00:00
Domain allowed access.
2006-03-07 14:35:03 +00:00
</p>
2005-12-07 15:46:38 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-03-07 14:35:03 +00:00
<a name="link_corecmd_dontaudit_getattr_sbin_files"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
2005-06-15 15:45:57 +00:00
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>corecmd_dontaudit_getattr_sbin_files</b>(
2005-06-15 15:45:57 +00:00
2005-08-02 17:21:46 +00:00
?
2005-06-15 15:45:57 +00:00
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-08-02 17:21:46 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-08-02 17:21:46 +00:00
Summary is missing!
2005-06-15 21:11:49 +00:00
</p>
2005-08-02 17:21:46 +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>
2005-08-02 17:21:46 +00:00
?
2005-06-15 15:45:57 +00:00
</td><td>
2006-03-07 14:35:03 +00:00
<p>
2005-08-02 17:21:46 +00:00
Parameter descriptions are missing!
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-12-07 15:46:38 +00:00
<a name="link_corecmd_dontaudit_search_sbin"></a>
<div id="interface">
<div id="codeblock">
<b>corecmd_dontaudit_search_sbin</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Do not audit attempts to search
sbin directories.
</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-12-07 15:46:38 +00:00
Domain to not audit.
2006-03-07 14:35:03 +00:00
</p>
2005-12-07 15:46:38 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_corecmd_exec_bin"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
2005-08-02 17:21:46 +00:00
<b>corecmd_exec_bin</b>(
2005-06-15 15:45:57 +00:00
2005-07-05 13:36:21 +00:00
?
2005-06-15 15:45:57 +00:00
2005-07-05 13:36:21 +00:00
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Summary is missing!
</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>
?
</td><td>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
Parameter descriptions are missing!
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_corecmd_exec_chroot"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
2005-08-02 17:21:46 +00:00
<b>corecmd_exec_chroot</b>(
2005-07-05 13:36:21 +00:00
2005-06-15 15:45:57 +00:00
2005-07-05 13:36:21 +00:00
?
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Summary is missing!
</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>
?
</td><td>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
Parameter descriptions are missing!
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_corecmd_exec_ls"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>corecmd_exec_ls</b>(
2005-06-15 15:45:57 +00:00
2005-07-05 13:36:21 +00:00
?
2005-06-15 15:45:57 +00:00
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-07-05 13:36:21 +00:00
<h5>Summary</h5>
<p>
Summary is missing!
</p>
2005-06-15 21:11:49 +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>
?
</td><td>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
Parameter descriptions are missing!
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_corecmd_exec_sbin"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>corecmd_exec_sbin</b>(
?
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Summary is missing!
</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>
?
</td><td>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
Parameter descriptions are missing!
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_corecmd_exec_shell"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>corecmd_exec_shell</b>(
?
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Summary is missing!
</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>
?
</td><td>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
Parameter descriptions are missing!
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_corecmd_getattr_bin_files"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>corecmd_getattr_bin_files</b>(
2005-07-05 13:36:21 +00:00
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
Get the attributes of files in bin directories.
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-12-07 15:46:38 +00:00
Domain allowed access.
2006-03-07 14:35:03 +00:00
</p>
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
2005-07-05 13:36:21 +00:00
</table>
</div>
</div>
2006-03-07 14:35:03 +00:00
<a name="link_corecmd_getattr_sbin_files"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>corecmd_getattr_sbin_files</b>(
2005-07-05 13:36:21 +00:00
?
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Summary is missing!
</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 15:45:57 +00:00
<tr><td>
2005-07-05 13:36:21 +00:00
?
2005-06-15 15:45:57 +00:00
</td><td>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
Parameter descriptions are missing!
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_corecmd_list_bin"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>corecmd_list_bin</b>(
?
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Summary is missing!
</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>
?
</td><td>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
Parameter descriptions are missing!
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_corecmd_list_sbin"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>corecmd_list_sbin</b>(
?
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Summary is missing!
</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>
?
</td><td>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
Parameter descriptions are missing!
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-01-17 20:40:13 +00:00
<a name="link_corecmd_manage_bin_files"></a>
<div id="interface">
<div id="codeblock">
<b>corecmd_manage_bin_files</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Create, read, write, and delete bin 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>
2006-03-07 14:35:03 +00:00
<p>
2006-01-17 20:40:13 +00:00
Domain allowed access.
2006-03-07 14:35:03 +00:00
</p>
2006-01-17 20:40:13 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_corecmd_manage_sbin_files"></a>
<div id="interface">
<div id="codeblock">
<b>corecmd_manage_sbin_files</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Create, read, write, and delete sbin 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>
2006-03-07 14:35:03 +00:00
<p>
2006-01-17 20:40:13 +00:00
Domain allowed access.
2006-03-07 14:35:03 +00:00
</p>
2006-01-17 20:40:13 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_corecmd_mmap_bin_files"></a>
<div id="interface">
<div id="codeblock">
<b>corecmd_mmap_bin_files</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Mmap a bin file as executable.
</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>
2006-01-17 20:40:13 +00:00
Domain allowed access.
2006-03-07 14:35:03 +00:00
</p>
2006-01-17 20:40:13 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_corecmd_mmap_sbin_files"></a>
<div id="interface">
<div id="codeblock">
<b>corecmd_mmap_sbin_files</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Mmap a sbin file as executable.
</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>
2006-01-17 20:40:13 +00:00
Domain allowed access.
2006-03-07 14:35:03 +00:00
</p>
2006-01-17 20:40:13 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-03-07 14:35:03 +00:00
<a name="link_corecmd_read_bin_files"></a>
2005-08-02 17:21:46 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>corecmd_read_bin_files</b>(
2005-08-02 17:21:46 +00:00
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Read files in bin directories.
</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-12-07 15:46:38 +00:00
Domain allowed access.
2006-03-07 14:35:03 +00:00
</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_corecmd_read_bin_pipes"></a>
2005-08-02 17:21:46 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>corecmd_read_bin_pipes</b>(
2005-08-02 17:21:46 +00:00
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Read pipes in bin directories.
</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-12-07 15:46:38 +00:00
Domain allowed access.
2006-03-07 14:35:03 +00:00
</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_corecmd_read_bin_sockets"></a>
2005-08-02 17:21:46 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>corecmd_read_bin_sockets</b>(
2005-08-02 17:21:46 +00:00
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Read named sockets in bin directories.
</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-12-07 15:46:38 +00:00
Domain allowed access.
2006-03-07 14:35:03 +00:00
</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_corecmd_read_bin_symlinks"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>corecmd_read_bin_symlinks</b>(
2005-07-05 13:36:21 +00:00
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Read symbolic links in bin directories.
</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-12-07 15:46:38 +00:00
Domain allowed access.
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_corecmd_read_sbin_files"></a>
2005-08-02 17:21:46 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>corecmd_read_sbin_files</b>(
2005-08-02 17:21:46 +00:00
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Read files in sbin directories.
</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-12-07 15:46:38 +00:00
Domain allowed access.
2006-03-07 14:35:03 +00:00
</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_corecmd_read_sbin_pipes"></a>
2005-08-02 17:21:46 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>corecmd_read_sbin_pipes</b>(
2005-08-02 17:21:46 +00:00
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Read named pipes in sbin directories.
</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-12-07 15:46:38 +00:00
Domain allowed access.
2006-03-07 14:35:03 +00:00
</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_corecmd_read_sbin_sockets"></a>
2005-08-02 17:21:46 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>corecmd_read_sbin_sockets</b>(
2005-08-02 17:21:46 +00:00
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Read named sockets in sbin directories.
</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-12-07 15:46:38 +00:00
Domain allowed access.
2006-03-07 14:35:03 +00:00
</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_corecmd_read_sbin_symlinks"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>corecmd_read_sbin_symlinks</b>(
2005-07-05 13:36:21 +00:00
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Read symbolic links in sbin directories.
</p>
2006-01-17 20:40:13 +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>
2006-01-17 20:40:13 +00:00
Domain allowed access.
2006-03-07 14:35:03 +00:00
</p>
2006-01-17 20:40:13 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_corecmd_relabel_bin_files"></a>
<div id="interface">
<div id="codeblock">
<b>corecmd_relabel_bin_files</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Relabel to and from the bin type.
</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>
2006-01-17 20:40:13 +00:00
Domain allowed access.
2006-03-07 14:35:03 +00:00
</p>
2006-01-17 20:40:13 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_corecmd_relabel_sbin_files"></a>
<div id="interface">
<div id="codeblock">
<b>corecmd_relabel_sbin_files</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Relabel to and from the sbin type.
</p>
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-12-07 15:46:38 +00:00
Domain allowed access.
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-09-07 14:45:49 +00:00
<a name="link_corecmd_sbin_domtrans"></a>
<div id="interface">
<div id="codeblock">
<b>corecmd_sbin_domtrans</b>(
domain
,
target_domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Execute a file in a sbin directory
in the specified domain.
</p>
<h5>Description</h5>
<p>
</p><p>
Execute a file in a sbin directory
in the specified domain. This allows
the specified domain to execute any file
on these filesystems in the specified
domain. This is not suggested.
</p><p>
</p><p>
No interprocess communication (signals, pipes,
etc.) is provided by this interface since
the domains are not owned by this module.
</p><p>
</p><p>
This interface was added to handle
the ssh-agent policy.
</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>
2006-03-07 14:35:03 +00:00
<p>
2005-12-07 15:46:38 +00:00
Domain allowed access.
2006-03-07 14:35:03 +00:00
</p>
2005-09-07 14:45:49 +00:00
</td><td>
No
</td></tr>
<tr><td>
target_domain
</td><td>
2006-03-07 14:35:03 +00:00
<p>
2005-09-07 14:45:49 +00:00
The type of the new process.
2006-03-07 14:35:03 +00:00
</p>
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_corecmd_sbin_spec_domtrans"></a>
<div id="interface">
<div id="codeblock">
<b>corecmd_sbin_spec_domtrans</b>(
domain
,
target_domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Execute a file in a sbin directory
in the specified domain but do not
do it automatically. This is an explicit
transition, requiring the caller to use setexeccon().
</p>
<h5>Description</h5>
<p>
</p><p>
Execute a file in a sbin directory
in the specified domain. This allows
the specified domain to execute any file
on these filesystems in the specified
domain. This is not suggested.
</p><p>
</p><p>
No interprocess communication (signals, pipes,
etc.) is provided by this interface since
the domains are not owned by this module.
</p><p>
</p><p>
This interface was added to handle
the userhelper policy.
</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>
Domain allowed access.
</p>
</td><td>
No
</td></tr>
2005-09-07 14:45:49 +00:00
2006-03-07 14:35:03 +00:00
<tr><td>
target_domain
</td><td>
<p>
The type of the new process.
</p>
2005-09-07 14:45:49 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_corecmd_search_bin"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>corecmd_search_bin</b>(
?
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Summary is missing!
</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>
?
</td><td>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
Parameter descriptions are missing!
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_corecmd_search_sbin"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>corecmd_search_sbin</b>(
?
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Summary is missing!
</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>
?
</td><td>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
Parameter descriptions are missing!
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_corecmd_shell_domtrans"></a>
<div id="interface">
<div id="codeblock">
<b>corecmd_shell_domtrans</b>(
domain
,
target_domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Execute a shell in the specified domain.
</p>
<h5>Description</h5>
<p>
</p><p>
Execute a shell in the specified domain.
</p><p>
</p><p>
No interprocess communication (signals, pipes,
etc.) is provided by this interface since
the domains are not owned by this module.
</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>
2006-03-07 14:35:03 +00:00
<p>
2005-12-07 15:46:38 +00:00
Domain allowed access.
2006-03-07 14:35:03 +00:00
</p>
2005-08-02 17:21:46 +00:00
</td><td>
No
</td></tr>
<tr><td>
target_domain
</td><td>
2006-03-07 14:35:03 +00:00
<p>
2005-08-02 17:21:46 +00:00
The type of the shell process.
2006-03-07 14:35:03 +00:00
</p>
2005-08-02 17:21:46 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_corecmd_shell_entry_type"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>corecmd_shell_entry_type</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Make the shell an entrypoint for the specified domain.
</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 domain for which the shell is an entrypoint.
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_corecmd_shell_spec_domtrans"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>corecmd_shell_spec_domtrans</b>(
domain
,
target_domain
)<br>
</div>
<div id="description">
2005-08-26 15:28:46 +00:00
<h5>Summary</h5>
<p>
Execute a shell in the target domain. This
is an explicit transition, requiring the
caller to use setexeccon().
</p>
2005-07-05 13:36:21 +00:00
<h5>Description</h5>
<p>
2005-08-02 17:21:46 +00:00
</p><p>
2005-07-05 13:36:21 +00:00
Execute a shell in the target domain. This
is an explicit transition, requiring the
caller to use setexeccon().
2005-08-02 17:21:46 +00:00
</p><p>
</p><p>
No interprocess communication (signals, pipes,
etc.) is provided by this interface since
the domains are not owned by this module.
</p><p>
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-12-07 15:46:38 +00:00
Domain allowed access.
2006-03-07 14:35:03 +00:00
</p>
2005-07-05 13:36:21 +00:00
</td><td>
No
</td></tr>
<tr><td>
target_domain
</td><td>
2006-03-07 14:35:03 +00:00
<p>
2005-07-05 13:36:21 +00:00
The type of the shell process.
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>
<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>