Reworked patch for labels on user space messages

Timothy R. Chavez tinytim at us.ibm.com
Mon Apr 3 06:25:00 UTC 2006


On Sat, 2006-04-01 at 10:02 -0500, Steve Grubb wrote:
> Hi,
> 
> The below patch should be applied after the inode and ipc sid patches. This
> patch is a reworking of Tim's patch that has been updated to match the inode
> and ipc patches since its similar.
> 

Steve,

Hey thanks for doing this.  I have just one comment below.

-tim

> Signed-off-by: Steve Grubb <sgrubb at redhat.com>
> 
> 
> diff -urp linux-2.6.16.x86_64.orig/include/linux/netlink.h linux-2.6.16.x86_64/include/linux/netlink.h
> --- linux-2.6.16.x86_64.orig/include/linux/netlink.h	2006-04-01 08:19:04.000000000 -0500
> +++ linux-2.6.16.x86_64/include/linux/netlink.h	2006-04-01 08:00:26.000000000 -0500
> @@ -143,6 +143,7 @@ struct netlink_skb_parms
>  	__u32			dst_group;
>  	kernel_cap_t		eff_cap;
>  	__u32			loginuid;	/* Login (audit) uid */
> +	__u32			sid;		/* SELinux security id */

I think we agreed not to call this 'sid' as that has another meaning
(namely "session id") outside of SELinux.





More information about the Linux-audit mailing list