<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'> </div> <a href="apps.html">+ apps</a></br/> <div id='subitem'> </div> <a href="contrib.html">+ contrib</a></br/> <div id='subitem'> </div> <a href="kernel.html">+ kernel</a></br/> <div id='subitem'> </div> <a href="roles.html">+ roles</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'> - <a href='system_application.html'> application</a><br/> - <a href='system_authlogin.html'> authlogin</a><br/> - <a href='system_clock.html'> clock</a><br/> - <a href='system_fstools.html'> fstools</a><br/> - <a href='system_getty.html'> getty</a><br/> - <a href='system_hostname.html'> hostname</a><br/> - <a href='system_hotplug.html'> hotplug</a><br/> - <a href='system_init.html'> init</a><br/> - <a href='system_ipsec.html'> ipsec</a><br/> - <a href='system_iptables.html'> iptables</a><br/> - <a href='system_kdbus.html'> kdbus</a><br/> - <a href='system_libraries.html'> libraries</a><br/> - <a href='system_locallogin.html'> locallogin</a><br/> - <a href='system_logging.html'> logging</a><br/> - <a href='system_lvm.html'> lvm</a><br/> - <a href='system_miscfiles.html'> miscfiles</a><br/> - <a href='system_modutils.html'> modutils</a><br/> - <a href='system_mount.html'> mount</a><br/> - <a href='system_netlabel.html'> netlabel</a><br/> - <a href='system_selinuxutil.html'> selinuxutil</a><br/> - <a href='system_setrans.html'> setrans</a><br/> - <a href='system_sysnetwork.html'> sysnetwork</a><br/> - <a href='system_systemd.html'> systemd</a><br/> - <a href='system_udev.html'> udev</a><br/> - <a href='system_unconfined.html'> unconfined</a><br/> - <a href='system_userdomain.html'> userdomain</a><br/> </div> <br/><p/> <a href="global_booleans.html">* Global Booleans </a> <br/><p/> <a href="global_tunables.html">* Global Tunables </a> <p/><br/><p/> <a href="index.html">* Layer Index</a> <br/><p/> <a href="booleans.html">* Boolean Index</a> <br/><p/> <a href="tunables.html">* Tunable Index</a> <br/><p/> <a href="interfaces.html">* Interface Index</a> <br/><p/> <a href="templates.html">* Template Index</a> </div> <div id="Content"> <a name="top":></a> <h1>Layer: system</h1><p/> <h2>Module: udev</h2><p/> <a href=#interfaces>Interfaces</a> <h3>Description:</h3> <p><p>Policy for udev.</p></p> <hr> <a name="interfaces"></a> <h3>Interfaces: </h3> <a name="link_udev_create_kobject_uevent_socket"></a> <div id="interface"> <div id="codeblock"> <b>udev_create_kobject_uevent_socket</b>( domain )<br> </div> <div id="description"> <h5>Summary</h5> <p> Allow caller to create kobject uevent socket for udev </p> <h5>Parameters</h5> <table border="1" cellspacing="0" cellpadding="3" width="65%"> <tr><th >Parameter:</th><th >Description:</th></tr> <tr><td> domain </td><td> <p> Domain allowed access. </p> </td></tr> </table> </div> </div> <a name="link_udev_domtrans"></a> <div id="interface"> <div id="codeblock"> <b>udev_domtrans</b>( domain )<br> </div> <div id="description"> <h5>Summary</h5> <p> Execute udev in the udev domain. </p> <h5>Parameters</h5> <table border="1" cellspacing="0" cellpadding="3" width="65%"> <tr><th >Parameter:</th><th >Description:</th></tr> <tr><td> domain </td><td> <p> Domain allowed to transition. </p> </td></tr> </table> </div> </div> <a name="link_udev_dontaudit_rw_dgram_sockets"></a> <div id="interface"> <div id="codeblock"> <b>udev_dontaudit_rw_dgram_sockets</b>( domain )<br> </div> <div id="description"> <h5>Summary</h5> <p> Do not audit attempts to read or write to a udev unix datagram socket. </p> <h5>Parameters</h5> <table border="1" cellspacing="0" cellpadding="3" width="65%"> <tr><th >Parameter:</th><th >Description:</th></tr> <tr><td> domain </td><td> <p> Domain to not audit. </p> </td></tr> </table> </div> </div> <a name="link_udev_dontaudit_search_db"></a> <div id="interface"> <div id="codeblock"> <b>udev_dontaudit_search_db</b>( domain )<br> </div> <div id="description"> <h5>Summary</h5> <p> Do not audit search of udev database directories. </p> <h5>Parameters</h5> <table border="1" cellspacing="0" cellpadding="3" width="65%"> <tr><th >Parameter:</th><th >Description:</th></tr> <tr><td> domain </td><td> <p> Domain to not audit. </p> </td></tr> </table> </div> </div> <a name="link_udev_dontaudit_use_fds"></a> <div id="interface"> <div id="codeblock"> <b>udev_dontaudit_use_fds</b>( domain )<br> </div> <div id="description"> <h5>Summary</h5> <p> Do not audit attempts to inherit a udev file descriptor. </p> <h5>Parameters</h5> <table border="1" cellspacing="0" cellpadding="3" width="65%"> <tr><th >Parameter:</th><th >Description:</th></tr> <tr><td> domain </td><td> <p> Domain to not audit. </p> </td></tr> </table> </div> </div> <a name="link_udev_exec"></a> <div id="interface"> <div id="codeblock"> <b>udev_exec</b>( domain )<br> </div> <div id="description"> <h5>Summary</h5> <p> Execute udev in the caller domain. </p> <h5>Parameters</h5> <table border="1" cellspacing="0" cellpadding="3" width="65%"> <tr><th >Parameter:</th><th >Description:</th></tr> <tr><td> domain </td><td> <p> Domain allowed access. </p> </td></tr> </table> </div> </div> <a name="link_udev_generic_pid_filetrans_run_dirs"></a> <div id="interface"> <div id="codeblock"> <b>udev_generic_pid_filetrans_run_dirs</b>( domain , name )<br> </div> <div id="description"> <h5>Summary</h5> <p> Create directories in the run location with udev_var_run_t type </p> <h5>Parameters</h5> <table border="1" cellspacing="0" cellpadding="3" width="65%"> <tr><th >Parameter:</th><th >Description:</th></tr> <tr><td> domain </td><td> <p> Domain allowed access. </p> </td></tr> <tr><td> name </td><td> <p> Name of the directory that is created </p> </td></tr> </table> </div> </div> <a name="link_udev_helper_domtrans"></a> <div id="interface"> <div id="codeblock"> <b>udev_helper_domtrans</b>( domain )<br> </div> <div id="description"> <h5>Summary</h5> <p> Execute a udev helper in the udev domain. </p> <h5>Parameters</h5> <table border="1" cellspacing="0" cellpadding="3" width="65%"> <tr><th >Parameter:</th><th >Description:</th></tr> <tr><td> domain </td><td> <p> Domain allowed to transition. </p> </td></tr> </table> </div> </div> <a name="link_udev_manage_pid_dirs"></a> <div id="interface"> <div id="codeblock"> <b>udev_manage_pid_dirs</b>( domain )<br> </div> <div id="description"> <h5>Summary</h5> <p> Create, read, write, and delete udev pid directories </p> <h5>Parameters</h5> <table border="1" cellspacing="0" cellpadding="3" width="65%"> <tr><th >Parameter:</th><th >Description:</th></tr> <tr><td> domain </td><td> <p> Domain allowed access. </p> </td></tr> </table> </div> </div> <a name="link_udev_manage_pid_files"></a> <div id="interface"> <div id="codeblock"> <b>udev_manage_pid_files</b>( domain )<br> </div> <div id="description"> <h5>Summary</h5> <p> Create, read, write, and delete udev pid files. </p> <h5>Parameters</h5> <table border="1" cellspacing="0" cellpadding="3" width="65%"> <tr><th >Parameter:</th><th >Description:</th></tr> <tr><td> domain </td><td> <p> Domain allowed access. </p> </td></tr> </table> </div> </div> <a name="link_udev_manage_rules_files"></a> <div id="interface"> <div id="codeblock"> <b>udev_manage_rules_files</b>( domain )<br> </div> <div id="description"> <h5>Summary</h5> <p> Manage udev rules files </p> <h5>Parameters</h5> <table border="1" cellspacing="0" cellpadding="3" width="65%"> <tr><th >Parameter:</th><th >Description:</th></tr> <tr><td> domain </td><td> <p> Domain allowed access. </p> </td></tr> </table> </div> </div> <a name="link_udev_read_db"></a> <div id="interface"> <div id="codeblock"> <b>udev_read_db</b>( domain )<br> </div> <div id="description"> <h5>Summary</h5> <p> Read the udev device table. </p> <h5>Description</h5> <p> </p><p> Allow the specified domain to read the udev device table. </p><p> </p> <h5>Parameters</h5> <table border="1" cellspacing="0" cellpadding="3" width="65%"> <tr><th >Parameter:</th><th >Description:</th></tr> <tr><td> domain </td><td> <p> Domain allowed access. </p> </td></tr> </table> </div> </div> <a name="link_udev_read_pid_files"></a> <div id="interface"> <div id="codeblock"> <b>udev_read_pid_files</b>( domain )<br> </div> <div id="description"> <h5>Summary</h5> <p> Create, read, write, and delete udev pid files. </p> <h5>Parameters</h5> <table border="1" cellspacing="0" cellpadding="3" width="65%"> <tr><th >Parameter:</th><th >Description:</th></tr> <tr><td> domain </td><td> <p> Domain allowed access. </p> </td></tr> </table> </div> </div> <a name="link_udev_read_state"></a> <div id="interface"> <div id="codeblock"> <b>udev_read_state</b>( domain )<br> </div> <div id="description"> <h5>Summary</h5> <p> Allow process to read udev process state. </p> <h5>Parameters</h5> <table border="1" cellspacing="0" cellpadding="3" width="65%"> <tr><th >Parameter:</th><th >Description:</th></tr> <tr><td> domain </td><td> <p> Domain allowed access. </p> </td></tr> </table> </div> </div> <a name="link_udev_relabel_pid_sockfile"></a> <div id="interface"> <div id="codeblock"> <b>udev_relabel_pid_sockfile</b>( domain )<br> </div> <div id="description"> <h5>Summary</h5> <p> Relabel the udev sock_file. </p> <h5>Parameters</h5> <table border="1" cellspacing="0" cellpadding="3" width="65%"> <tr><th >Parameter:</th><th >Description:</th></tr> <tr><td> domain </td><td> <p> Domain allowed access. </p> </td></tr> </table> </div> </div> <a name="link_udev_relabelto_db"></a> <div id="interface"> <div id="codeblock"> <b>udev_relabelto_db</b>( domain )<br> </div> <div id="description"> <h5>Summary</h5> <p> Allow process to modify relabelto udev database </p> <h5>Parameters</h5> <table border="1" cellspacing="0" cellpadding="3" width="65%"> <tr><th >Parameter:</th><th >Description:</th></tr> <tr><td> domain </td><td> <p> Domain allowed access. </p> </td></tr> </table> </div> </div> <a name="link_udev_run"></a> <div id="interface"> <div id="codeblock"> <b>udev_run</b>( domain , role )<br> </div> <div id="description"> <h5>Summary</h5> <p> Execute udev in the udev domain, and allow the specified role the udev domain. </p> <h5>Parameters</h5> <table border="1" cellspacing="0" cellpadding="3" width="65%"> <tr><th >Parameter:</th><th >Description:</th></tr> <tr><td> domain </td><td> <p> Domain allowed access. </p> </td></tr> <tr><td> role </td><td> <p> The role to be allowed the iptables domain. </p> </td></tr> </table> </div> </div> <a name="link_udev_rw_db"></a> <div id="interface"> <div id="codeblock"> <b>udev_rw_db</b>( domain )<br> </div> <div id="description"> <h5>Summary</h5> <p> Allow process to modify list of devices. </p> <h5>Parameters</h5> <table border="1" cellspacing="0" cellpadding="3" width="65%"> <tr><th >Parameter:</th><th >Description:</th></tr> <tr><td> domain </td><td> <p> Domain allowed access. </p> </td></tr> </table> </div> </div> <a name="link_udev_search_pids"></a> <div id="interface"> <div id="codeblock"> <b>udev_search_pids</b>( domain )<br> </div> <div id="description"> <h5>Summary</h5> <p> Search through udev pid content </p> <h5>Parameters</h5> <table border="1" cellspacing="0" cellpadding="3" width="65%"> <tr><th >Parameter:</th><th >Description:</th></tr> <tr><td> domain </td><td> <p> Domain allowed access. </p> </td></tr> </table> </div> </div> <a name="link_udev_signal"></a> <div id="interface"> <div id="codeblock"> <b>udev_signal</b>( domain )<br> </div> <div id="description"> <h5>Summary</h5> <p> Send generic signals to udev. </p> <h5>Parameters</h5> <table border="1" cellspacing="0" cellpadding="3" width="65%"> <tr><th >Parameter:</th><th >Description:</th></tr> <tr><td> domain </td><td> <p> Domain allowed access. </p> </td></tr> </table> </div> </div> <a name="link_udev_system_domain"></a> <div id="interface"> <div id="codeblock"> <b>udev_system_domain</b>( domain , entry_point )<br> </div> <div id="description"> <h5>Summary</h5> <p> Create a domain for processes which can be started by udev. </p> <h5>Parameters</h5> <table border="1" cellspacing="0" cellpadding="3" width="65%"> <tr><th >Parameter:</th><th >Description:</th></tr> <tr><td> domain </td><td> <p> Type to be used as a domain. </p> </td></tr> <tr><td> entry_point </td><td> <p> Type of the program to be used as an entry point to this domain. </p> </td></tr> </table> </div> </div> <a href=#top>Return</a> </div> </body> </html>