Re: RFC: [PATCH] SCM_CREDS support
Samuel Thibault, le Thu 05 Mar 2015 03:07:18 +0100, a écrit :
> Was the synchronous/asynchronous issue solved?
I guess not, and I think I know why: in the
auth_server/user_authenticate loop, the server passes a port back to the
user. This is thus a complete rendez-vous: auth_user_authenticate won't
return before auth_server_authenticate is called, and vice-versa. From
the point of view of send/recv, send should be non-blocking, so it's a
problem. I'm however thinking that we could probably add a variant of
the auth_user_authenticate RPC which does not wait for the server part,
by dropping the newport parameter.
Samuel
Reply to: