Re: [PATCH v3 11/12] lkdtm: Fix execute_[user]_location()

2022-02-10 Thread Kees Cook
On Sun, Oct 17, 2021 at 02:38:24PM +0200, Christophe Leroy wrote: > execute_location() and execute_user_location() intent > to copy do_nothing() text and execute it at a new location. > However, at the time being it doesn't copy do_nothing() function > but do_nothing() function descriptor which

Re: [PATCH v3 11/12] lkdtm: Fix execute_[user]_location()

2022-01-19 Thread Kees Cook
On Wed, Jan 19, 2022 at 08:28:54PM +0100, Christophe Leroy wrote: > Hi Kees, > > > Le 17/12/2021 à 12:49, Christophe Leroy a écrit : > > Hi Kees, > > > > Le 17/10/2021 à 14:38, Christophe Leroy a écrit : > > > execute_location() and execute_user_location() intent > > > to copy do_nothing() text

Re: [PATCH v3 11/12] lkdtm: Fix execute_[user]_location()

2022-01-19 Thread Christophe Leroy
Hi Kees, Le 17/12/2021 à 12:49, Christophe Leroy a écrit : Hi Kees, Le 17/10/2021 à 14:38, Christophe Leroy a écrit : execute_location() and execute_user_location() intent to copy do_nothing() text and execute it at a new location. However, at the time being it doesn't copy do_nothing()

Re: [PATCH v3 11/12] lkdtm: Fix execute_[user]_location()

2021-12-17 Thread Helge Deller
On 12/17/21 12:49, Christophe Leroy wrote: > Hi Kees, > > Le 17/10/2021 à 14:38, Christophe Leroy a écrit : >> execute_location() and execute_user_location() intent >> to copy do_nothing() text and execute it at a new location. >> However, at the time being it doesn't copy do_nothing() function >>

Re: [PATCH v3 11/12] lkdtm: Fix execute_[user]_location()

2021-12-17 Thread Christophe Leroy
Hi Kees, Le 17/10/2021 à 14:38, Christophe Leroy a écrit : > execute_location() and execute_user_location() intent > to copy do_nothing() text and execute it at a new location. > However, at the time being it doesn't copy do_nothing() function > but do_nothing() function descriptor which still

[PATCH v3 11/12] lkdtm: Fix execute_[user]_location()

2021-10-17 Thread Christophe Leroy
execute_location() and execute_user_location() intent to copy do_nothing() text and execute it at a new location. However, at the time being it doesn't copy do_nothing() function but do_nothing() function descriptor which still points to the original text. So at the end it still executes