HomeFreeBSD

dtrace/profile: Stop storing the probe name in struct profile_probe

Description

dtrace/profile: Stop storing the probe name in struct profile_probe

It's unused, and the naked strcpy() was susceptible to buffer overflow
if one creates, say, a probe called "profile-2000000000ns".

Reported by: CHERI
MFC after: 1 week
Sponsored by: Innovate UK

Details

Provenance
markjAuthored on Jun 4 2025, 9:13 PM
Parents
rG1776ba8de549: share/mk: Define a rule for dtrace -G to generate .pieo files
Branches
Unknown
Tags
Unknown