Blob Blame History Raw
<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'>
		
			&nbsp;&nbsp;&nbsp;-&nbsp;<a href='apps_cdrecord.html'>
			cdrecord</a><br/>
		
			&nbsp;&nbsp;&nbsp;-&nbsp;<a href='apps_gpg.html'>
			gpg</a><br/>
		
			&nbsp;&nbsp;&nbsp;-&nbsp;<a href='apps_irc.html'>
			irc</a><br/>
		
			&nbsp;&nbsp;&nbsp;-&nbsp;<a href='apps_java.html'>
			java</a><br/>
		
			&nbsp;&nbsp;&nbsp;-&nbsp;<a href='apps_loadkeys.html'>
			loadkeys</a><br/>
		
			&nbsp;&nbsp;&nbsp;-&nbsp;<a href='apps_lockdev.html'>
			lockdev</a><br/>
		
			&nbsp;&nbsp;&nbsp;-&nbsp;<a href='apps_screen.html'>
			screen</a><br/>
		
			&nbsp;&nbsp;&nbsp;-&nbsp;<a href='apps_slocate.html'>
			slocate</a><br/>
		
			&nbsp;&nbsp;&nbsp;-&nbsp;<a href='apps_webalizer.html'>
			webalizer</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="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: apps</h1><p/>
<h2>Module: lockdev</h2><p/>

<h3>Description:</h3>

<p><p>device locking policy for lockdev</p></p>




<a name="templates"></a>
<h3>Templates: </h3>

<a name="link_lockdev_per_userdomain_template"></a>
<div id="template">


<div id="codeblock">

<b>lockdev_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 lockdev module.
</p>


<h5>Description</h5>
<p>
</p><p>
This template creates derived domains which are used
for lockdev. A derived type is also created to protect
the user's device locks.
</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>

The prefix of the user domain (e.g., user
is the prefix for user_t).

</td><td>
No
</td></tr>

<tr><td>
user_domain
</td><td>

The type of the user domain.

</td><td>
No
</td></tr>

<tr><td>
user_role
</td><td>

The role associated with the user domain.

</td><td>
No
</td></tr>

</table>
</div>
</div>


<a href=#top>Return</a>



</div>
</body>
</html>