diff options
author | Tyrel Datwyler <tyreld@linux.ibm.com> | 2020-12-08 13:54:34 -0600 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-12-09 13:36:51 +1100 |
commit | f10881a46f8914428110d110140a455c66bdf27b (patch) | |
tree | 09a8e1ba1a79d27d74e8aa494da98071f878e540 /arch/powerpc/include/asm/mmu.h | |
parent | db972a3787d12b1ce9ba7a31ec376d8a79e04c47 (diff) |
powerpc/rtas: Fix typo of ibm,open-errinjct in RTAS filter
Commit bd59380c5ba4 ("powerpc/rtas: Restrict RTAS requests from userspace")
introduced the following error when invoking the errinjct userspace
tool:
[root@ltcalpine2-lp5 librtas]# errinjct open
[327884.071171] sys_rtas: RTAS call blocked - exploit attempt?
[327884.071186] sys_rtas: token=0x26, nargs=0 (called by errinjct)
errinjct: Could not open RTAS error injection facility
errinjct: librtas: open: Unexpected I/O error
The entry for ibm,open-errinjct in rtas_filter array has a typo where
the "j" is omitted in the rtas call name. After fixing this typo the
errinjct tool functions again as expected.
[root@ltcalpine2-lp5 linux]# errinjct open
RTAS error injection facility open, token = 1
Fixes: bd59380c5ba4 ("powerpc/rtas: Restrict RTAS requests from userspace")
Cc: stable@vger.kernel.org
Signed-off-by: Tyrel Datwyler <tyreld@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201208195434.8289-1-tyreld@linux.ibm.com
Diffstat (limited to 'arch/powerpc/include/asm/mmu.h')
0 files changed, 0 insertions, 0 deletions