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

(cherry picked from commit 98ef590f77392159938d2e6f9fd45bf31d10b9c1)

Details

Provenance
markjAuthored on Jun 4 2025, 9:13 PM
Parents
rGd22903d79b48: namei: Fix cn_flags width in various places
Branches
Unknown
Tags
Unknown