From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/14930 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Petr Vorel Newsgroups: gmane.linux.lib.musl.general Subject: [RFC] fanotify_event_info_fid incompatibility Date: Tue, 12 Nov 2019 21:05:20 +0100 Message-ID: <20191112200520.GA13138@x230> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="132129"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.12.2 (2019-09-21) Cc: musl@lists.openwall.com To: Rich Felker Original-X-From: musl-return-14946-gllmg-musl=m.gmane.org@lists.openwall.com Tue Nov 12 21:05:40 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1iUcPx-000YDv-Cp for gllmg-musl@m.gmane.org; Tue, 12 Nov 2019 21:05:37 +0100 Original-Received: (qmail 15826 invoked by uid 550); 12 Nov 2019 20:05:35 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 15792 invoked from network); 12 Nov 2019 20:05:34 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:reply-to:mime-version :content-disposition:user-agent; bh=26a6ZifV1xNvqhwSGVHa5OBxXRE/azkA1JeaHvRWeHY=; b=ikmhTp5UH++bR3ChqgfgJaQST8MMHo7nkB/wOt1K5sAM8gZB0zMYDy4AHjLH5Mlgx1 AG0TFSWl6Qv8mZDL3DpEIbbScCrlcvEu2tOhtQTIFm7EGJY2ZZfJHiO0k9biBISNwOBV ALVvGTUi2N22llmeyvzXoe5LkAQieRE9Ib44mckTO2VNPqosEsVigJGZ+PwxfPJeJA8R NOV+Zmz6UX7R63yUXBXxxO+xNbxrXGRe2K6JWjcU9EJmG2zm4RcI8KEeJ8CAj4qwSDpI LDrxnNzPweCKIkQxCsqpIhfLzyUEwl4b9Wo45u+m6ZctUVPN/jE9QpPyBC14ImDmWrY3 5nEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:reply-to :mime-version:content-disposition:user-agent; bh=26a6ZifV1xNvqhwSGVHa5OBxXRE/azkA1JeaHvRWeHY=; b=rXFKvLDrO76cuKPydctHiICM1fgnXfi8jyTBybka0rejFmdkL03SCa/AeZTOh79NsP Pe4DGCbMXO8Ecuf5wFe9jejvB5ANnumMwE1HBiD5aiCIouHmvEvng5kNbWuCHeIlIQt0 ACJJiuKC3TGIeRR3Y1ObzBzhi6ZjYx/AZfkwtu25ouwTB1TKxEmMTaEun94H2MIiWMW2 GaKSWwiARlE3j/94sfqfLyLeaqXlxosOi4RZn4WdI/CL+/e/eHxJieDLCENcWxkR8fvb RSsdNRIKb4TtBbAcs1Vv3mrDptYqitPRTuHEIxlGO9s0EyUUnRPEV7hc5VzWrRdM5xm7 RMMw== X-Gm-Message-State: APjAAAW+gf0Lw+x4C/HHWkpvH2WSd/5ks+yCvr3zAIsq0AQE1s4cUELd amJb72xuOvbFmD9Km6DA1qYabaLl X-Google-Smtp-Source: APXvYqxW25CFPg0LIzsaqUfr5DpQL+ifq8uGfR1yL3NHW+VDQAaWyfxzHc60sbJjkU6TRXOrL3i85w== X-Received: by 2002:a1c:1fca:: with SMTP id f193mr5247524wmf.173.1573589123179; Tue, 12 Nov 2019 12:05:23 -0800 (PST) Content-Disposition: inline Xref: news.gmane.org gmane.linux.lib.musl.general:14930 Archived-At: Hi Rich, 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 . But can be something done with this incompatibility? Kind regards, Petr