hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IBC248
--------------------------------
Add kabi reserve padding for uapi struct bpf_link_info
Signed-off-by: Pu Lehui pulehui@huawei.com --- include/uapi/linux/bpf.h | 9 +++++++++ tools/include/uapi/linux/bpf.h | 9 +++++++++ 2 files changed, 18 insertions(+)
diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h index 482647774bf5..9ba68e07ba6e 100644 --- a/include/uapi/linux/bpf.h +++ b/include/uapi/linux/bpf.h @@ -6573,6 +6573,15 @@ struct bpf_link_info { __u64 config; __u32 type; } event; /* BPF_PERF_EVENT_EVENT */ + struct { + __u64 :64; + __u32 :32; + __u32 :32; + __u64 :64; + __u64 :64; + __u64 :64; + __u64 :64; + } kabi_reserve; }; } perf_event; struct { diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h index c112c6f7c766..145e33162730 100644 --- a/tools/include/uapi/linux/bpf.h +++ b/tools/include/uapi/linux/bpf.h @@ -6576,6 +6576,15 @@ struct bpf_link_info { __u64 config; __u32 type; } event; /* BPF_PERF_EVENT_EVENT */ + struct { + __u64 :64; + __u32 :32; + __u32 :32; + __u64 :64; + __u64 :64; + __u64 :64; + __u64 :64; + } kabi_reserve; }; } perf_event; struct {