Re: [PATCH v2 01/17] asm-generic/unaligned.h: Extract common header for vDSO

Christophe Leroy
2024-08-26T07:32:53Z

Le 26/08/2024 à 09:20, Jason A. Donenfeld a écrit :
> On Thu, Aug 22, 2024 at 09:13:09AM +0200, Christophe Leroy wrote:
>> include/asm-generic/unaligned.h | 11 +----------
>> include/vdso/unaligned.h | 15 +++++++++++++++
>> 2 files changed, 16 insertions(+), 10 deletions(-)
>> create mode 100644 include/vdso/unaligned.h
>
> Do you need to also adjust the `#include <asm/unaligned.h>` inside of
> lib/vdso/getrandom.c to instead read `#include <vdso/unaligned.h>`?

Yes, all adjustments to lib/vdso/getrandom.c are in patch 2.

Christophe