projects/aports·blob master · refs

14 lines · 402 B

1This should be fixed and the patch dropped in Linux 6.9, see:
2https://lore.kernel.org/bpf/[email protected]/
3--
4--- a/tools/bpf/bpftool/gen.c
5+++ b/tools/bpf/bpftool/gen.c
6@@ -23,6 +23,8 @@
7 #include "json_writer.h"
8 #include "main.h"
9
10+#define basename(path) (strrchr((path),'/') ? strrchr((path),'/')+1 : (path))
11+
12 #define MAX_OBJ_NAME_LEN 64
13
14 static void sanitize_identifier(char *name)