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

From: Stephen Smalley
Date: Wed Sep 26 2007 - 10:31:30 EST

On Wed, 2007-09-26 at 14:30 +0100, David Howells wrote:
> Stephen Smalley <sds@xxxxxxxxxxxxx> 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.

(cc'd linux-audit)

As you say, I don't think AUDIT_OBJ_* has anything to do with tasks,
just object labels (like inode labels).

I think you likely want the actor SID / subject SID or whatever you want
to call it for AUDIT_SUBJ_*.

Stephen Smalley
National Security Agency

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at