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

304 lines
3.8 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'>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_dmesg.html'>
dmesg</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_rpm.html'>
rpm</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_usermanage.html'>
usermanage</a><br/>
</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="interfaces.html">*&nbsp;Interface Index</a>
</div>
<div id="Content">
<h1>Layer: admin</h1><p/>
<h2>Module: rpm</h2><p/>
<h3>Description:</h3>
<p>Policy for the RPM package manager.</p>
<h3>Interfaces: </h3>
<div id="interface">
<div id="codeblock">
<b>rpm_domtrans</b>(
domain
)<br>
</div>
<div id="description">
<h5>Description:</h5>
<p>
Execute rpm programs in the rpm 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>
</table>
</div>
</div>
</div>
<div id="interface">
<div id="codeblock">
<b>rpm_read_db</b>(
domain
)<br>
</div>
<div id="description">
<h5>Description:</h5>
<p>
Read RPM package database.
</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>
</table>
</div>
</div>
</div>
<div id="interface">
<div id="codeblock">
<b>rpm_read_pipe</b>(
domain
)<br>
</div>
<div id="description">
<h5>Description:</h5>
<p>
Read from a RPM pipe.
</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>
</table>
</div>
</div>
</div>
<div id="interface">
<div id="codeblock">
<b>rpm_run</b>(
domain
,
role
,
terminal
)<br>
</div>
<div id="description">
<h5>Description:</h5>
<p>
Execute RPM programs in the RPM 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>
role
</td><td>
The role to allow the RPM domain.
</td><td>
No
</td></tr>
<tr><td>
terminal
</td><td>
The type of the terminal allow the RPM domain to use.
</td><td>
No
</td></tr>
</table>
</div>
</div>
</div>
<div id="interface">
<div id="codeblock">
<b>rpm_use_fd</b>(
domain
)<br>
</div>
<div id="description">
<h5>Description:</h5>
<p>
Inherit and use file descriptors from RPM.
</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>
</table>
</div>
</div>
</div>
</div>
</body>
</html>