[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHo-Oow8otp4ruAUpvGYjXN_f3dsbprg_DKOGG6HNhe_Z8X8Vg@mail.gmail.com>
Date: Thu, 26 Mar 2020 07:16:16 -0700
From: Maciej Żenczykowski <zenczykowski@...il.com>
To: Pablo Neira Ayuso <pablo@...filter.org>
Cc: Florian Westphal <fw@...len.de>,
Linux Network Development Mailing List
<netdev@...r.kernel.org>,
Netfilter Development Mailinglist
<netfilter-devel@...r.kernel.org>, Chenbo Feng <fengc@...gle.com>,
Alexei Starovoitov <ast@...nel.org>,
Willem de Bruijn <willemb@...gle.com>
Subject: Re: [PATCH] iptables: open eBPF programs in read only mode
I guess maybe we could wrap it in a
#ifdef BPF_F_RDONLY
attr.file_flags = BPF_F_RDONLY;
#endif
if we want to continue supporting building against pre-4.15 kernel headers...
Powered by blists - more mailing lists