Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andreas Gruenbacher
Date: Monday, June 4, 2007 - 2:03 pm

On Tuesday 15 May 2007 11:20, Pavel Machek wrote:

I assume you mean labels instead of handles.

AppArmor's design is around paths not labels, and independent of whether or 
not you like AppArmor, this design leads to a useful security model distinct 
from the SELinux security model (which is useful in its own ways). The 
differences between those models cannot be argued away, neither is a subset 
of the other, and neither is a misdesign. I would be thankful if you could 
stop spreading this lie.


You are quite mistaken. SELinux turns pathnames into labels when it initially 
labels all files (when a policy is rolled out), whereas AppArmor computes 
the "label" of each file when a file is opened. The two models start to 
diverge as soon as files are renamed: in SELinux, labels stick with the 
files. In AppArmor, "labels" stick with the names.

So what you advocate for is a hybrid between the SELinux and the AppArmor 
model, not a superset.

It could be that the SELinux folks will solve the issues they are having with 
new files using something better than restorecond in the future, perhaps even 
an in-kernel mechanism (although I somewhat doubt it). But then again, their 
basic model makes sense even without any live file relabeling, and so that's 
probably not very high up on the priority list.

Andreas
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [AppArmor 39/45] AppArmor: Profile loading and manipul ..., Andreas Gruenbacher, (Mon Jun 4, 2:03 pm)
Re: [AppArmor 39/45] AppArmor: Profile loading and manipul ..., Andreas Gruenbacher, (Fri Jun 8, 3:03 pm)
Re: [AppArmor 39/45] AppArmor: Profile loading and manipul ..., Andreas Gruenbacher, (Sat Jun 9, 8:05 am)
Re: [AppArmor 39/45] AppArmor: Profile loading and manipul ..., Andreas Gruenbacher, (Sat Jun 9, 8:17 am)
Re: [AppArmor 39/45] AppArmor: Profile loading and manipul ..., Lars Marowsky-Bree, (Tue Jun 12, 10:03 am)
Re: [AppArmor 39/45] AppArmor: Profile loading and manipul ..., Andreas Gruenbacher, (Thu Jun 21, 8:54 am)
Re: [AppArmor 39/45] AppArmor: Profile loading and manipul ..., Andreas Gruenbacher, (Thu Jun 21, 9:01 am)
Re: [AppArmor 39/45] AppArmor: Profile loading and manipul ..., Lars Marowsky-Bree, (Thu Jun 21, 9:08 am)
Re: [AppArmor 39/45] AppArmor: Profile loading and manipul ..., Lars Marowsky-Bree, (Thu Jun 21, 12:24 pm)
Re: [AppArmor 39/45] AppArmor: Profile loading and manipul ..., Lars Marowsky-Bree, (Thu Jun 21, 12:35 pm)
Re: [AppArmor 39/45] AppArmor: Profile loading and manipul ..., Lars Marowsky-Bree, (Thu Jun 21, 12:54 pm)
Re: [AppArmor 39/45] AppArmor: Profile loading and manipul ..., Lars Marowsky-Bree, (Thu Jun 21, 1:21 pm)
Re: [AppArmor 39/45] AppArmor: Profile loading and manipul ..., Lars Marowsky-Bree, (Thu Jun 21, 2:17 pm)
Re: [AppArmor 39/45] AppArmor: Profile loading and manipul ..., Lars Marowsky-Bree, (Thu Jun 21, 5:19 pm)
Re: [AppArmor 39/45] AppArmor: Profile loading and manipul ..., Andreas Gruenbacher, (Fri Jun 22, 2:59 am)
Re: [AppArmor 39/45] AppArmor: Profile loading and manipul ..., Lars Marowsky-Bree, (Fri Jun 22, 3:49 am)
Re: [AppArmor 39/45] AppArmor: Profile loading and manipul ..., Lars Marowsky-Bree, (Fri Jun 22, 4:37 am)
Re: [AppArmor 39/45] AppArmor: Profile loading and manipul ..., Lars Marowsky-Bree, (Fri Jun 22, 5:42 am)
Re: [AppArmor 39/45] AppArmor: Profile loading and manipul ..., Lars Marowsky-Bree, (Fri Jun 22, 5:54 am)
Re: [AppArmor 39/45] AppArmor: Profile loading and manipul ..., Lars Marowsky-Bree, (Tue Jun 26, 1:50 am)