<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF 
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns="http://purl.org/rss/1.0/"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:syn="http://purl.org/rss/1.0/modules/syndication/"
>

  <channel rdf:about="http://lwn.net/headlines/166975/">
    <title>LWN: Comments on "Novell releases AppArmor"</title>
    <link>http://lwn.net/Articles/166975/</link>
    <description>
This is a special feed containing comments posted
to the individual LWN article titled &quot;Novell releases AppArmor&quot;.

    </description>

    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>2</syn:updateFrequency>
    <items>
      <rdf:Seq>
	<rdf:li resource="http://lwn.net/Articles/167951/rss" />
	<rdf:li resource="http://lwn.net/Articles/167764/rss" />
	<rdf:li resource="http://lwn.net/Articles/167763/rss" />
	<rdf:li resource="http://lwn.net/Articles/167661/rss" />
	<rdf:li resource="http://lwn.net/Articles/167640/rss" />
	<rdf:li resource="http://lwn.net/Articles/167552/rss" />
	<rdf:li resource="http://lwn.net/Articles/167551/rss" />
	<rdf:li resource="http://lwn.net/Articles/167401/rss" />
      
      </rdf:Seq>
    </items>

  </channel>
    <item rdf:about="http://lwn.net/Articles/167951/rss">
      <title>Novell releases AppArmor</title>
      <link>http://lwn.net/Articles/167951/rss</link>
      <dc:date>2006-01-17T02:43:29+00:00</dc:date>
      <dc:creator>etbe</dc:creator>
      <description>
      With SE Linux there are access controls to determine which processes can &lt;br&gt;
create a hard link to a file.  For example with the strict policy most &lt;br&gt;
processes on the system are not permitted to create hard links to files &lt;br&gt;
in /etc.  I believe that some of the Common Criteria certifications &lt;br&gt;
require that the system label Inodes not file names so any system that &lt;br&gt;
doesn't do something similar to what SE Linux does will not do well in &lt;br&gt;
certification. &lt;br&gt;
 &lt;br&gt;
In a conventional Unix system there is nothing preventing you from having &lt;br&gt;
a /etc/shadow file in a chroot environment with different permissions to &lt;br&gt;
the &quot;real&quot; one. &lt;br&gt;
 &lt;br&gt;
A bigger problem for AppArmor is the fact that file specs are relative to &lt;br&gt;
the root of a file system.  So /etc/shadow is equivalent &lt;br&gt;
to /home/etc/shadow if /home is a separate file system. &lt;br&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/167764/rss">
      <title>Novell releases AppArmor</title>
      <link>http://lwn.net/Articles/167764/rss</link>
      <dc:date>2006-01-16T11:55:19+00:00</dc:date>
      <dc:creator>nix</dc:creator>
      <description>
      I concur. Powerful (if less powerful than SELinux) and usable enough that mortal non-professional paranoids can write policies :)&lt;br&gt;
&lt;p&gt;
(The low performance hit is a nice extra too.)&lt;br&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/167763/rss">
      <title>Novell releases AppArmor</title>
      <link>http://lwn.net/Articles/167763/rss</link>
      <dc:date>2006-01-16T11:53:47+00:00</dc:date>
      <dc:creator>nix</dc:creator>
      <description>
      Well, as I understand it AppArmor uses the filename to *look up* the inode number and then tags the inode. Obviously no other system would be secure under hardlinks, especially if as standard POSIX semantics demand any user can hardlink files owned by other users into directories they control. (I think it reasonable to assume that any system designed by Crispin Cowan wouldn't have a design flaw as large as you imply in it!)&lt;br&gt;
&lt;p&gt;
Obviously the AppArmor globbing/regexing thing is something which should be used with care: don't put wildcards at the front of the name!&lt;br&gt;
&lt;p&gt;
What might really cause problems for AppArmor, and for any filename-based system, is wide use of filesystem namespaces. If /etc/shadow refers to a different file depending on the PID, what do you do?&lt;br&gt;
&lt;p&gt;
(Mind you, this screws up conventional Unix security as well. I think that no matter what you do to the filesystem namespace, / and /etc had better remain non-writable by anyone but root.)&lt;br&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/167661/rss">
      <title>Novell releases AppArmor</title>
      <link>http://lwn.net/Articles/167661/rss</link>
      <dc:date>2006-01-14T00:27:20+00:00</dc:date>
      <dc:creator>etbe</dc:creator>
      <description>
      In the Unix permission scheme (IE user, group, and other having RWX bits)  &lt;br&gt;
the file name is NOT used for access control.  If for example I use the  &lt;br&gt;
&quot;mv&quot; command to rename a file it will have the same permissions after the  &lt;br&gt;
rename operation.  Any MAC system which does not control access based on  &lt;br&gt;
the Inode (as SE Linux does with XATTRs that are associated with the  &lt;br&gt;
Inode) will not preserve the same semantics as Unix permissions in regard  &lt;br&gt;
to renaming files.  &lt;br&gt;
  &lt;br&gt;
Then there's the issue of hard-links.  In Unix file systems a file with  &lt;br&gt;
hard links does not have one canonical name, each of the hard links can  &lt;br&gt;
be considered equally authoritative.  When access is based on a regular  &lt;br&gt;
expression and you have two different regexes matching different hard  &lt;br&gt;
links to a file then you have different access granted to a file  &lt;br&gt;
depending on which name you use to access it.  &lt;br&gt;
  &lt;br&gt;
For a comprehensive MAC system you want to be able to audit the  &lt;br&gt;
policy.  For example to secure the /etc/shadow file we want to know which  &lt;br&gt;
domains can read/write it and which programs can be used to enter those  &lt;br&gt;
domains so that we know which programs to audit to verify that there is  &lt;br&gt;
no possibility of stealing or changing passwords.  Such analysis is not  &lt;br&gt;
possible when the programs that have access to the shadow file may have  &lt;br&gt;
different labels depending on which name is used to access them.  &lt;br&gt;
  &lt;br&gt;
A further complication of AppArmor is that file paths seem only valid  &lt;br&gt;
within a file system.  So if /home is a separate file system then a  &lt;br&gt;
hostile user could request that the administrator give them an account  &lt;br&gt;
name which matches a regular expression for some system files.  Think  &lt;br&gt;
about if a user had an account named &quot;lib&quot; or &quot;opt&quot;...  &lt;br&gt;
  &lt;br&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/167640/rss">
      <title>Novell releases AppArmor</title>
      <link>http://lwn.net/Articles/167640/rss</link>
      <dc:date>2006-01-13T21:05:07+00:00</dc:date>
      <dc:creator>nix</dc:creator>
      <description>
      Well, yes, except that in SELinux all security policies are applied to types (which are a labelling scheme of sorts, therefore). This means that you end up needing a *lot* of types and a massive tangle of relationships between files, types, and security policies...&lt;br&gt;
&lt;p&gt;
... I can see that it's more flexible than AppArmor, but ye gods is it also more complex, and TBH most of us just don't need that complexity.&lt;br&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/167552/rss">
      <title>Novell releases AppArmor</title>
      <link>http://lwn.net/Articles/167552/rss</link>
      <dc:date>2006-01-13T13:59:53+00:00</dc:date>
      <dc:creator>davecb</dc:creator>
      <description>
      I used to work on B2 Multics, and never even noticed that&lt;br&gt;
they were running mandatory security.  I've since lived&lt;br&gt;
for some years with a Trusted Solaris 7 system, and&lt;br&gt;
only the sysadmin was different.  I expect SE Linux&lt;br&gt;
will become as easy to use.&lt;br&gt;
&lt;p&gt;
And, just by the way, the labels are things like&lt;br&gt;
&quot;secret&quot; &quot;confidential&quot; and &quot;unclassified&quot;, not&lt;br&gt;
labels like filenames.&lt;br&gt;
&lt;p&gt;
--dave&lt;br&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/167551/rss">
      <title>Novell releases AppArmor</title>
      <link>http://lwn.net/Articles/167551/rss</link>
      <dc:date>2006-01-13T13:56:47+00:00</dc:date>
      <dc:creator>davecb</dc:creator>
      <description>
      This is a **very** nice approach.&lt;br&gt;
&lt;p&gt;
--dave (former professional paranoid) c-b&lt;br&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/167401/rss">
      <title>Novell releases AppArmor</title>
      <link>http://lwn.net/Articles/167401/rss</link>
      <dc:date>2006-01-12T13:29:39+00:00</dc:date>
      <dc:creator>nix</dc:creator>
      <description>
      I've been avoiding SELinux because of its sheer complexity and overdesign: I don't need labelled security, and neither does anyone else I know: filenames are perfectly adequate labels. This looks *much* more maintainable (as in `practical for a mortal human to write a set of policies'). It's very nice that there's now a demarcation between `coarse root-only security' and SELinux.&lt;br&gt;
&lt;p&gt;
(And, hey, something that uses capabilities for something near their intended purpose! Wow!)&lt;br&gt;
      
      </description>
    </item>
</rdf:RDF>

