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

663 lines
9.4 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">+&nbsp;
admin</a></br/>
<div id='subitem'>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_acct.html'>
acct</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_alsa.html'>
alsa</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_amanda.html'>
amanda</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_anaconda.html'>
anaconda</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_bootloader.html'>
bootloader</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_certwatch.html'>
certwatch</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_consoletype.html'>
consoletype</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_ddcprobe.html'>
ddcprobe</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_dmesg.html'>
dmesg</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_dmidecode.html'>
dmidecode</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_firstboot.html'>
firstboot</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_kudzu.html'>
kudzu</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_logrotate.html'>
logrotate</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_logwatch.html'>
logwatch</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_mrtg.html'>
mrtg</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_netutils.html'>
netutils</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_portage.html'>
portage</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_prelink.html'>
prelink</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_quota.html'>
quota</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_readahead.html'>
readahead</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_rpm.html'>
rpm</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_su.html'>
su</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_sudo.html'>
sudo</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_tmpreaper.html'>
tmpreaper</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_updfstab.html'>
updfstab</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_usbmodules.html'>
usbmodules</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_usermanage.html'>
usermanage</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_vbetool.html'>
vbetool</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_vpn.html'>
vpn</a><br/>
</div>
<a href="apps.html">+&nbsp;
apps</a></br/>
<div id='subitem'>
</div>
<a href="kernel.html">+&nbsp;
kernel</a></br/>
<div id='subitem'>
</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/>
<a href="global_booleans.html">*&nbsp;Global&nbsp;Booleans&nbsp;</a>
<br/><p/>
<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>
</div>
<div id="Content">
<a name="top":></a>
<h1>Layer: admin</h1><p/>
<h2>Module: rpm</h2><p/>
<h3>Description:</h3>
<p><p>Policy for the RPM package manager.</p></p>
<a name="interfaces"></a>
<h3>Interfaces: </h3>
<a name="link_rpm_domtrans"></a>
<div id="interface">
<div id="codeblock">
<b>rpm_domtrans</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Execute rpm programs in the rpm 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>
<p>
The type of the process performing this action.
</p>
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_rpm_domtrans_script"></a>
<div id="interface">
<div id="codeblock">
<b>rpm_domtrans_script</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Execute rpm_script programs in the rpm_script 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>
<p>
Domain allowed access.
</p>
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_rpm_dontaudit_manage_db"></a>
<div id="interface">
<div id="codeblock">
<b>rpm_dontaudit_manage_db</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Do not audit attempts to create, read,
write, and delete the RPM package database.
</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>
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_rpm_manage_db"></a>
<div id="interface">
<div id="codeblock">
<b>rpm_manage_db</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Create, read, write, and delete the RPM package database.
</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>
The type of the process performing this action.
</p>
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_rpm_manage_log"></a>
<div id="interface">
<div id="codeblock">
<b>rpm_manage_log</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Create, read, write, and delete the RPM log.
</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>
The type of the process performing this action.
</p>
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_rpm_read_db"></a>
<div id="interface">
<div id="codeblock">
<b>rpm_read_db</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Read the RPM package database.
</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>
The type of the process performing this action.
</p>
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_rpm_read_pipes"></a>
<div id="interface">
<div id="codeblock">
<b>rpm_read_pipes</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Read from an unnamed RPM pipe.
</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>
The type of the process performing this action.
</p>
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_rpm_run"></a>
<div id="interface">
<div id="codeblock">
<b>rpm_run</b>(
domain
,
role
,
terminal
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Execute RPM programs in the RPM 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>
<p>
The type of the process performing this action.
</p>
</td><td>
No
</td></tr>
<tr><td>
role
</td><td>
<p>
The role to allow the RPM domain.
</p>
</td><td>
No
</td></tr>
<tr><td>
terminal
</td><td>
<p>
The type of the terminal allow the RPM domain to use.
</p>
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_rpm_rw_pipes"></a>
<div id="interface">
<div id="codeblock">
<b>rpm_rw_pipes</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Read and write an unnamed RPM pipe.
</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>
The type of the process performing this action.
</p>
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_rpm_use_fds"></a>
<div id="interface">
<div id="codeblock">
<b>rpm_use_fds</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Inherit and use file descriptors from RPM.
</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>
The type of the process performing this action.
</p>
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_rpm_use_script_fds"></a>
<div id="interface">
<div id="codeblock">
<b>rpm_use_script_fds</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Inherit and use file descriptors from RPM scripts.
</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>
The type of the process performing this action.
</p>
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a href=#top>Return</a>
</div>
</body>
</html>