netdev
[Top] [All Lists]

Re: [RFC] SO_PEERSEC - security credentials for Unix stream sockets

To: James Morris <jmorris@xxxxxxxxxx>
Subject: Re: [RFC] SO_PEERSEC - security credentials for Unix stream sockets
From: Chris Wright <chrisw@xxxxxxxx>
Date: Tue, 16 Dec 2003 09:49:04 -0800
Cc: Chris Wright <chrisw@xxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxx>, kuznet@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx, linux-security-module@xxxxxxxxx, Stephen Smalley <sds@xxxxxxxxxxxxxx>
In-reply-to: <Xine.LNX.4.44.0312160816350.16300-100000@thoron.boston.redhat.com>; from jmorris@redhat.com on Tue, Dec 16, 2003 at 08:19:44AM -0500
References: <20031215173241.B14552@osdlab.pdx.osdl.net> <Xine.LNX.4.44.0312160816350.16300-100000@thoron.boston.redhat.com>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
* James Morris (jmorris@xxxxxxxxxx) wrote:
> On Mon, 15 Dec 2003, Chris Wright wrote:
> It's not reliable: the required buffer size could change between calls.  
> Do you know of any examples of syscalls which do this?

Of course, just kludgy best guess.  getgroups, getxattr come to mind
right off.

thanks,
-chris
-- 
Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net

<Prev in Thread] Current Thread [Next in Thread>