[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC: [PATCH] SCM_CREDS support
From: |
Samuel Thibault |
Subject: |
Re: RFC: [PATCH] SCM_CREDS support |
Date: |
Thu, 5 Mar 2015 03:23:46 +0100 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
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