Re: [PATCH v5 4/8] lkdtm/x86_64: Add test to hijack a patch mapping

2021-08-11 Thread Christopher M. Riedl
On Thu Aug 5, 2021 at 4:09 AM CDT, Christophe Leroy wrote: > > > Le 13/07/2021 à 07:31, Christopher M. Riedl a écrit : > > A previous commit implemented an LKDTM test on powerpc to exploit the > > temporary mapping established when patching code with STRICT_KERNEL_RWX > > enabled. Extend the test t

Re: [PATCH v5 4/8] lkdtm/x86_64: Add test to hijack a patch mapping

2021-08-05 Thread Christophe Leroy
Le 13/07/2021 à 07:31, Christopher M. Riedl a écrit : A previous commit implemented an LKDTM test on powerpc to exploit the temporary mapping established when patching code with STRICT_KERNEL_RWX enabled. Extend the test to work on x86_64 as well. Signed-off-by: Christopher M. Riedl --- dr

[PATCH v5 4/8] lkdtm/x86_64: Add test to hijack a patch mapping

2021-07-12 Thread Christopher M. Riedl
A previous commit implemented an LKDTM test on powerpc to exploit the temporary mapping established when patching code with STRICT_KERNEL_RWX enabled. Extend the test to work on x86_64 as well. Signed-off-by: Christopher M. Riedl --- drivers/misc/lkdtm/perms.c | 26 ++ 1