Re: getpeereid() syscall patch for FreeBSD 4.0

2000-08-08 Thread William E. Baxter
On Tue, Aug 08, 2000 at 11:28:16AM -0700, Peter Wemm wrote: > > Passing only one gid is nearly useless. You should copy them all or not > at all. I would like to see real and effective uid's as well. Completeness certainly has its appeal, but is it necessary? What can you not accomplish witho

Re: getpeereid() syscall patch for FreeBSD 4.0

2000-08-08 Thread Peter Wemm
"William E. Baxter" wrote: > With getpeereid() the credentials are passed at connect() and do not > require the client to send data. Therefore clients cannot consume > connections anonymously. In the patch: + error = copyout((caddr_t) &g, (caddr_t)(uap->egid), sizeof(gid_t)); + retu

Re: getpeereid() syscall patch for FreeBSD 4.0

2000-08-08 Thread Bill Paul
> * William E. Baxter <[EMAIL PROTECTED]> [000808 09:27] wrote: > > A patch implementing a getpeereid() syscall in FreeBSD 4.0 is > > available at > > > > http://www.superscript.com/patches/freebsd_4_0.getpeereid > > > > A local-domain server uses getpeereid() to obtain client credentials. > > B

Re: getpeereid() syscall patch for FreeBSD 4.0

2000-08-08 Thread William E. Baxter
With getpeereid() the credentials are passed at connect() and do not require the client to send data. Therefore clients cannot consume connections anonymously. W. On Tue, Aug 08, 2000 at 09:35:28AM -0700, Alfred Perlstein wrote: > > I haven't used the credential passing feature of sendmsg(), b

Re: getpeereid() syscall patch for FreeBSD 4.0

2000-08-08 Thread Alfred Perlstein
* William E. Baxter <[EMAIL PROTECTED]> [000808 09:27] wrote: > A patch implementing a getpeereid() syscall in FreeBSD 4.0 is > available at > > http://www.superscript.com/patches/freebsd_4_0.getpeereid > > A local-domain server uses getpeereid() to obtain client credentials. > Based on getpeere