mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
Revert "bpf: fix is_allow_list section"
GCC was modified to use the same default section as LLVM, as such this is no longer required. Details:a0aafbc324This reverts commite8b1e9cf10.
This commit is contained in:
committed by
Yu Watanabe
parent
b88323e4e0
commit
0d73603b25
@@ -6,7 +6,7 @@
|
||||
#include <linux/bpf.h>
|
||||
#include <bpf/bpf_helpers.h>
|
||||
|
||||
const volatile __u8 is_allow_list SEC(".rodata") = 0;
|
||||
const volatile __u8 is_allow_list = 0;
|
||||
|
||||
/* Map containing the network interfaces indexes.
|
||||
* The interpretation of the map depends on the value of is_allow_list.
|
||||
|
||||
Reference in New Issue
Block a user