lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <C266KL0CLET8.Z2G09QJ83ZWK@maharaja>
Date:   Mon, 20 Apr 2020 09:37:42 -0700
From:   "Daniel Xu" <dxu@...uu.xyz>
To:     "Christoph Hellwig" <hch@...radead.org>
Cc:     <linux-kernel@...r.kernel.org>, <bpf@...r.kernel.org>,
        <kernel-team@...com>, <jolsa@...nel.org>,
        <brendan.d.gregg@...il.com>, <andrii.nakryiko@...il.com>,
        <ast@...nel.org>
Subject: Re: [RFC] uapi: Convert stat.h #define flags to enums

Hi Christoph,

On Sun Apr 19, 2020 at 6:30 PM PST, Christoph Hellwig wrote:
> And that breaks every userspace program using ifdef to check if a
> symbolic name has been defined.

How about shadowing #define's? Like for `enum nfnetlink_groups` in
include/uapi/linux/netfilter/nfnetlink.h .

Thanks,
Daniel

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ