[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAADnVQK7bdMe1iygpHjEQL5GRtU0BDK01t5OLgorN-VUZCRHog@mail.gmail.com>
Date: Thu, 26 Mar 2020 12:22:05 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Maciej Żenczykowski <zenczykowski@...il.com>
Cc: Jakub Kicinski <kuba@...nel.org>,
Pablo Neira Ayuso <pablo@...filter.org>,
Florian Westphal <fw@...len.de>,
Linux Network Development Mailing List
<netdev@...r.kernel.org>,
Netfilter Development Mailing List
<netfilter-devel@...r.kernel.org>, Chenbo Feng <fengc@...gle.com>,
Alexei Starovoitov <ast@...nel.org>,
Willem de Bruijn <willemb@...gle.com>
Subject: Re: [PATCH v2] iptables: open eBPF programs in read only mode
On Thu, Mar 26, 2020 at 11:34 AM Maciej Żenczykowski
<zenczykowski@...il.com> wrote:
>
> > FWIW the BPF subsystem is about to break uAPI backward-compat and
> > replace the defines with enums. See commit 1aae4bdd7879 ("bpf: Switch
> > BPF UAPI #define constants used from BPF program side to enums").
>
> Shouldn't it do what is normally done in such a case?
> #define BPF_F_RDONLY BPF_F_RDONLY
No. just update the headers.
Powered by blists - more mailing lists