Messages in this thread | | | Date | Wed, 26 Sep 2007 07:58:32 -0700 (PDT) | From | Casey Schaufler <> | Subject | Re: [PATCH 2/3] CRED: Split the task security data and move part of it into struct cred |
| |
--- David Howells <dhowells@redhat.com> wrote:
> Stephen Smalley <sds@tycho.nsa.gov> wrote: > > > Precisely when to use one identity vs. the other though isn't always > > clear, and the potential for accidental divergence is also a concern. > > What should auditing use in audit_filter_rules() when dealing with > AUDIT_SUBJ_* cases? Should the SUBJ cases use the subjective SID and the > AUDIT_OBJ_* cases use the objective SID? On the other hand AUDIT_OBJ_* cases > don't seem to have anything to do with tasks.
I believe that you'll need to audit both sets of credentials. I think that for audit filtering you will need to have the ability to filter on either. It's no different from the euid/ruid split.
Casey Schaufler casey@schaufler-ca.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |