Re: [PATCH v3 0/3] Add stack protector

2025-01-14 Thread Andrew Cooper
On 14/01/2025 1:47 pm, Jan Beulich wrote: > On 14.01.2025 14:28, Andrew Cooper wrote: >> On 14/01/2025 1:22 pm, Jan Beulich wrote: >>> On 12.12.2024 02:17, Andrew Cooper wrote: On 12/12/2024 12:13 am, Volodymyr Babchuk wrote: > Hello Jan, > > Jan Beulich writes: > >> On 11

Re: [PATCH v3 0/3] Add stack protector

2025-01-14 Thread Jan Beulich
On 14.01.2025 14:28, Andrew Cooper wrote: > On 14/01/2025 1:22 pm, Jan Beulich wrote: >> On 12.12.2024 02:17, Andrew Cooper wrote: >>> On 12/12/2024 12:13 am, Volodymyr Babchuk wrote: Hello Jan, Jan Beulich writes: > On 11.12.2024 03:04, Volodymyr Babchuk wrote: >> Both

Re: [PATCH v3 0/3] Add stack protector

2025-01-14 Thread Jan Beulich
On 12.12.2024 02:17, Andrew Cooper wrote: > On 12/12/2024 12:13 am, Volodymyr Babchuk wrote: >> Hello Jan, >> >> Jan Beulich writes: >> >>> On 11.12.2024 03:04, Volodymyr Babchuk wrote: Both GCC and Clang support -fstack-protector feature, which add stack canaries to functions where stac

Re: [PATCH v3 0/3] Add stack protector

2025-01-14 Thread Andrew Cooper
On 14/01/2025 1:22 pm, Jan Beulich wrote: > On 12.12.2024 02:17, Andrew Cooper wrote: >> On 12/12/2024 12:13 am, Volodymyr Babchuk wrote: >>> Hello Jan, >>> >>> Jan Beulich writes: >>> On 11.12.2024 03:04, Volodymyr Babchuk wrote: > Both GCC and Clang support -fstack-protector feature, wh

Re: [PATCH v3 0/3] Add stack protector

2024-12-18 Thread Jan Beulich
On 19.12.2024 01:20, Andrew Cooper wrote: > On 12/12/2024 4:52 pm, Jan Beulich wrote: >> On 12.12.2024 15:30, Jan Beulich wrote: >>> On 12.12.2024 02:17, Andrew Cooper wrote: (With the knowledge that this is a disputed Kconfig pattern, and will need rebasing), the way I want this to work

Re: [PATCH v3 0/3] Add stack protector

2024-12-18 Thread Andrew Cooper
On 12/12/2024 4:52 pm, Jan Beulich wrote: > On 12.12.2024 15:30, Jan Beulich wrote: >> On 12.12.2024 02:17, Andrew Cooper wrote: >>> (With the knowledge that this is a disputed Kconfig pattern, and will >>> need rebasing), the way I want this to work is simply: >>> >>> diff --git a/xen/Makefile b/x

Re: [PATCH v3 0/3] Add stack protector

2024-12-12 Thread Jan Beulich
On 12.12.2024 15:30, Jan Beulich wrote: > On 12.12.2024 02:17, Andrew Cooper wrote: >> (With the knowledge that this is a disputed Kconfig pattern, and will >> need rebasing), the way I want this to work is simply: >> >> diff --git a/xen/Makefile b/xen/Makefile >> index 0de0101fd0bf..5d0a88fb3c3f 1

Re: [PATCH v3 0/3] Add stack protector

2024-12-12 Thread Jan Beulich
On 12.12.2024 02:17, Andrew Cooper wrote: > (With the knowledge that this is a disputed Kconfig pattern, and will > need rebasing), the way I want this to work is simply: > > diff --git a/xen/Makefile b/xen/Makefile > index 0de0101fd0bf..5d0a88fb3c3f 100644 > --- a/xen/Makefile > +++ b/xen/Makefil

Re: [PATCH v3 0/3] Add stack protector

2024-12-12 Thread Jan Beulich
On 12.12.2024 01:13, Volodymyr Babchuk wrote: > Jan Beulich writes: >> On 11.12.2024 03:04, Volodymyr Babchuk wrote: >>> Both GCC and Clang support -fstack-protector feature, which add stack >>> canaries to functions where stack corruption is possible. This series >>> makes possible to use this fe

Re: [PATCH v3 0/3] Add stack protector

2024-12-11 Thread Andrew Cooper
On 12/12/2024 1:17 am, Andrew Cooper wrote: > On 12/12/2024 12:13 am, Volodymyr Babchuk wrote: >> Hello Jan, >> >> Jan Beulich writes: >> >>> On 11.12.2024 03:04, Volodymyr Babchuk wrote: Both GCC and Clang support -fstack-protector feature, which add stack canaries to functions where st

Re: [PATCH v3 0/3] Add stack protector

2024-12-11 Thread Andrew Cooper
On 12/12/2024 12:13 am, Volodymyr Babchuk wrote: > Hello Jan, > > Jan Beulich writes: > >> On 11.12.2024 03:04, Volodymyr Babchuk wrote: >>> Both GCC and Clang support -fstack-protector feature, which add stack >>> canaries to functions where stack corruption is possible. This series >>> makes pos

Re: [PATCH v3 0/3] Add stack protector

2024-12-11 Thread Volodymyr Babchuk
Hello Jan, Jan Beulich writes: > On 11.12.2024 03:04, Volodymyr Babchuk wrote: >> Both GCC and Clang support -fstack-protector feature, which add stack >> canaries to functions where stack corruption is possible. This series >> makes possible to use this feature in Xen. I tested this on ARM64

Re: [PATCH v3 0/3] Add stack protector

2024-12-10 Thread Jan Beulich
On 11.12.2024 03:04, Volodymyr Babchuk wrote: > Both GCC and Clang support -fstack-protector feature, which add stack > canaries to functions where stack corruption is possible. This series > makes possible to use this feature in Xen. I tested this on ARM64 and > it is working as intended. Tested b

[PATCH v3 0/3] Add stack protector

2024-12-10 Thread Volodymyr Babchuk
Both GCC and Clang support -fstack-protector feature, which add stack canaries to functions where stack corruption is possible. This series makes possible to use this feature in Xen. I tested this on ARM64 and it is working as intended. Tested both with GCC and Clang. It is hard to enable this fea