Re: [Patch 1/1] AF_UNIX Datagram getpeersec (with minor fix)

2006-06-19 Thread Xiaolan Zhang
James Morris [EMAIL PROTECTED] wrote on 06/18/2006 04:04:06 AM: On Sun, 18 Jun 2006, Catherine Zhang wrote: I'd also mention here that this is to complement the SO_PEERSEC option for stream sockets. OK. There's an implementation issue, which I'm sure has been mentioned previously.

[Patch 1/1] AF_UNIX Datagram getpeersec (with minor fix)

2006-06-18 Thread Catherine Zhang
Hi, I added one file (include/linux/selinux.h) which was omitted from the previous patch, and removed a couple of unnecessary changes. Again, comments are welcome! thanks, Catherine -- From: [EMAIL PROTECTED] This patch implements an API whereby an application can determine the label of

Re: [Patch 1/1] AF_UNIX Datagram getpeersec (with minor fix)

2006-06-18 Thread James Morris
On Sun, 18 Jun 2006, Catherine Zhang wrote: Patch purpose: This patch enables a security-aware application to retrieve the security context of the peer of a Unix datagram socket. The application can then use this security context to determine the security context for processing on