2005-07-05 13:36:21 +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">+
|
|
|
|
admin</a></br/>
|
|
|
|
<div id='subitem'>
|
|
|
|
|
2005-08-26 15:28:46 +00:00
|
|
|
- <a href='admin_acct.html'>
|
|
|
|
acct</a><br/>
|
|
|
|
|
2005-12-07 15:46:38 +00:00
|
|
|
- <a href='admin_amanda.html'>
|
|
|
|
amanda</a><br/>
|
|
|
|
|
2005-10-19 21:12:22 +00:00
|
|
|
- <a href='admin_anaconda.html'>
|
|
|
|
anaconda</a><br/>
|
|
|
|
|
2005-07-05 13:36:21 +00:00
|
|
|
- <a href='admin_consoletype.html'>
|
|
|
|
consoletype</a><br/>
|
|
|
|
|
|
|
|
- <a href='admin_dmesg.html'>
|
|
|
|
dmesg</a><br/>
|
|
|
|
|
2005-10-19 21:12:22 +00:00
|
|
|
- <a href='admin_dmidecode.html'>
|
|
|
|
dmidecode</a><br/>
|
|
|
|
|
2005-08-26 15:28:46 +00:00
|
|
|
- <a href='admin_firstboot.html'>
|
|
|
|
firstboot</a><br/>
|
|
|
|
|
2005-10-19 21:12:22 +00:00
|
|
|
- <a href='admin_kudzu.html'>
|
|
|
|
kudzu</a><br/>
|
|
|
|
|
2005-07-05 13:36:21 +00:00
|
|
|
- <a href='admin_logrotate.html'>
|
|
|
|
logrotate</a><br/>
|
|
|
|
|
|
|
|
- <a href='admin_netutils.html'>
|
|
|
|
netutils</a><br/>
|
|
|
|
|
2005-08-26 15:28:46 +00:00
|
|
|
- <a href='admin_quota.html'>
|
|
|
|
quota</a><br/>
|
|
|
|
|
2005-07-05 13:36:21 +00:00
|
|
|
- <a href='admin_rpm.html'>
|
|
|
|
rpm</a><br/>
|
|
|
|
|
2005-08-26 15:28:46 +00:00
|
|
|
- <a href='admin_su.html'>
|
|
|
|
su</a><br/>
|
|
|
|
|
|
|
|
- <a href='admin_sudo.html'>
|
|
|
|
sudo</a><br/>
|
|
|
|
|
|
|
|
- <a href='admin_tmpreaper.html'>
|
|
|
|
tmpreaper</a><br/>
|
|
|
|
|
|
|
|
- <a href='admin_updfstab.html'>
|
|
|
|
updfstab</a><br/>
|
|
|
|
|
2005-07-05 13:36:21 +00:00
|
|
|
- <a href='admin_usermanage.html'>
|
|
|
|
usermanage</a><br/>
|
|
|
|
|
2005-09-22 18:40:05 +00:00
|
|
|
- <a href='admin_vpn.html'>
|
|
|
|
vpn</a><br/>
|
|
|
|
|
2005-07-05 13:36:21 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<a href="apps.html">+
|
|
|
|
apps</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'>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<br/><p/>
|
2005-08-02 17:21:46 +00:00
|
|
|
<a href="global_booleans.html">* Global Booleans </a>
|
2005-07-05 13:36:21 +00:00
|
|
|
<br/><p/>
|
2005-08-02 17:21:46 +00:00
|
|
|
<a href="global_tunables.html">* Global Tunables </a>
|
|
|
|
<p/><br/><p/>
|
|
|
|
<a href="index.html">* Layer Index</a>
|
|
|
|
<br/><p/>
|
|
|
|
<a href="interfaces.html">* Interface Index</a>
|
|
|
|
<br/><p/>
|
|
|
|
<a href="templates.html">* Template Index</a>
|
2005-07-05 13:36:21 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="Content">
|
|
|
|
<a name="top":></a>
|
|
|
|
<h1>Layer: admin</h1><p/>
|
|
|
|
<h2>Module: logrotate</h2><p/>
|
|
|
|
|
|
|
|
<h3>Description:</h3>
|
|
|
|
|
2005-07-07 17:19:13 +00:00
|
|
|
<p><p>Rotate and archive system logs</p></p>
|
|
|
|
|
2005-07-05 13:36:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
<a name="interfaces"></a>
|
|
|
|
<h3>Interfaces: </h3>
|
|
|
|
|
2005-08-02 17:21:46 +00:00
|
|
|
<a name="link_logrotate_domtrans"></a>
|
2005-07-05 13:36:21 +00:00
|
|
|
<div id="interface">
|
|
|
|
|
|
|
|
|
|
|
|
<div id="codeblock">
|
|
|
|
|
|
|
|
<b>logrotate_domtrans</b>(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
domain
|
|
|
|
|
|
|
|
|
|
|
|
)<br>
|
|
|
|
</div>
|
|
|
|
<div id="description">
|
|
|
|
|
|
|
|
<h5>Summary</h5>
|
|
|
|
<p>
|
|
|
|
Execute logrotate in the logrotate 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>
|
|
|
|
|
|
|
|
The type of the process performing this action.
|
|
|
|
|
|
|
|
</td><td>
|
|
|
|
No
|
|
|
|
</td></tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2005-08-02 17:21:46 +00:00
|
|
|
<a name="link_logrotate_dontaudit_use_fd"></a>
|
2005-07-05 13:36:21 +00:00
|
|
|
<div id="interface">
|
|
|
|
|
|
|
|
|
|
|
|
<div id="codeblock">
|
|
|
|
|
|
|
|
<b>logrotate_dontaudit_use_fd</b>(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
domain
|
|
|
|
|
|
|
|
|
|
|
|
)<br>
|
|
|
|
</div>
|
|
|
|
<div id="description">
|
|
|
|
|
|
|
|
<h5>Summary</h5>
|
|
|
|
<p>
|
|
|
|
Do not audit attempts to inherit logrotate file descriptors.
|
|
|
|
</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>
|
|
|
|
|
|
|
|
The type of the process to not audit.
|
|
|
|
|
|
|
|
</td><td>
|
|
|
|
No
|
|
|
|
</td></tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2005-08-02 17:21:46 +00:00
|
|
|
<a name="link_logrotate_exec"></a>
|
2005-07-05 13:36:21 +00:00
|
|
|
<div id="interface">
|
|
|
|
|
|
|
|
|
|
|
|
<div id="codeblock">
|
|
|
|
|
|
|
|
<b>logrotate_exec</b>(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
domain
|
|
|
|
|
|
|
|
|
|
|
|
)<br>
|
|
|
|
</div>
|
|
|
|
<div id="description">
|
|
|
|
|
|
|
|
<h5>Summary</h5>
|
|
|
|
<p>
|
|
|
|
Execute logrotate in the caller 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>
|
|
|
|
|
|
|
|
The type of the process performing this action.
|
|
|
|
|
|
|
|
</td><td>
|
|
|
|
No
|
|
|
|
</td></tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2005-09-07 14:45:49 +00:00
|
|
|
<a name="link_logrotate_read_tmp_files"></a>
|
|
|
|
<div id="interface">
|
|
|
|
|
|
|
|
|
|
|
|
<div id="codeblock">
|
|
|
|
|
|
|
|
<b>logrotate_read_tmp_files</b>(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
domain
|
|
|
|
|
|
|
|
|
|
|
|
)<br>
|
|
|
|
</div>
|
|
|
|
<div id="description">
|
|
|
|
|
|
|
|
<h5>Summary</h5>
|
|
|
|
<p>
|
|
|
|
Read a logrotate temporary 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>
|
|
|
|
|
|
|
|
The type of the process to not audit.
|
|
|
|
|
|
|
|
</td><td>
|
|
|
|
No
|
|
|
|
</td></tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2005-08-02 17:21:46 +00:00
|
|
|
<a name="link_logrotate_run"></a>
|
2005-07-05 13:36:21 +00:00
|
|
|
<div id="interface">
|
|
|
|
|
|
|
|
|
|
|
|
<div id="codeblock">
|
|
|
|
|
|
|
|
<b>logrotate_run</b>(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
domain
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
role
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
terminal
|
|
|
|
|
|
|
|
|
|
|
|
)<br>
|
|
|
|
</div>
|
|
|
|
<div id="description">
|
|
|
|
|
|
|
|
<h5>Summary</h5>
|
|
|
|
<p>
|
|
|
|
Execute logrotate in the logrotate domain, and
|
|
|
|
allow the specified role the logrotate 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>
|
|
|
|
|
|
|
|
The type of the process performing this action.
|
|
|
|
|
|
|
|
</td><td>
|
|
|
|
No
|
|
|
|
</td></tr>
|
|
|
|
|
|
|
|
<tr><td>
|
|
|
|
role
|
|
|
|
</td><td>
|
|
|
|
|
|
|
|
The role to be allowed the logrotate domain.
|
|
|
|
|
|
|
|
</td><td>
|
|
|
|
No
|
|
|
|
</td></tr>
|
|
|
|
|
|
|
|
<tr><td>
|
|
|
|
terminal
|
|
|
|
</td><td>
|
|
|
|
|
|
|
|
The type of the terminal allow the logrotate domain to use.
|
|
|
|
|
|
|
|
</td><td>
|
|
|
|
No
|
|
|
|
</td></tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2005-10-19 21:12:22 +00:00
|
|
|
<a name="link_logrotate_use_fd"></a>
|
|
|
|
<div id="interface">
|
|
|
|
|
|
|
|
|
|
|
|
<div id="codeblock">
|
|
|
|
|
|
|
|
<b>logrotate_use_fd</b>(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
domain
|
|
|
|
|
|
|
|
|
|
|
|
)<br>
|
|
|
|
</div>
|
|
|
|
<div id="description">
|
|
|
|
|
|
|
|
<h5>Summary</h5>
|
|
|
|
<p>
|
|
|
|
Inherit and use logrotate file descriptors.
|
|
|
|
</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>
|
|
|
|
|
|
|
|
Domain allowed access.
|
|
|
|
|
|
|
|
</td><td>
|
|
|
|
No
|
|
|
|
</td></tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2005-07-05 13:36:21 +00:00
|
|
|
|
|
|
|
<a href=#top>Return</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-09-07 14:45:49 +00:00
|
|
|
|
2005-07-05 13:36:21 +00:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|