Re: [OS-BUILD PATCH] redhat/configs: Strong stack protector for fedora
From: Miko Larsson on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2269#note_1253671279 D'oh, that's what I get for not checking existing MRs. Sorry about that. ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[OS-BUILD PATCH] redhat/configs: Strong stack protector for fedora
From: Miko Larsson redhat/configs: Strong stack protector for fedora ark has had the strong stack protector enabled since at least three years ago without any issues. Might as well enable it for fedora too for the improved stack protection by moving CONFIG_STACKPROTECTOR_STRONG (and CONFIG_STACKPROTECTOR for good measure) into the common config dir. Signed-off-by: Miko Larsson diff --git a/redhat/configs/ark/generic/CONFIG_STACKPROTECTOR b/redhat/configs/common/generic/CONFIG_STACKPROTECTOR rename from redhat/configs/ark/generic/CONFIG_STACKPROTECTOR rename to redhat/configs/common/generic/CONFIG_STACKPROTECTOR index blahblah..blahblah 100644 --- a/redhat/configs/ark/generic/CONFIG_STACKPROTECTOR +++ b/redhat/configs/common/generic/CONFIG_STACKPROTECTOR diff --git a/redhat/configs/ark/generic/CONFIG_STACKPROTECTOR_STRONG b/redhat/configs/common/generic/CONFIG_STACKPROTECTOR_STRONG rename from redhat/configs/ark/generic/CONFIG_STACKPROTECTOR_STRONG rename to redhat/configs/common/generic/CONFIG_STACKPROTECTOR_STRONG index blahblah..blahblah 100644 --- a/redhat/configs/ark/generic/CONFIG_STACKPROTECTOR_STRONG +++ b/redhat/configs/common/generic/CONFIG_STACKPROTECTOR_STRONG diff --git a/redhat/configs/fedora/generic/CONFIG_STACKPROTECTOR_STRONG b/redhat/configs/fedora/generic/CONFIG_STACKPROTECTOR_STRONG deleted file mode 100644 index blahblah..blahblah 0 --- a/redhat/configs/fedora/generic/CONFIG_STACKPROTECTOR_STRONG +++ /dev/null @@ -1 +0,0 @@ -# CONFIG_STACKPROTECTOR_STRONG is not set diff --git a/redhat/configs/fedora/generic/powerpc/CONFIG_STACKPROTECTOR b/redhat/configs/fedora/generic/powerpc/CONFIG_STACKPROTECTOR deleted file mode 100644 index blahblah..blahblah 0 --- a/redhat/configs/fedora/generic/powerpc/CONFIG_STACKPROTECTOR +++ /dev/null @@ -1 +0,0 @@ -CONFIG_STACKPROTECTOR=y diff --git a/redhat/configs/fedora/generic/x86/CONFIG_STACKPROTECTOR b/redhat/configs/fedora/generic/x86/CONFIG_STACKPROTECTOR deleted file mode 100644 index blahblah..blahblah 0 --- a/redhat/configs/fedora/generic/x86/CONFIG_STACKPROTECTOR +++ /dev/null @@ -1 +0,0 @@ -CONFIG_STACKPROTECTOR=y -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2269 ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: [OS-BUILD PATCHv5 0/0] redhat/configs: Enable INIT_STACK_ALL_ZERO for Fedora
From: Miko Larsson on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1923#note_1049517927 > That's the rebase, we do it every .0 release. Oh, I see. Thanks! > Sorry I have not commented on this yet, as I was on vacation last > week, and we are now going into the merge window/test week madness. I > am certainly not against the intent of the change, but I am concerned > on the cost. I need to do some research. So do not be surprised if > this sits here for a few weeks, but I will have an answer one way or > the other before 6.0. For what it's worth, I'm aware that Google uses INIT_STACK_ALL(_ZERO) for their Android kernels, and they note that unnecessary initializations are optimized away by the compiler.[1] They do build their kernels with clang though, so it's not *impossible* that gcc might behave differently. 1. https://source.android.com/security/memory-safety/zero-initialized-memory ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: [OS-BUILD PATCHv5 0/0] redhat/configs: Enable INIT_STACK_ALL_ZERO for Fedora
From: Miko Larsson on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1923#note_1049283430 No idea what happened there with the commits :\ Should be resolved now, though. ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[OS-BUILD PATCHv5 0/0] redhat/configs: Enable INIT_STACK_ALL_ZERO for Fedora
From: Miko Larsson on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1923 NOTE: Truncated patchset since committer email 'm...@sakura.myxoz.lan' does not match the submitter's GitLab public email address 'mikoxy...@gmail.com'. In !961, it was proposed that STRUCTLEAK_BYREF_ALL should be enabled, but that specific proposal was rejected due to structleak being a GCC plugin. However, in GCC 12, support for INIT_STACK_ALL_ZERO was introduced, which (if I'm not mistaken) is functionally identical to STRUCTLEAK_BYREF_ALL, so we should probably enable this for Fedora. Signed-off-by: Miko Larsson --- redhat/configs/common/generic/CONFIG_INIT_STACK_ALL_ZERO => redhat/configs/ark/generic/CONFIG_INIT_STACK_ALL_ZERO | 0 redhat/configs/common/generic/CONFIG_INIT_STACK_NONE => redhat/configs/ark/generic/CONFIG_INIT_STACK_NONE | 0 redhat/configs/fedora/generic/CONFIG_INIT_STACK_ALL_ZERO | 1 + redhat/configs/fedora/generic/CONFIG_INIT_STACK_NONE | 1 + 4 files changed, 2 insertions(+), 0 deletions(-) ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: [OS-BUILD PATCHv4 0/6] redhat/configs: Enable INIT_STACK_ALL_ZERO for Fedora
From: Miko Larsson on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1923#note_1042085885 Also, FWIW, see !961: > We also want to enable the structleak and stackleak GCC plugins, but currently they're causing a lot of pain with slight GCC mismatches. Until that problem gets resolved upstream, disable them for now. INIT_STACK_ALL_ZERO is, afaik, functionally identical to structleak, so even if there's a performance impact it's still something that's wanted. ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: [OS-BUILD PATCHv4 0/6] redhat/configs: Enable INIT_STACK_ALL_ZERO for Fedora
From: Miko Larsson on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1923#note_1041694276 There's probably a very slight performance impact, but I'd imagine it's negligible. Proper testings should be performed if performance is a concern, though. ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
[OS-BUILD PATCHv4 6/6] redhat/configs: Unset INIT_STACK_NONE for Fedora
From: Miko Larsson redhat/configs: Unset INIT_STACK_NONE for Fedora We want to use INIT_STACK_ALL_ZERO on Fedora, so INIT_STACK_NONE shouldn't be set. Signed-off-by: Miko Larsson diff --git a/redhat/configs/fedora/generic/CONFIG_INIT_STACK_NONE b/redhat/configs/fedora/generic/CONFIG_INIT_STACK_NONE new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/fedora/generic/CONFIG_INIT_STACK_NONE @@ -0,0 +1 @@ +# CONFIG_INIT_STACK_NONE is not set -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1923 ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
[OS-BUILD PATCHv4 5/6] redhat/configs: Set INIT_STACK_NONE for ark
From: Miko Larsson redhat/configs: Set INIT_STACK_NONE for ark RHEL9+ doesn't ship with GCC 12+, so INIT_STACK_NONE should be set. Signed-off-by: Miko Larsson diff --git a/redhat/configs/ark/generic/CONFIG_INIT_STACK_NONE b/redhat/configs/ark/generic/CONFIG_INIT_STACK_NONE new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/ark/generic/CONFIG_INIT_STACK_NONE @@ -0,0 +1 @@ +CONFIG_INIT_STACK_NONE=y -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1923 ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
[OS-BUILD PATCHv4 4/6] redhat/configs: Remove INIT_STACK_NONE from common
From: Miko Larsson redhat/configs: Remove INIT_STACK_NONE from common We want this to be unset on Fedora so that we can use INIT_STACK_ALL_ZERO. Signed-off-by: Miko Larsson diff --git a/redhat/configs/common/generic/CONFIG_INIT_STACK_NONE b/redhat/configs/common/generic/CONFIG_INIT_STACK_NONE deleted file mode 100644 index blahblah..blahblah 0 --- a/redhat/configs/common/generic/CONFIG_INIT_STACK_NONE +++ /dev/null @@ -1 +0,0 @@ -CONFIG_INIT_STACK_NONE=y -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1923 ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
[OS-BUILD PATCHv4 0/6] redhat/configs: Enable INIT_STACK_ALL_ZERO for Fedora
From: Miko Larsson on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1923 In !961, it was proposed that STRUCTLEAK_BYREF_ALL should be enabled, but that specific proposal was rejected due to structleak being a GCC plugin. However, in GCC 12, support for INIT_STACK_ALL_ZERO was introduced, which (if I'm not mistaken) is functionally identical to STRUCTLEAK_BYREF_ALL, so we should probably enable this for Fedora. Signed-off-by: Miko Larsson --- redhat/configs/common/generic/CONFIG_INIT_STACK_ALL_ZERO => redhat/configs/ark/generic/CONFIG_INIT_STACK_ALL_ZERO | 0 redhat/configs/common/generic/CONFIG_INIT_STACK_NONE => redhat/configs/ark/generic/CONFIG_INIT_STACK_NONE | 0 redhat/configs/fedora/generic/CONFIG_INIT_STACK_ALL_ZERO | 1 + redhat/configs/fedora/generic/CONFIG_INIT_STACK_NONE | 1 + 4 files changed, 2 insertions(+), 0 deletions(-) ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
[OS-BUILD PATCHv4 1/6] redhat/configs: Enable INIT_STACK_ALL_ZERO for Fedora
From: Miko Larsson redhat/configs: Enable INIT_STACK_ALL_ZERO for Fedora In !961, it was proposed that STRUCTLEAK_BYREF_ALL should be enabled, but that specific proposal was rejected due to structleak being a GCC plugin. However, in GCC 12, support for INIT_STACK_ALL_ZERO was introduced, which (if I'm not mistaken) is functionally identical to STRUCTLEAK_BYREF_ALL, so we should probably enable this for Fedora. Signed-off-by: Miko Larsson diff --git a/redhat/configs/fedora/generic/CONFIG_INIT_STACK_ALL_ZERO b/redhat/configs/fedora/generic/CONFIG_INIT_STACK_ALL_ZERO new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/fedora/generic/CONFIG_INIT_STACK_ALL_ZERO @@ -0,0 +1 @@ +CONFIG_INIT_STACK_ALL_ZERO=y -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1923 ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
[OS-BUILD PATCHv4 2/6] redhat/configs: Remove INIT_STACK_ALL_ZERO from common
From: Miko Larsson redhat/configs: Remove INIT_STACK_ALL_ZERO from common We want to enable this on Fedora. Signed-off-by: Miko Larsson diff --git a/redhat/configs/common/generic/CONFIG_INIT_STACK_ALL_ZERO b/redhat/configs/common/generic/CONFIG_INIT_STACK_ALL_ZERO deleted file mode 100644 index blahblah..blahblah 0 --- a/redhat/configs/common/generic/CONFIG_INIT_STACK_ALL_ZERO +++ /dev/null @@ -1 +0,0 @@ -# CONFIG_INIT_STACK_ALL_ZERO is not set -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1923 ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
[OS-BUILD PATCHv4 3/6] redhat/configs: Disable INIT_STACK_ALL_ZERO for ark
From: Miko Larsson redhat/configs: Disable INIT_STACK_ALL_ZERO for ark RHEL9 doesn't ship with GCC 12+, so we can't use INIT_STACK_ALL_ZERO there. Signed-off-by: Miko Larsson diff --git a/redhat/configs/ark/generic/CONFIG_INIT_STACK_ALL_ZERO b/redhat/configs/ark/generic/CONFIG_INIT_STACK_ALL_ZERO new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/ark/generic/CONFIG_INIT_STACK_ALL_ZERO @@ -0,0 +1 @@ +# CONFIG_INIT_STACK_ALL_ZERO is not set -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1923 ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
[OS-BUILD PATCHv3 2/3] redhat/configs: Remove INIT_STACK_ALL_ZERO from common
From: Miko Larsson redhat/configs: Remove INIT_STACK_ALL_ZERO from common We want to enable this on Fedora. Signed-off-by: Miko Larsson diff --git a/redhat/configs/common/generic/CONFIG_INIT_STACK_ALL_ZERO b/redhat/configs/common/generic/CONFIG_INIT_STACK_ALL_ZERO deleted file mode 100644 index blahblah..blahblah 0 --- a/redhat/configs/common/generic/CONFIG_INIT_STACK_ALL_ZERO +++ /dev/null @@ -1 +0,0 @@ -# CONFIG_INIT_STACK_ALL_ZERO is not set -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1923 ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
[OS-BUILD PATCHv3 3/3] redhat/configs: Disable INIT_STACK_ALL_ZERO for ark
From: Miko Larsson redhat/configs: Disable INIT_STACK_ALL_ZERO for ark RHEL9 doesn't ship with GCC 12+, so we can't use INIT_STACK_ALL_ZERO there. Signed-off-by: Miko Larsson diff --git a/redhat/configs/ark/generic/CONFIG_INIT_STACK_ALL_ZERO b/redhat/configs/ark/generic/CONFIG_INIT_STACK_ALL_ZERO new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/ark/generic/CONFIG_INIT_STACK_ALL_ZERO @@ -0,0 +1 @@ +# CONFIG_INIT_STACK_ALL_ZERO is not set -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1923 ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
[OS-BUILD PATCHv3 0/3] redhat/configs: Enable INIT_STACK_ALL_ZERO for Fedora
From: Miko Larsson on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1923 In !961, it was proposed that STRUCTLEAK_BYREF_ALL should be enabled, but that specific proposal was rejected due to structleak being a GCC plugin. However, in GCC 12, support for INIT_STACK_ALL_ZERO was introduced, which (if I'm not mistaken) is functionally identical to STRUCTLEAK_BYREF_ALL, so we should probably enable this for Fedora. Signed-off-by: Miko Larsson --- redhat/configs/common/generic/CONFIG_INIT_STACK_ALL_ZERO => redhat/configs/ark/generic/CONFIG_INIT_STACK_ALL_ZERO | 0 redhat/configs/fedora/generic/CONFIG_INIT_STACK_ALL_ZERO | 1 + 2 files changed, 1 insertions(+), 0 deletions(-) ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
[OS-BUILD PATCHv3 1/3] redhat/configs: Enable INIT_STACK_ALL_ZERO for Fedora
From: Miko Larsson redhat/configs: Enable INIT_STACK_ALL_ZERO for Fedora In !961, it was proposed that STRUCTLEAK_BYREF_ALL should be enabled, but that specific proposal was rejected due to structleak being a GCC plugin. However, in GCC 12, support for INIT_STACK_ALL_ZERO was introduced, which (if I'm not mistaken) is functionally identical to STRUCTLEAK_BYREF_ALL, so we should probably enable this for Fedora. Signed-off-by: Miko Larsson diff --git a/redhat/configs/fedora/generic/CONFIG_INIT_STACK_ALL_ZERO b/redhat/configs/fedora/generic/CONFIG_INIT_STACK_ALL_ZERO new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/fedora/generic/CONFIG_INIT_STACK_ALL_ZERO @@ -0,0 +1 @@ +CONFIG_INIT_STACK_ALL_ZERO=y -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1923 ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
[OS-BUILD PATCHv2 3/3] redhat/configs: Disable INIT_STACK_ALL_ZERO for ark
From: Miko Larsson redhat/configs: Disable INIT_STACK_ALL_ZERO for ark RHEL9 doesn't ship with GCC 12+, so we can't use INIT_STACK_ALL_ZERO there. Signed-off-by: Miko Larsson diff --git a/redhat/configs/ark/generic/CONFIG_INIT_STACK_ALL_ZERO b/redhat/configs/ark/generic/CONFIG_INIT_STACK_ALL_ZERO new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/ark/generic/CONFIG_INIT_STACK_ALL_ZERO @@ -0,0 +1 @@ +# CONFIG_INIT_STACK_ALL_ZERO is not set -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1923 ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
[OS-BUILD PATCHv2 2/3] redhat/configs: Remove CONFIG_INIT_STACK_ALL_ZERO
From: Miko Larsson redhat/configs: Remove CONFIG_INIT_STACK_ALL_ZERO We want to enable this on Fedora. Signed-off-by: Miko Larsson diff --git a/redhat/configs/common/generic/CONFIG_INIT_STACK_ALL_ZERO b/redhat/configs/common/generic/CONFIG_INIT_STACK_ALL_ZERO deleted file mode 100644 index blahblah..blahblah 0 --- a/redhat/configs/common/generic/CONFIG_INIT_STACK_ALL_ZERO +++ /dev/null @@ -1 +0,0 @@ -# CONFIG_INIT_STACK_ALL_ZERO is not set -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1923 ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
[OS-BUILD PATCHv2 1/3] redhat/configs: Enable INIT_STACK_ALL_ZERO for Fedora
From: Miko Larsson redhat/configs: Enable INIT_STACK_ALL_ZERO for Fedora In !961, it was proposed that STRUCTLEAK_BYREF_ALL should be enabled, but that specific proposal was rejected due to structleak being a GCC plugin. However, in GCC 12, support for INIT_STACK_ALL_ZERO was introduced, which (if I'm not mistaken) is functionally identical to STRUCTLEAK_BYREF_ALL, so we should probably enable this for Fedora. Signed-off-by: Miko Larsson diff --git a/redhat/configs/fedora/generic/CONFIG_INIT_STACK_ALL_ZERO b/redhat/configs/fedora/generic/CONFIG_INIT_STACK_ALL_ZERO new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/fedora/generic/CONFIG_INIT_STACK_ALL_ZERO @@ -0,0 +1 @@ +CONFIG_INIT_STACK_ALL_ZERO=y -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1923 ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
[OS-BUILD PATCHv2 0/3] redhat/configs: Enable INIT_STACK_ALL_ZERO for Fedora
From: Miko Larsson on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1923 In !961, it was proposed that STRUCTLEAK_BYREF_ALL should be enabled, but that specific proposal was rejected due to structleak being a GCC plugin. However, in GCC 12, support for INIT_STACK_ALL_ZERO was introduced, which (if I'm not mistaken) is functionally identical to STRUCTLEAK_BYREF_ALL, so we should probably enable this for Fedora. Signed-off-by: Miko Larsson --- redhat/configs/common/generic/CONFIG_INIT_STACK_ALL_ZERO => redhat/configs/ark/generic/CONFIG_INIT_STACK_ALL_ZERO | 0 redhat/configs/fedora/generic/CONFIG_INIT_STACK_ALL_ZERO | 1 + 2 files changed, 1 insertions(+), 0 deletions(-) ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: [OS-BUILD PATCH] redhat/configs: Enable INIT_STACK_ALL_ZERO for Fedora
From: Miko Larsson on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1923#note_1041620024 Mm, this is embarrassing. Argh ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
[OS-BUILD PATCH] redhat/configs: Enable INIT_STACK_ALL_ZERO for Fedora
From: Miko Larsson redhat/configs: Enable INIT_STACK_ALL_ZERO for Fedora In !961, it was proposed that STRUCTLEAK_BYREF_ALL should be enabled, but that specific proposal was rejected due to structleak being a GCC plugin. However, in GCC 12, support for INIT_STACK_ALL_ZERO was introduced, which (if I'm not mistaken) is functionally identical to STRUCTLEAK_BYREF_ALL, so we should probably enable this for Fedora. Signed-off-by: Miko Larsson diff --git a/redhat/configs/fedora/generic/CONFIG_INIT_STACK_ALL_ZERO b/redhat/configs/fedora/generic/CONFIG_INIT_STACK_ALL_ZERO new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/fedora/generic/CONFIG_INIT_STACK_ALL_ZERO @@ -0,0 +1 @@ +CONFIG_INIT_STACK_ALL_ZERO=y -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1923 ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure