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

691 lines
12 KiB
HTML
Raw Normal View History

2005-09-07 14:45:49 +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>
<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'>
2005-10-19 21:12:22 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_apache.html'>
apache</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_apm.html'>
apm</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_arpwatch.html'>
arpwatch</a><br/>
2006-01-17 20:40:13 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_automount.html'>
automount</a><br/>
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_avahi.html'>
avahi</a><br/>
2005-09-07 14:45:49 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_bind.html'>
bind</a><br/>
2005-10-19 21:12:22 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_bluetooth.html'>
bluetooth</a><br/>
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_canna.html'>
canna</a><br/>
2005-09-07 14:45:49 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_comsat.html'>
comsat</a><br/>
2005-09-22 18:40:05 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_cpucontrol.html'>
cpucontrol</a><br/>
2005-09-07 14:45:49 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_cron.html'>
cron</a><br/>
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_cups.html'>
cups</a><br/>
2005-09-22 18:40:05 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_cvs.html'>
cvs</a><br/>
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_cyrus.html'>
cyrus</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_dbskk.html'>
dbskk</a><br/>
2005-09-07 14:45:49 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_dbus.html'>
dbus</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_dhcp.html'>
dhcp</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_dictd.html'>
dictd</a><br/>
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_distcc.html'>
distcc</a><br/>
2006-01-17 20:40:13 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_djbdns.html'>
djbdns</a><br/>
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_dovecot.html'>
dovecot</a><br/>
2006-01-17 20:40:13 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_fetchmail.html'>
fetchmail</a><br/>
2005-10-19 21:12:22 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_finger.html'>
finger</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_ftp.html'>
ftp</a><br/>
2005-09-07 14:45:49 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_gpm.html'>
gpm</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_hal.html'>
hal</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_howl.html'>
howl</a><br/>
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_i18n_input.html'>
i18n_input</a><br/>
2005-09-07 14:45:49 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_inetd.html'>
inetd</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_inn.html'>
inn</a><br/>
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_irqbalance.html'>
irqbalance</a><br/>
2005-09-07 14:45:49 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_kerberos.html'>
kerberos</a><br/>
2005-09-22 18:40:05 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_ktalk.html'>
ktalk</a><br/>
2005-09-07 14:45:49 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_ldap.html'>
ldap</a><br/>
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_lpd.html'>
lpd</a><br/>
2005-10-19 21:12:22 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_mailman.html'>
mailman</a><br/>
2005-09-07 14:45:49 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_mta.html'>
mta</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_mysql.html'>
mysql</a><br/>
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_networkmanager.html'>
networkmanager</a><br/>
2005-09-07 14:45:49 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_nis.html'>
nis</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_nscd.html'>
nscd</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_ntp.html'>
ntp</a><br/>
2006-01-17 20:40:13 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_openct.html'>
openct</a><br/>
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_pegasus.html'>
pegasus</a><br/>
2005-09-22 18:40:05 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_portmap.html'>
portmap</a><br/>
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_postfix.html'>
postfix</a><br/>
2005-09-22 18:40:05 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_postgresql.html'>
postgresql</a><br/>
2005-10-19 21:12:22 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_ppp.html'>
ppp</a><br/>
2005-09-07 14:45:49 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_privoxy.html'>
privoxy</a><br/>
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_procmail.html'>
procmail</a><br/>
2006-01-17 20:40:13 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_publicfile.html'>
publicfile</a><br/>
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_radius.html'>
radius</a><br/>
2005-10-19 21:12:22 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_radvd.html'>
radvd</a><br/>
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_rdisc.html'>
rdisc</a><br/>
2005-09-07 14:45:49 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_remotelogin.html'>
remotelogin</a><br/>
2005-09-22 18:40:05 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_rlogin.html'>
rlogin</a><br/>
2006-01-17 20:40:13 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_roundup.html'>
roundup</a><br/>
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_rpc.html'>
rpc</a><br/>
2005-09-07 14:45:49 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_rshd.html'>
rshd</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_rsync.html'>
rsync</a><br/>
2005-09-22 18:40:05 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_samba.html'>
samba</a><br/>
2005-10-19 21:12:22 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_sasl.html'>
sasl</a><br/>
2005-09-07 14:45:49 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_sendmail.html'>
sendmail</a><br/>
2006-01-17 20:40:13 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_slrnpull.html'>
slrnpull</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_smartmon.html'>
smartmon</a><br/>
2005-09-22 18:40:05 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_snmp.html'>
snmp</a><br/>
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_spamassassin.html'>
spamassassin</a><br/>
2005-09-07 14:45:49 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_squid.html'>
squid</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_ssh.html'>
ssh</a><br/>
2005-09-22 18:40:05 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_stunnel.html'>
stunnel</a><br/>
2006-01-17 20:40:13 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_sysstat.html'>
sysstat</a><br/>
2005-09-07 14:45:49 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_tcpd.html'>
tcpd</a><br/>
2005-09-22 18:40:05 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_telnet.html'>
telnet</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_tftp.html'>
tftp</a><br/>
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_timidity.html'>
timidity</a><br/>
2006-01-17 20:40:13 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_ucspitcp.html'>
ucspitcp</a><br/>
2005-09-22 18:40:05 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_uucp.html'>
uucp</a><br/>
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_xfs.html'>
xfs</a><br/>
2006-03-07 14:35:03 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_xserver.html'>
xserver</a><br/>
2005-09-22 18:40:05 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_zebra.html'>
zebra</a><br/>
2005-09-07 14:45:49 +00:00
</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: services</h1><p/>
<h2>Module: dbus</h2><p/>
<a href=#interfaces>Interfaces</a>
<a href=#templates>Templates</a>
<h3>Description:</h3>
<p><p>Desktop messaging bus</p></p>
<a name="interfaces"></a>
<h3>Interfaces: </h3>
<a name="link_dbus_connect_system_bus"></a>
<div id="interface">
<div id="codeblock">
<b>dbus_connect_system_bus</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Connect to the the system DBUS
for service (acquire_svc).
</p>
2006-01-17 20:40:13 +00:00
<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-03-07 14:35:03 +00:00
<p>
2006-01-17 20:40:13 +00:00
Domain allowed access.
2006-03-07 14:35:03 +00:00
</p>
2006-01-17 20:40:13 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_dbus_read_config"></a>
<div id="interface">
<div id="codeblock">
<b>dbus_read_config</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Read dbus configuration.
</p>
2005-09-07 14:45:49 +00:00
<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-03-07 14:35:03 +00:00
<p>
2005-09-07 14:45:49 +00:00
Domain allowed access.
2006-03-07 14:35:03 +00:00
</p>
2005-09-07 14:45:49 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2006-03-07 14:35:03 +00:00
<a name="link_dbus_send_system_bus"></a>
2005-09-07 14:45:49 +00:00
<div id="interface">
<div id="codeblock">
2006-03-07 14:35:03 +00:00
<b>dbus_send_system_bus</b>(
2005-09-07 14:45:49 +00:00
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Send a message on the system DBUS.
</p>
2005-09-22 18:40:05 +00:00
<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-03-07 14:35:03 +00:00
<p>
2005-09-22 18:40:05 +00:00
Domain allowed access.
2006-03-07 14:35:03 +00:00
</p>
2005-09-22 18:40:05 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-12-07 15:46:38 +00:00
<a name="link_dbus_stub"></a>
<div id="interface">
<div id="codeblock">
<b>dbus_stub</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
DBUS stub interface. No access allowed.
</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-03-07 14:35:03 +00:00
<p>
2005-12-07 15:46:38 +00:00
N/A
2006-03-07 14:35:03 +00:00
</p>
2005-12-07 15:46:38 +00:00
</td><td>
2006-03-07 14:35:03 +00:00
Yes
2005-12-07 15:46:38 +00:00
</td></tr>
</table>
</div>
</div>
2005-09-22 18:40:05 +00:00
<a name="link_dbus_system_bus_unconfined"></a>
<div id="interface">
<div id="codeblock">
<b>dbus_system_bus_unconfined</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Allow unconfined access to the system DBUS.
</p>
2005-09-07 14:45:49 +00:00
<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-03-07 14:35:03 +00:00
<p>
2005-09-07 14:45:49 +00:00
Domain allowed access.
2006-03-07 14:35:03 +00:00
</p>
2005-09-07 14:45:49 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a href=#top>Return</a>
<a name="templates"></a>
<h3>Templates: </h3>
<a name="link_dbus_per_userdomain_template"></a>
<div id="template">
<div id="codeblock">
<b>dbus_per_userdomain_template</b>(
userdomain_prefix
,
user_domain
,
user_role
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
The per user domain template for the dbus module.
</p>
<h5>Description</h5>
<p>
</p><p>
This template creates a derived domain which is
used for the user dbus.
</p><p>
</p><p>
This template is invoked automatically for each user, and
generally does not need to be invoked directly
by policy writers.
</p><p>
</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>
userdomain_prefix
</td><td>
2006-03-07 14:35:03 +00:00
<p>
2005-09-07 14:45:49 +00:00
The prefix of the user domain (e.g., user
is the prefix for user_t).
2006-03-07 14:35:03 +00:00
</p>
2005-09-07 14:45:49 +00:00
</td><td>
No
</td></tr>
<tr><td>
user_domain
</td><td>
2006-03-07 14:35:03 +00:00
<p>
2005-09-07 14:45:49 +00:00
The type of the user domain.
2006-03-07 14:35:03 +00:00
</p>
2005-09-07 14:45:49 +00:00
</td><td>
No
</td></tr>
<tr><td>
user_role
</td><td>
2006-03-07 14:35:03 +00:00
<p>
2005-09-07 14:45:49 +00:00
The role associated with the user domain.
2006-03-07 14:35:03 +00:00
</p>
2005-09-07 14:45:49 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_dbus_system_bus_client_template"></a>
<div id="template">
<div id="codeblock">
<b>dbus_system_bus_client_template</b>(
domain_prefix
,
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Template for creating connections to
the system DBUS.
</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_prefix
</td><td>
2006-03-07 14:35:03 +00:00
<p>
2005-09-07 14:45:49 +00:00
The prefix of the domain (e.g., user
is the prefix for user_t).
2006-03-07 14:35:03 +00:00
</p>
2005-09-07 14:45:49 +00:00
</td><td>
No
</td></tr>
<tr><td>
domain
</td><td>
2006-03-07 14:35:03 +00:00
<p>
2005-09-07 14:45:49 +00:00
The type of the domain.
2006-03-07 14:35:03 +00:00
</p>
2005-09-07 14:45:49 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a href=#top>Return</a>
</div>
</body>
</html>