Re: [PATCH available] TI-RPC and NetBSD's rpc.lockd

2001-01-06 Thread Martin Blapp
Hi, I'm making progress with the code and I have also a new diff available. http://www.attic.ch/patches/rpc.diff_01052001-05.tgz > Issues with the code: > > 1.) NETBSD sets in svc_tcp.c some LOCAL_CREDS which we don't have in our > src/sys/kern/uipc_usrreq.c. They have a FLAG which - if set -

Re: [PATCH available] TI-RPC and NetBSD's rpc.lockd

2000-12-26 Thread Bill Paul
[chop] > Switching gears back to the BSD/OS approach you mentioned, UNPv1 says, > > On a datagram socket, the credentials accompany every datagram. On > a stream socket, the credentials are sent only once, the first time > data is sent. > > So as long as one is using a SOCK_DGRAM

Re: [PATCH available] TI-RPC and NetBSD's rpc.lockd

2000-12-26 Thread Jacques A. Vidrine
On Tue, Dec 26, 2000 at 03:33:53PM -0800, Bill Paul wrote: > I'm responsible for implementing this feature. Thanks for that! > Using the SCM_CREDS 'hack' was > a) expedient, as it only involved a minor change to the kernel and > b) it seemed to agree with the way RPC worked, i.e. each RPC need

Re: [PATCH available] TI-RPC and NetBSD's rpc.lockd

2000-12-26 Thread Bill Paul
> On Tue, Dec 26, 2000 at 02:20:46AM +0100, Martin Blapp wrote: > [snip] > > Issues with the code: > > > > 1.) NETBSD sets in svc_tcp.c some LOCAL_CREDS which we don't have in our > > src/sys/kern/uipc_usrreq.c. They have a FLAG which - if set - > > automatically sends the credentials on AF_UNIX

Re: [PATCH available] TI-RPC and NetBSD's rpc.lockd

2000-12-26 Thread Jacques A. Vidrine
On Tue, Dec 26, 2000 at 02:20:46AM +0100, Martin Blapp wrote: [snip] > Issues with the code: > > 1.) NETBSD sets in svc_tcp.c some LOCAL_CREDS which we don't have in our > src/sys/kern/uipc_usrreq.c. They have a FLAG which - if set - > automatically sends the credentials on AF_UNIX sockets connec

Re: [PATCH available] TI-RPC and NetBSD's rpc.lockd

2000-12-26 Thread Martin Blapp
I have a second version available. I killed many whitespace diffs, but there are still a lot. http://www.attic.ch/patches/rpc.diff_26122000.tgz WARNING ! THIS BREAKS MAKE WORLD BECAUSE SOME OLD RPC PROGRAMS DO NOT COMPILE AT THE MOMENT. To build do the following: 1.) patch the codebase 2.) cd

[PATCH available] TI-RPC and NetBSD's rpc.lockd

2000-12-25 Thread Martin Blapp
Hi, I have a first working (but the code has many many whitespaces diff's and I'm sure some errors) version of the TI-NetBSD-RPC code available. It's a diff against CURRENT, but it'll work also on STABLE if you adjust src/include/Makefile - this file is different from CURRENT. The diff is unco