Re: Hardening flags

2022-07-14 Thread Nilesh Patra
Hi Martin, On Thu, Jul 14, 2022 at 10:25:35PM +0200, Martin Dosch wrote: > Dear Nilesh, > > On 13.07.2022 23:26, Nilesh Patra wrote: > > On Wed, Jul 13, 2022 at 04:21:49PM +, Martin Dosch wrote: > > > do you think adding the hardening flags mentioned in [1] to pro

Re: Hardening flags

2022-07-14 Thread Martin Dosch
Dear Nilesh, On 13.07.2022 23:26, Nilesh Patra wrote: On Wed, Jul 13, 2022 at 04:21:49PM +, Martin Dosch wrote: do you think adding the hardening flags mentioned in [1] to programs makes sense? It does, but it is mostly your choice here. Be sure to not append buildmode=pie for mips

Re: Hardening flags

2022-07-13 Thread Nilesh Patra
On Wed, Jul 13, 2022 at 04:21:49PM +, Martin Dosch wrote: > do you think adding the hardening flags mentioned in [1] to programs makes > sense? It does, but it is mostly your choice here. Be sure to not append buildmode=pie for mips* archs though. > Lintian is warning about th

Hardening flags

2022-07-13 Thread Martin Dosch
Dear all, do you think adding the hardening flags mentioned in [1] to programs makes sense? Lintian is warning about the missing hardening [2] but I am a bit hesitant to enable those flags as it is not in the rules created by dh-make-golang and I have no idea what the advantages and