* hurd/translator.mdwn: Add an entry for the rtc translator
* hurd/translator/rtc.mdwn: Add the introduction to the rtc translator
Signed-off-by: Zhaoming Luo
---
hurd/translator.mdwn | 1 +
hurd/translator/rtc.mdwn | 17 +
2 files changed, 18 insertions(+)
create mode 10
On 12/31/24 7:33 AM, Samuel Thibault wrote:
Zhaoming Luo, le mar. 31 déc. 2024 07:24:08 +0800, a ecrit:
On 12/29/24 5:21 PM, Samuel Thibault wrote:
Zhaoming Luo, le dim. 29 déc. 2024 12:44:27 +0800, a ecrit:
On 12/29/24 9:28 AM, Samuel Thibault wrote:
Hello,
Zhaoming Luo, le mar. 24 déc. 202
On Tue, Dec 31, 2024 at 08:32:47PM +, Diego Nieto Cid wrote:
>
> Adding the following line to the program:
>
> printf("cmsghdr: %lu\n", sizeof (struct cmsghdr));
>
> shows 12 on Hurd and 16 on Linux. I think I'm closer :)
The only difference in the structure definition is the cmsg_len f
On Tue, Dec 31, 2024 at 08:25:00PM +, Diego Nieto Cid wrote:
> On Tue, Dec 31, 2024 at 04:01:08PM +, Diego Nieto Cid wrote:
> >
> > Ok, I'll have a look in both OSes behaviour.
>
> There's something wrong with our CMSG_DATA macro. It produces the wrong
> output (or at least different fro
On Tue, Dec 31, 2024 at 04:01:08PM +, Diego Nieto Cid wrote:
>
> Ok, I'll have a look in both OSes behaviour.
There's something wrong with our CMSG_DATA macro. It produces the wrong
output (or at least different from Linux).
The attached program prints:
cmsg: 0x101040a90; data: 0x10104
Hi,
On Tue, Dec 31, 2024 at 02:52:53PM +0100, Samuel Thibault wrote:
>
> You should probably check precisely the difference between Linux and
> Hurd on these alignment questions at the various stages.
>
I placed a `g_message` call in `g_unix_credentials_message_deserialize` and
on Linux it does
On Tue, Dec 31, 2024 at 02:52:53PM +0100, Samuel Thibault wrote:
> Samuel Thibault, le mar. 31 déc. 2024 14:36:02 +0100, a ecrit:
> > > I'm not sure how to fix it. Should the expectations of GLib be updated
> > > to be aligned? Like below:
> > >
> > > - if (size != G_CREDENTIALS_NATIVE_SIZE)
> > >
Samuel Thibault, le mar. 31 déc. 2024 14:36:02 +0100, a ecrit:
> > I'm not sure how to fix it. Should the expectations of GLib be updated
> > to be aligned? Like below:
> >
> > - if (size != G_CREDENTIALS_NATIVE_SIZE)
> > + if (size != CMSG_ALIGN(G_CREDENTIALS_NATIVE_SIZE))
> >
> > Or should the
Diego Nieto Cid, le mar. 31 déc. 2024 02:47:35 +, a ecrit:
> On Tue, Dec 31, 2024 at 02:02:53AM +, Diego Nieto Cid wrote:
> >
> > Here are the results for `hurd-amd64`:
> >
> > $ cc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-gnu/glib-2.0/include \
> > -pthread cred_size.c -lgi
Sergey Bugaev, le mar. 31 déc. 2024 07:41:14 +0300, a ecrit:
> On Tue, Dec 31, 2024 at 1:30 AM Diego Nieto Cid wrote:
> > On Mon, Dec 30, 2024 at 07:08:55PM +0100, Samuel Thibault wrote:
> > > You also need to take into account the case where
> > > current->max_protection was NONE and new_prot is
10 matches
Mail list logo