[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240709095506.9691-1-yangtiezhu@loongson.cn>
Date: Tue, 9 Jul 2024 17:55:03 +0800
From: Tiezhu Yang <yangtiezhu@...ngson.cn>
To: Will Deacon <will@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Russell King <linux@...linux.org.uk>,
Catalin Marinas <catalin.marinas@....com>,
Oleg Nesterov <oleg@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Namhyung Kim <namhyung@...nel.org>
Cc: linux-arm-kernel@...ts.infradead.org,
linux-perf-users@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v3 0/3] hw_breakpoint: Save privilege of access control via ptrace
v3:
-- Put the new member "bp_priv" lives in a union on config3
at the end of the uapi struct perf_event_attr.
-- Update the commit message to make the goal common and clear.
v2:
-- Put the new member "bp_priv" at the end of the uapi
struct perf_event_attr and add PERF_ATTR_SIZE_VER9.
-- Update the commit message to make the goal clear.
Tiezhu Yang (3):
perf: Add perf_event_attr::bp_priv
arm: hw_breakpoint: Save privilege of access control via ptrace
arm64: hw_breakpoint: Save privilege of access control via ptrace
arch/arm/kernel/hw_breakpoint.c | 4 +---
arch/arm/kernel/ptrace.c | 2 ++
arch/arm64/kernel/hw_breakpoint.c | 11 ++---------
arch/arm64/kernel/ptrace.c | 2 ++
include/uapi/linux/perf_event.h | 5 ++++-
kernel/events/hw_breakpoint.c | 1 +
6 files changed, 12 insertions(+), 13 deletions(-)
--
2.42.0
Powered by blists - more mailing lists