Re: [PATCH 3/4] kselftests/arm64: add PAuth test for whether exec() changes keys

2020-09-16 Thread Dave Martin
On Tue, Sep 15, 2020 at 04:18:28PM +0100, Boyan Karatotev wrote: > On 07/09/2020 11:27 am, Dave Martin wrote: > > On Thu, Sep 03, 2020 at 11:20:25AM +0100, Boyan Karatotev wrote: > >> On 02/09/2020 18:00, Dave Martin wrote: > >>> On Fri, Aug 28, 2020 at 02:16:05PM +0100, Boyan Karatotev wrote: > >>

Re: [PATCH 3/4] kselftests/arm64: add PAuth test for whether exec() changes keys

2020-09-15 Thread Boyan Karatotev
On 07/09/2020 11:27 am, Dave Martin wrote: > On Thu, Sep 03, 2020 at 11:20:25AM +0100, Boyan Karatotev wrote: >> On 02/09/2020 18:00, Dave Martin wrote: >>> On Fri, Aug 28, 2020 at 02:16:05PM +0100, Boyan Karatotev wrote: +int exec_sign_all(struct signatures *signed_vals, size_t val) +{ >

Re: [PATCH 3/4] kselftests/arm64: add PAuth test for whether exec() changes keys

2020-09-07 Thread Dave Martin
On Thu, Sep 03, 2020 at 11:20:25AM +0100, Boyan Karatotev wrote: > On 02/09/2020 18:00, Dave Martin wrote: > > On Fri, Aug 28, 2020 at 02:16:05PM +0100, Boyan Karatotev wrote: > >> Kernel documentation states that it will change PAuth keys on exec() calls. > >> > >> Verify that all keys are correct

Re: [PATCH 3/4] kselftests/arm64: add PAuth test for whether exec() changes keys

2020-09-03 Thread Boyan Karatotev
On 02/09/2020 18:00, Dave Martin wrote: > On Fri, Aug 28, 2020 at 02:16:05PM +0100, Boyan Karatotev wrote: >> Kernel documentation states that it will change PAuth keys on exec() calls. >> >> Verify that all keys are correctly switched to new ones. >> >> Cc: Shuah Khan >> Cc: Catalin Marinas >> C

Re: [PATCH 3/4] kselftests/arm64: add PAuth test for whether exec() changes keys

2020-09-02 Thread Dave Martin
On Fri, Aug 28, 2020 at 02:16:05PM +0100, Boyan Karatotev wrote: > Kernel documentation states that it will change PAuth keys on exec() calls. > > Verify that all keys are correctly switched to new ones. > > Cc: Shuah Khan > Cc: Catalin Marinas > Cc: Will Deacon > Signed-off-by: Boyan Karatote

Re: [PATCH 3/4] kselftests/arm64: add PAuth test for whether exec() changes keys

2020-08-31 Thread Amit Kachhap
On 8/28/20 6:46 PM, Boyan Karatotev wrote: Kernel documentation states that it will change PAuth keys on exec() calls. Verify that all keys are correctly switched to new ones. Cc: Shuah Khan Cc: Catalin Marinas Cc: Will Deacon Signed-off-by: Boyan Karatotev The changes look fine so, Re

Re: [PATCH 3/4] kselftests/arm64: add PAuth test for whether exec() changes keys

2020-08-28 Thread Vincenzo Frascino
On 8/28/20 2:16 PM, Boyan Karatotev wrote: > Kernel documentation states that it will change PAuth keys on exec() calls. > > Verify that all keys are correctly switched to new ones. > Reviewed-by: Vincenzo Frascino > Cc: Shuah Khan > Cc: Catalin Marinas > Cc: Will Deacon > Signed-off-by: Bo

[PATCH 3/4] kselftests/arm64: add PAuth test for whether exec() changes keys

2020-08-28 Thread Boyan Karatotev
Kernel documentation states that it will change PAuth keys on exec() calls. Verify that all keys are correctly switched to new ones. Cc: Shuah Khan Cc: Catalin Marinas Cc: Will Deacon Signed-off-by: Boyan Karatotev --- tools/testing/selftests/arm64/pauth/Makefile | 4 + .../selftests/arm6