bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH] adding /proc/pid/exe


From: Justus Winter
Subject: Re: [PATCH] adding /proc/pid/exe
Date: Tue, 03 Jan 2017 00:11:33 +0100

Samuel Thibault <samuel.thibault@gnu.org> writes:

> Hello,
>
> Samuel Thibault, on Mon 19 Dec 2016 14:38:25 +0100, wrote:
>> I'm notably wondering about the RPC:
>> should we be using string_t or data_t ?
>
> So, any opinion on this?

I recommend just using string_t for now.

Eventually, we need to salvage the string_t disaster (i.e. that string_t
is a fixed-size char array which arbitrarily limits values like
filenames and blows up message sizes).  The annoying thing is that MIG
does support variable-sized character arrays (iirc, the terminology
for the Mach types could be different), so the Hurd could have used it
in the first place.  We could a) simply change it and rebuild clients
and servers, or b) try to provide a smooth upgrade path.

Justus

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]