For BPF_RAW_TRACEPOINT_OPEN attr->raw_tracepoint.name may be NULL.
Otherwise it should point to a valid (max 128 char) string. Only
raw_tracepoint.prog_fd needs to be set.
https://bugs.kde.org/show_bug.cgi?id=451626
450025 Powerc: ACC file not implemented as a logical overlay of the VSR
registers.
450536 Powerpc: valgrind throws 'facility scv unavailable exception'
+451626 Syscall param bpf(attr->raw_tracepoint.name) points to unaddressable byte(s)
To see details of a given bug, visit
https://bugs.kde.org/show_bug.cgi?id=XXXXXX
break;
}
/* Name is limited to 128 characters in kernel/bpf/syscall.c. */
- pre_asciiz_str(tid, attr->raw_tracepoint.name, 128,
- "bpf(attr->raw_tracepoint.name)");
+ if (attr->raw_tracepoint.name != NULL)
+ pre_asciiz_str(tid, attr->raw_tracepoint.name, 128,
+ "bpf(attr->raw_tracepoint.name)");
}
break;
case VKI_BPF_BTF_LOAD: