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...
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...