On Thu, Mar 26, 2020 at 11:34 AM Maciej Żenczykowski <zenczykowski@xxxxxxxxx> 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.