Re: [PATCH 2/3] CRED: Split the task security data and move part of it into struct cred

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Casey Schaufler
Date: Wednesday, September 19, 2007 - 10:28 am

--- David Howells <dhowells@redhat.com> wrote:


This seems to me to be an unnatural and inappropriate separation.
Move the whole of the security blob into the cred if you must have
a cred (which I was soooo glad Linux didn't have after having dealt
with it in Solaris) rather than having two blobs to deal with. If an
LSM requires a different treatment between when a task is a subject
and when it is an object the LSM should handle that itself.


So put all these fields into one blob and attach them to the cred.
Actually, if you put all these fields in the task blob maybe you
don't need to do your COW thing at all.
 



Casey Schaufler
casey@schaufler-ca.com
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/3] Introduce credential record, David Howells, (Wed Sep 19, 9:17 am)
[PATCH 1/3] CRED: Introduce a COW credentials record, David Howells, (Wed Sep 19, 9:17 am)
Re: [PATCH 2/3] CRED: Split the task security data and mov ..., Casey Schaufler, (Wed Sep 19, 10:28 am)