Re: [PATCH v2 13/13] lkdtm: Add a test for function descriptors protection

2021-10-16 Thread Christophe Leroy
Le 15/10/2021 à 23:35, Kees Cook a écrit : On Thu, Oct 14, 2021 at 07:50:02AM +0200, Christophe Leroy wrote: Add WRITE_OPD to check that you can't modify function descriptors. Gives the following result when function descriptors are not protected: lkdtm: Performing direct entry

Re: [PATCH v2 13/13] lkdtm: Add a test for function descriptors protection

2021-10-15 Thread Kees Cook
On Thu, Oct 14, 2021 at 07:50:02AM +0200, Christophe Leroy wrote: > Add WRITE_OPD to check that you can't modify function > descriptors. > > Gives the following result when function descriptors are > not protected: > > lkdtm: Performing direct entry WRITE_OPD > lkdtm: attempting bad

[PATCH v2 13/13] lkdtm: Add a test for function descriptors protection

2021-10-14 Thread Christophe Leroy
Add WRITE_OPD to check that you can't modify function descriptors. Gives the following result when function descriptors are not protected: lkdtm: Performing direct entry WRITE_OPD lkdtm: attempting bad 16 bytes write at c269b358 lkdtm: FAIL: survived bad write