Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191112203019.GA19417@x230>
Date: Tue, 12 Nov 2019 21:30:19 +0100
From: Petr Vorel <petr.vorel@...il.com>
To: Rich Felker <dalias@...ifal.cx>
Cc: Szabolcs Nagy <nsz@...t70.net>, musl@...ts.openwall.com
Subject: Re: [RFC] fanotify_event_info_fid incompatibility

Hi,

> musl defines struct fanotify_event_info_fid member fsid as fsid_t. This
> conflicts with version from Linux kernel, which defines it as __kernel_fsid_t
> (musl's fsid_t has int __val[2], kernel's __kernel_fsid_t has int val[2]).

> I see commit 32b82cf5 ("fix the fsid_t structure to match name of __val"),
> which looks correct to me.

> I also think it's wrong, that other libc (at least glibc, uclibc-ng, bionic)
> don't define fanotify_event_info_fid and other structs thus users are forced to
> use definition from <linux/fanotify.h>. But can be something done with this
> incompatibility?

BTW this incompatibility was added quite recently, in f67b3c17 ("sys/fanotify.h:
update for linux v5.1") in v1.1.23.

Kind regards,
Petr

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.