
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://selinuxproject.org/w/skins/common/feed.css?63"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>RefpolicyInterfaces - Revision history</title>
		<link>http://selinuxproject.org/w/?title=RefpolicyInterfaces&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.10.4</generator>
		<lastBuildDate>Tue, 21 May 2013 10:43:11 GMT</lastBuildDate>
		<item>
			<title>ChrisPeBenito at 14:14, 29 October 2009</title>
			<link>http://selinuxproject.org/w/?title=RefpolicyInterfaces&amp;diff=782&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;/p&gt;

			&lt;table border='0' width='98%' cellpadding='0' cellspacing='4' style=&quot;background-color: white;&quot;&gt;
			&lt;tr&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;Revision as of 14:14, 29 October 2009&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Line 6:&lt;/strong&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Line 6:&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;policy changes for access to a type require only a&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;policy changes for access to a type require only a&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;change in one place, rather than requiring changes to all&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;change in one place, rather than requiring changes to all&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; font-size: smaller;&quot;&gt;the modules that use the type as is common in the &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;sam-&lt;/del&gt;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;the modules that use the type as is common in the &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;sample &lt;/ins&gt;policy.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; font-size: smaller;&quot;&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;ple &lt;/del&gt;policy.&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;For improved clarity, interfaces follow clear naming&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;For improved clarity, interfaces follow clear naming&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 29 Oct 2009 14:14:38 GMT</pubDate>			<dc:creator>ChrisPeBenito</dc:creator>			<comments>http://selinuxproject.org/page/Talk:RefpolicyInterfaces</comments>		</item>
		<item>
			<title>ChrisPeBenito: New page: Interfaces provide access to a module’s policy resources (i.e., to its privately declared types and attributes). All domains needing a particular access will use the same interface; ther...</title>
			<link>http://selinuxproject.org/w/?title=RefpolicyInterfaces&amp;diff=720&amp;oldid=prev</link>
			<description>&lt;p&gt;New page: Interfaces provide access to a module’s policy resources (i.e., to its privately declared types and attributes). All domains needing a particular access will use the same interface; ther...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Interfaces provide access to a module’s policy resources (i.e., to its&lt;br /&gt;
privately declared types and attributes). All domains&lt;br /&gt;
needing a particular access will use the same interface;&lt;br /&gt;
therefore, the policy rules required for the access will&lt;br /&gt;
be consistent across all users of the interface. Thus&lt;br /&gt;
policy changes for access to a type require only a&lt;br /&gt;
change in one place, rather than requiring changes to all&lt;br /&gt;
the modules that use the type as is common in the sam-&lt;br /&gt;
ple policy.&lt;br /&gt;
&lt;br /&gt;
For improved clarity, interfaces follow clear naming&lt;br /&gt;
conventions. In particular, the module name, or abbreviation,&lt;br /&gt;
is prefixed to the interface name. This allows a&lt;br /&gt;
policy writer to look a policy and easily see where all&lt;br /&gt;
of the interface calls are. In addition, consistent verbs&lt;br /&gt;
are used to describe the access, such as read, write, and&lt;br /&gt;
delete.&lt;br /&gt;
&lt;br /&gt;
Each interface contains two parts, the dependencies and&lt;br /&gt;
the access. The dependencies are contained in a&lt;br /&gt;
gen_require() macro. This macro contains the statements&lt;br /&gt;
that would be placed in a require block for loadable modules.&lt;br /&gt;
It lists all of the types and attributes used&lt;br /&gt;
by the interface. If an object class for a user space object&lt;br /&gt;
manager is used, such as DBUS or NSCD, the object&lt;br /&gt;
class and required permissions must also be listed.&lt;/div&gt;</description>
			<pubDate>Tue, 13 Oct 2009 16:05:21 GMT</pubDate>			<dc:creator>ChrisPeBenito</dc:creator>			<comments>http://selinuxproject.org/page/Talk:RefpolicyInterfaces</comments>		</item>
	</channel>
</rss>