Messages in this thread | | | From | Max Filippov <> | Date | Tue, 4 Aug 2020 14:31:39 -0700 | Subject | Re: [PATCH v1 1/2] Missing instruction_pointer_set() instances |
| |
On Thu, Jul 30, 2020 at 7:59 PM Jin Yao <yao.jin@linux.intel.com> wrote: > > There is a potential security issue that perf kernel samples > may be leaked even though kernel sampling is disabled. For fixing > the potential leakage, the idea is to use instruction_pointer_set > to set invalid ip address in leaked perf samples in some cases. > > But instruction_pointer_set is missing on some architectures. > Define instruction_pointer_set for these architectures. > > Signed-off-by: Jin Yao <yao.jin@linux.intel.com> > --- > arch/alpha/include/asm/ptrace.h | 6 ++++++ > arch/arc/include/asm/ptrace.h | 6 ++++++ > arch/nds32/include/asm/ptrace.h | 7 +++++++ > arch/xtensa/include/asm/ptrace.h | 6 ++++++ > 4 files changed, 25 insertions(+)
For xtensa: Acked-by: Max Filippov <jcmvbkbc@gmail.com>
-- Thanks. -- Max
| |