240 lines
3.9 KiB
HTML
240 lines
3.9 KiB
HTML
|
<html>
|
||
|
<head>
|
||
|
<title>
|
||
|
Security Enhanced Linux Reference Policy
|
||
|
</title>
|
||
|
<style type="text/css" media="all">@import "style.css";</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="Header">Security Enhanced Linux Reference Policy</div>
|
||
|
<div id='Menu'>
|
||
|
|
||
|
<a href="admin.html">+
|
||
|
admin</a></br/>
|
||
|
<div id='subitem'>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<a href="kernel.html">+
|
||
|
kernel</a></br/>
|
||
|
<div id='subitem'>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<a href="services.html">+
|
||
|
services</a></br/>
|
||
|
<div id='subitem'>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<a href="system.html">+
|
||
|
system</a></br/>
|
||
|
<div id='subitem'>
|
||
|
|
||
|
- <a href='system_authlogin.html'>
|
||
|
authlogin</a><br/>
|
||
|
|
||
|
- <a href='system_clock.html'>
|
||
|
clock</a><br/>
|
||
|
|
||
|
- <a href='system_corecommands.html'>
|
||
|
corecommands</a><br/>
|
||
|
|
||
|
- <a href='system_domain.html'>
|
||
|
domain</a><br/>
|
||
|
|
||
|
- <a href='system_files.html'>
|
||
|
files</a><br/>
|
||
|
|
||
|
- <a href='system_getty.html'>
|
||
|
getty</a><br/>
|
||
|
|
||
|
- <a href='system_hostname.html'>
|
||
|
hostname</a><br/>
|
||
|
|
||
|
- <a href='system_hotplug.html'>
|
||
|
hotplug</a><br/>
|
||
|
|
||
|
- <a href='system_init.html'>
|
||
|
init</a><br/>
|
||
|
|
||
|
- <a href='system_iptables.html'>
|
||
|
iptables</a><br/>
|
||
|
|
||
|
- <a href='system_libraries.html'>
|
||
|
libraries</a><br/>
|
||
|
|
||
|
- <a href='system_locallogin.html'>
|
||
|
locallogin</a><br/>
|
||
|
|
||
|
- <a href='system_logging.html'>
|
||
|
logging</a><br/>
|
||
|
|
||
|
- <a href='system_lvm.html'>
|
||
|
lvm</a><br/>
|
||
|
|
||
|
- <a href='system_miscfiles.html'>
|
||
|
miscfiles</a><br/>
|
||
|
|
||
|
- <a href='system_modutils.html'>
|
||
|
modutils</a><br/>
|
||
|
|
||
|
- <a href='system_mount.html'>
|
||
|
mount</a><br/>
|
||
|
|
||
|
- <a href='system_selinuxutil.html'>
|
||
|
selinuxutil</a><br/>
|
||
|
|
||
|
- <a href='system_sysnetwork.html'>
|
||
|
sysnetwork</a><br/>
|
||
|
|
||
|
- <a href='system_udev.html'>
|
||
|
udev</a><br/>
|
||
|
|
||
|
- <a href='system_userdomain.html'>
|
||
|
userdomain</a><br/>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<br/><p/>
|
||
|
<a href="interfaces.html">* Interface Index</a>
|
||
|
</div>
|
||
|
|
||
|
<div id="Content">
|
||
|
<h1>Layer: system</h1><p/>
|
||
|
<h2>Module: corecommands</h2><p/>
|
||
|
<h3>Description:</h3>
|
||
|
|
||
|
<p>
|
||
|
Core policy for shells, and generic programs
|
||
|
in /bin, /sbin, /usr/bin, and /usr/sbin.
|
||
|
</p>
|
||
|
|
||
|
<h3>Interfaces: </h3>
|
||
|
|
||
|
<div id="interface">
|
||
|
|
||
|
|
||
|
<div id="codeblock">
|
||
|
|
||
|
<b>corecmd_domtrans_shell</b>(
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
domain
|
||
|
|
||
|
|
||
|
|
||
|
,
|
||
|
|
||
|
|
||
|
|
||
|
target_domain
|
||
|
|
||
|
|
||
|
)<br>
|
||
|
</div>
|
||
|
|
||
|
<div id="description">
|
||
|
<h5>Description:</h5>
|
||
|
<p>
|
||
|
Execute a shell in the target domain.
|
||
|
</p><br/>
|
||
|
<h5>Parameters:</h5>
|
||
|
<div id="description">
|
||
|
<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>
|
||
|
|
||
|
<tr><td>
|
||
|
target_domain
|
||
|
</td><td>
|
||
|
|
||
|
The type of the shell process.
|
||
|
|
||
|
</td><td>
|
||
|
No
|
||
|
</td></tr>
|
||
|
|
||
|
</table>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div id="interface">
|
||
|
|
||
|
|
||
|
<div id="codeblock">
|
||
|
|
||
|
<b>corecmd_shell_spec_domtrans</b>(
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
domain
|
||
|
|
||
|
|
||
|
|
||
|
,
|
||
|
|
||
|
|
||
|
|
||
|
target_domain
|
||
|
|
||
|
|
||
|
)<br>
|
||
|
</div>
|
||
|
|
||
|
<div id="description">
|
||
|
<h5>Description:</h5>
|
||
|
<p>
|
||
|
Execute a shell in the target domain. This
|
||
|
is an explicit transition, requiring the
|
||
|
caller to use setexeccon().
|
||
|
</p><br/>
|
||
|
<h5>Parameters:</h5>
|
||
|
<div id="description">
|
||
|
<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>
|
||
|
|
||
|
<tr><td>
|
||
|
target_domain
|
||
|
</td><td>
|
||
|
|
||
|
The type of the shell process.
|
||
|
|
||
|
</td><td>
|
||
|
No
|
||
|
</td></tr>
|
||
|
|
||
|
</table>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|