Re: [Patch 1/1] Resubmit: TCP/UDP getpeersec

2006-01-24 Thread James Morris
On Mon, 23 Jan 2006, Catherine Zhang wrote: > +static int selinux_socket_getpeersec_udp(struct sk_buff *skb, char > **scontext, u32 *scontext_len) > +{ > + int err = 0; > + u32 peer_sid = selinux_socket_getpeer_udp(skb); > + > + if (!peer_sid) > + return -EINVAL; > + > +

[Patch 1/1] Resubmit: TCP/UDP getpeersec

2006-01-23 Thread Catherine Zhang
Hi, Resubmission since the previous submission has entangled tab/spaces. thanks, Catherine -- From: [EMAIL PROTECTED] This patch implements an application of the LSM-IPSec networking controls whereby an application can determine the label of the security association its TCP or UDP sockets are