Kernel branch records leak kernel addresses. If an LBR PMC can record
kernel branches, require PRIV_PMC_SYSTEM and refuse it in a jail.
User-only LBR keeps the normal rules.
LBR samples need a log file, so require one.
Depends on D60567
Differential D60568 Authored by afscoelho_gmail.com on Sat, Oct 10, 1:22 AM.
Project Tags None Referenced Files None Subscribers
Details
Summary Kernel branch records leak kernel addresses. If an LBR PMC can record LBR samples need a log file, so require one. Depends on D60567 Test Plan Built amd64 GENERIC + hwpmc.ko, GENERIC without HWPMC_HOOKS, and arm64.
Diff Detail
Event TimelineHerald added a subscriber: imp. · View Herald TranscriptSat, Oct 10, 1:22 AM2026-10-10 01:22:49 (UTC+0) afscoelho_gmail.com requested review of this revision.Sat, Oct 10, 1:22 AM2026-10-10 01:22:49 (UTC+0) Harbormaster completed remote builds in B77941: Diff 189323.Sat, Oct 10, 1:22 AM2026-10-10 01:22:49 (UTC+0) afscoelho_gmail.com updated this revision to Diff 189785.Tue, Oct 13, 7:57 PM2026-10-13 19:57:52 (UTC+0) Comment ActionsRebase on the updated D60567. No code changes. Harbormaster completed remote builds in B78143: Diff 189785.Tue, Oct 13, 7:57 PM2026-10-13 19:57:57 (UTC+0) afscoelho_gmail.com updated this revision to Diff 189847.Wed, Oct 14, 12:44 AM2026-10-14 00:44:10 (UTC+0) Comment ActionsRebase only. No code change. Harbormaster completed remote builds in B78199: Diff 189847.Wed, Oct 14, 12:44 AM2026-10-14 00:44:11 (UTC+0)
Revision Contents
Diff 189323 |