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

951 lines
13 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'>
</div>
<a href="services.html">+&nbsp;
services</a></br/>
<div id='subitem'>
</div>
<a href="system.html">+&nbsp;
system</a></br/>
<div id='subitem'>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='system_authlogin.html'>
authlogin</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='system_clock.html'>
clock</a><br/>
2006-01-17 20:40:13 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='system_daemontools.html'>
daemontools</a><br/>
2005-07-05 13:36:21 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='system_fstools.html'>
fstools</a><br/>
2005-06-15 15:45:57 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='system_getty.html'>
getty</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='system_hostname.html'>
hostname</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='system_hotplug.html'>
hotplug</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='system_init.html'>
init</a><br/>
2005-08-02 17:21:46 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='system_ipsec.html'>
ipsec</a><br/>
2005-06-15 15:45:57 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='system_iptables.html'>
iptables</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='system_libraries.html'>
libraries</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='system_locallogin.html'>
locallogin</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='system_logging.html'>
logging</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='system_lvm.html'>
lvm</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='system_miscfiles.html'>
miscfiles</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='system_modutils.html'>
modutils</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='system_mount.html'>
mount</a><br/>
2005-08-02 17:21:46 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='system_pcmcia.html'>
pcmcia</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='system_raid.html'>
raid</a><br/>
2005-06-15 15:45:57 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='system_selinuxutil.html'>
selinuxutil</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='system_sysnetwork.html'>
sysnetwork</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='system_udev.html'>
udev</a><br/>
2005-07-07 17:19:13 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='system_unconfined.html'>
unconfined</a><br/>
2005-06-15 15:45:57 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='system_userdomain.html'>
userdomain</a><br/>
</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-06-15 15:45:57 +00:00
<h1>Layer: system</h1><p/>
<h2>Module: logging</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>Policy for the kernel message logger and system logging daemon.</p></p>
2005-06-15 15:45:57 +00:00
2005-07-05 13:36:21 +00:00
<a name="interfaces"></a>
2005-06-15 15:45:57 +00:00
<h3>Interfaces: </h3>
2005-08-02 17:21:46 +00:00
<a name="link_logging_append_all_logs"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
2005-07-05 13:36:21 +00:00
<div id="codeblock">
<b>logging_append_all_logs</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>
Parameter descriptions are missing!
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-01-17 20:40:13 +00:00
<a name="link_logging_domtrans_auditctl"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
2006-01-17 20:40:13 +00:00
<b>logging_domtrans_auditctl</b>(
2005-07-05 13:36:21 +00:00
2006-01-17 20:40:13 +00:00
domain
2005-07-05 13:36:21 +00:00
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
2006-01-17 20:40:13 +00:00
Execute auditctl in the auditctl domain.
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>
2006-01-17 20:40:13 +00:00
domain
2005-07-05 13:36:21 +00:00
</td><td>
2006-01-17 20:40:13 +00:00
Domain allowed access.
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_logging_domtrans_syslog"></a>
2005-12-07 15:46:38 +00:00
<div id="interface">
<div id="codeblock">
2006-01-17 20:40:13 +00:00
<b>logging_domtrans_syslog</b>(
2005-12-07 15:46:38 +00:00
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
2006-01-17 20:40:13 +00:00
Execute syslogd in the syslog domain.
2005-12-07 15:46:38 +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-01-17 20:40:13 +00:00
The type of the process performing this action.
2005-12-07 15:46:38 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-01-17 20:40:13 +00:00
<a name="link_logging_dontaudit_getattr_all_logs"></a>
2005-08-02 17:21:46 +00:00
<div id="interface">
<div id="codeblock">
2006-01-17 20:40:13 +00:00
<b>logging_dontaudit_getattr_all_logs</b>(
2005-08-02 17:21:46 +00:00
2006-01-17 20:40:13 +00:00
?
2005-08-02 17:21:46 +00:00
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
2006-01-17 20:40:13 +00:00
Summary is missing!
2005-08-02 17:21:46 +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>
2006-01-17 20:40:13 +00:00
?
2005-08-02 17:21:46 +00:00
</td><td>
2006-01-17 20:40:13 +00:00
Parameter descriptions are missing!
2005-08-02 17:21:46 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-01-17 20:40:13 +00:00
<a name="link_logging_exec_all_logs"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
2006-01-17 20:40:13 +00:00
<b>logging_exec_all_logs</b>(
2005-07-05 13:36:21 +00:00
2006-01-17 20:40:13 +00:00
domain
2005-07-05 13:36:21 +00:00
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
2006-01-17 20:40:13 +00:00
Execute all log files in the caller domain.
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>
2006-01-17 20:40:13 +00:00
domain
2005-07-05 13:36:21 +00:00
</td><td>
2006-01-17 20:40:13 +00:00
The type of the process performing this action.
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_logging_filetrans_log"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
2006-01-17 20:40:13 +00:00
<b>logging_filetrans_log</b>(
2005-07-05 13:36:21 +00:00
2006-01-17 20:40:13 +00:00
?
2005-07-05 13:36:21 +00:00
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
2006-01-17 20:40:13 +00:00
Summary is missing!
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>
2006-01-17 20:40:13 +00:00
?
2005-07-05 13:36:21 +00:00
</td><td>
2006-01-17 20:40:13 +00:00
Parameter descriptions are missing!
2005-07-05 13:36:21 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-10-19 21:12:22 +00:00
<a name="link_logging_list_logs"></a>
<div id="interface">
<div id="codeblock">
<b>logging_list_logs</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
List the contents of the generic log directory (/var/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>
Domain allowed access.
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_logging_log_file"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>logging_log_file</b>(
2005-09-22 18:40:05 +00:00
file_type
2005-07-05 13:36:21 +00:00
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
2005-09-22 18:40:05 +00:00
Make the specified type a file
used for logs.
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>
2005-09-22 18:40:05 +00:00
file_type
2005-07-05 13:36:21 +00:00
</td><td>
2005-09-22 18:40:05 +00:00
Type of the file to be used as a log.
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_logging_manage_all_logs"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>logging_manage_all_logs</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>
Parameter descriptions are missing!
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-09-22 18:40:05 +00:00
<a name="link_logging_manage_generic_logs"></a>
<div id="interface">
<div id="codeblock">
<b>logging_manage_generic_logs</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Create, read, write, and delete
generic log 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>
Domain allowed access.
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_logging_read_all_logs"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>logging_read_all_logs</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>
Parameter descriptions are missing!
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-01-17 20:40:13 +00:00
<a name="link_logging_read_audit_log"></a>
<div id="interface">
<div id="codeblock">
<b>logging_read_audit_log</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Read the audit 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>
Domain allowed access.
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-09-22 18:40:05 +00:00
<a name="link_logging_read_auditd_config"></a>
<div id="interface">
<div id="codeblock">
<b>logging_read_auditd_config</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Read the auditd configuration 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>
Domain allowed access.
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_logging_read_generic_logs"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>logging_read_generic_logs</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>
Parameter descriptions are missing!
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_logging_rw_generic_logs"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>logging_rw_generic_logs</b>(
2005-09-22 18:40:05 +00:00
domain
2005-07-05 13:36:21 +00:00
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
2005-09-22 18:40:05 +00:00
Read and write generic log files.
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>
2005-09-22 18:40:05 +00:00
domain
2005-07-05 13:36:21 +00:00
</td><td>
2005-09-22 18:40:05 +00:00
Domain allowed access.
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_logging_rw_log_dir"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>logging_rw_log_dir</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Read and write the generic log directory (/var/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>
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_logging_search_logs"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
2005-06-15 15:45:57 +00:00
<div id="codeblock">
<b>logging_search_logs</b>(
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-08-26 15:28:46 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Allows the domain to open a file in the
log directory, but does not allow the listing
of the contents of the log directory.
2005-06-15 21:11:49 +00:00
</p>
2005-08-26 15:28: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>
domain
</td><td>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
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_logging_send_syslog_msg"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>logging_send_syslog_msg</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>
Parameter descriptions are missing!
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_logging_write_generic_logs"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>logging_write_generic_logs</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>
Parameter descriptions are missing!
</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>