[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <402619.1696.qm@web36606.mail.mud.yahoo.com>
Date: Wed, 26 Sep 2007 07:58:32 -0700 (PDT)
From: Casey Schaufler <casey@...aufler-ca.com>
To: David Howells <dhowells@...hat.com>,
Stephen Smalley <sds@...ho.nsa.gov>
Cc: dhowells@...hat.com, "Serge E. Hallyn" <serge@...lyn.com>,
viro@....linux.org.uk, hch@...radead.org,
Trond.Myklebust@...app.com, casey@...aufler-ca.com,
linux-kernel@...r.kernel.org, selinux@...ho.nsa.gov,
linux-security-module@...r.kernel.org
Subject: Re: [PATCH 2/3] CRED: Split the task security data and move part of it into struct cred
--- David Howells <dhowells@...hat.com> wrote:
> Stephen Smalley <sds@...ho.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@...aufler-ca.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists