[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: open-isns porting question: sudden SIGLOST



On 07/26/2016 09:38 PM, Svante Signell wrote:
> On Tue, 2016-07-26 at 18:12 +0200, Christian Seiler wrote:
>> On 07/26/2016 04:15 PM, Richard Braun wrote:
>>> On Sun, Jul 24, 2016 at 03:16:36PM +0200, Christian Seiler wrote:
>>>> Peculiarities: the code uses SCM_CREDS and sendmsg/recvmsg over
>>>> the
>>>> local UNIX socket to check authorization. (Since there's no man
>>>> page I
>>>> could find about it, I assume that SCM_CREDS is implemented in
>>>> the same
>>>> way that kFreeBSD does it, at least if I look at the system
>>>> header
>>>> files.)
>>>
>>> Please correct me if I'm wrong, but I'm almost certain we don't
>>> support
>>> SCM_CREDS yet.
>>
>> Oh, I wasn't aware of that. Well, hmm, if that is true, what
>> do I do then? It's not like there's an alternative I can use
>> to achieve the same thing... (Or is there?)
>>
>> FYI: the package in unstable now compiled [1], but it won't
>> actually work properly.
>>
>> Should I leave it at that? Or ask for removal from Hurd for
>> now and instead of Arch: any use Arch: linux-any kfreebsd-any?
>> Or leave it Arch: any but make the build explicitly fail
>> again? I don't really have a preference.
> 
> SCM_CREDS is supported and should work. Probably there is still
> something missing or not working as the kFreeBSD version does.

Then, coming back to my original question: any pointers on how
to debug that? Is there any documentation explaining what
component in Hurd implements AF_LOCAL sockets and how it all
works? Are there any tracing / debugging options one can apply
here (apart from rpctrace, which doesn't appear to tell me
much in this case)?

(Also, I'm unsure my problem is actually related to SCM_CREDS,
that's just the only special thing that's done here, which is
why I mentioned it.)

Regards,
Christian


Reply to: