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

2024-08-26 Thread Christophe Leroy
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 10

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

2024-08-26 Thread Jason A. Donenfeld
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 adj

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

2024-08-22 Thread Christophe Leroy
getrandom vDSO implementation requires __put_unaligned_t() and __put_unaligned_t() but including asm-generic/unaligned.h pulls too many other headers. Follow the same approach as for most things in include/vdso/, see for instance commit 8165b57bca21 ("linux/const.h: Extract common header for vDSO"