[OS-BUILD PATCH] redhat: configs: disable PF_KEY in RHEL

2024-08-14 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca redhat: configs: disable PF_KEY in RHEL Upstream Status: RHEL only PF_KEY is not actively maintained upstream, and has been deprecated in RHEL9, with the goal to disable it in RHEL10. Leave it enabled for Fedora. Signed-off-by: Sabrina Dubroca diff --git a/redhat/config

[OS-BUILD PATCHv6 2/3] redhat: rh_kabi: introduce RH_KABI_EXCLUDE_WITH_SIZE

2024-01-10 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca redhat: rh_kabi: introduce RH_KABI_EXCLUDE_WITH_SIZE This macro is similar to RH_KABI_EXTEND_WITH_SIZE, but with a different intention. While RH_KABI_EXTEND_WITH_SIZE is meant to add new elements that may grow in the future to kABI-protected structures, RH_KABI_EXCLUDE_WIT

[OS-BUILD PATCHv6 3/3] redhat: kABI: add missing RH_KABI_SIZE_ALIGN_CHECKS Kconfig option

2024-01-10 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca redhat: kABI: add missing RH_KABI_SIZE_ALIGN_CHECKS Kconfig option When the kABI macros were copied from the RHEL kernel to ARK, the RH_KABI_SIZE_ALIGN_CHECKS config option was dropped. Without it, the size checks included in some of the kABI macros can't be enabled. Add t

[OS-BUILD PATCHv6 0/3] redhat: introduce RH_KABI_EXCLUDE_WITH_SIZE and enable size checks

2024-01-10 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1619 This MR introduces a new kABI macro, RH_KABI_EXCLUDE_WITH_SIZE. The implementation is identical to RH_KABI_EXTEND_WITH_SIZE, but the meaning is more in line with RH_KABI_EXCLUDE. The

[OS-BUILD PATCHv6 1/3] redhat: rh_kabi: move semicolon inside __RH_KABI_CHECK_SIZE

2024-01-10 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca redhat: rh_kabi: move semicolon inside __RH_KABI_CHECK_SIZE With the current implementation, an unnecessary semicolon is left during the GENKSYMS pass (which doesn't matter since at the moment __RH_KABI_CHECK_SIZE is only used during the !GENKSYMS pass -- it's burried insid

[OS-BUILD PATCHv5 0/3] redhat: introduce RH_KABI_EXCLUDE_WITH_SIZE and enable size checks

2024-01-10 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1619 This MR introduces a new kABI macro, RH_KABI_EXCLUDE_WITH_SIZE. The implementation is identical to RH_KABI_EXTEND_WITH_SIZE, but the meaning is more in line with RH_KABI_EXCLUDE. The

[OS-BUILD PATCHv5 1/3] redhat: rh_kabi: move semicolon inside __RH_KABI_CHECK_SIZE

2024-01-10 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca redhat: rh_kabi: move semicolon inside __RH_KABI_CHECK_SIZE With the current implementation, an unnecessary semicolon is left during the GENKSYMS pass (which doesn't matter since at the moment __RH_KABI_CHECK_SIZE is only used during the !GENKSYMS pass -- it's burried insid

[OS-BUILD PATCHv5 3/3] redhat: kABI: add missing RH_KABI_SIZE_ALIGN_CHECKS Kconfig option

2024-01-10 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca redhat: kABI: add missing RH_KABI_SIZE_ALIGN_CHECKS Kconfig option When the kABI macros were copied from the RHEL kernel to ARK, the RH_KABI_SIZE_ALIGN_CHECKS config option was dropped. Without it, the size checks included in some of the kABI macros can't be enabled. Add t

[OS-BUILD PATCHv5 2/3] redhat: rh_kabi: introduce RH_KABI_EXCLUDE_WITH_SIZE

2024-01-10 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca redhat: rh_kabi: introduce RH_KABI_EXCLUDE_WITH_SIZE This macro is similar to RH_KABI_EXTEND_WITH_SIZE, but with a different intention. While RH_KABI_EXTEND_WITH_SIZE is meant to add new elements that may grow in the future to kABI-protected structures, RH_KABI_EXCLUDE_WIT

Re: [OS-BUILD PATCHv4 0/3] redhat: introduce RH_KABI_EXCLUDE_WITH_SIZE and enable size checks

2023-11-17 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1619#note_1654073315 thanks, I removed it now. -- ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.

Re: [OS-BUILD PATCHv4 0/3] redhat: introduce RH_KABI_EXCLUDE_WITH_SIZE and enable size checks

2023-11-17 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1619#note_1654073206 also removed. -- ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraprojec

[OS-BUILD PATCHv4 3/3] redhat: kABI: add missing RH_KABI_SIZE_ALIGN_CHECKS Kconfig option

2023-11-17 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca redhat: kABI: add missing RH_KABI_SIZE_ALIGN_CHECKS Kconfig option When the kABI macros were copied from the RHEL kernel to ARK, the RH_KABI_SIZE_ALIGN_CHECKS config option was dropped. Without it, the size checks included in some of the kABI macros can't be enabled. Add t

[OS-BUILD PATCHv4 2/3] redhat: rh_kabi: introduce RH_KABI_EXCLUDE_WITH_SIZE

2023-11-17 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca redhat: rh_kabi: introduce RH_KABI_EXCLUDE_WITH_SIZE This macro is similar to RH_KABI_EXTEND_WITH_SIZE, but with a different intention. While RH_KABI_EXTEND_WITH_SIZE is meant to add new elements that may grow in the future to kABI-protected structures, RH_KABI_EXCLUDE_WIT

[OS-BUILD PATCHv4 1/3] redhat: rh_kabi: move semicolon inside __RH_KABI_CHECK_SIZE

2023-11-17 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca redhat: rh_kabi: move semicolon inside __RH_KABI_CHECK_SIZE With the current implementation, an unnecessary semicolon is left during the GENKSYMS pass (which doesn't matter since at the moment __RH_KABI_CHECK_SIZE is only used during the !GENKSYMS pass -- it's burried insid

[OS-BUILD PATCHv4 0/3] redhat: introduce RH_KABI_EXCLUDE_WITH_SIZE and enable size checks

2023-11-17 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1619 This MR introduces a new kABI macro, RH_KABI_EXCLUDE_WITH_SIZE. The implementation is identical to RH_KABI_EXTEND_WITH_SIZE, but the meaning is more in line with RH_KABI_EXCLUDE. The

Re: [OS-BUILD PATCHv3 1/2] redhat: rh_kabi: introduce RH_KABI_EXCLUDE_WITH_SIZE

2023-11-01 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1619#note_1630068505 Do we care? As long as wer'e consistent and always compute the checksum with that extra semicolon, I don't see how it makes a difference. (I'll re-open this MR pretty soon since it

[OS-BUILD PATCHv3 2/2] redhat: kABI: add missing RH_KABI_SIZE_ALIGN_CHECKS Kconfig option

2022-02-17 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca redhat: kABI: add missing RH_KABI_SIZE_ALIGN_CHECKS Kconfig option When the kABI macros were copied from the RHEL kernel to ARK, the RH_KABI_SIZE_ALIGN_CHECKS config option was dropped. Without it, the size checks included in some of the kABI macros can't be enabled. Add t

[OS-BUILD PATCHv3 1/2] redhat: rh_kabi: introduce RH_KABI_EXCLUDE_WITH_SIZE

2022-02-17 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca redhat: rh_kabi: introduce RH_KABI_EXCLUDE_WITH_SIZE This macro is similar to RH_KABI_EXTEND_WITH_SIZE, but with a different intention. While RH_KABI_EXTEND_WITH_SIZE is meant to add new elements that may grow in the future to kABI-protected structures, RH_KABI_EXCLUDE_WIT

[OS-BUILD PATCHv3 0/2] redhat: introduce RH_KABI_EXCLUDE_WITH_SIZE and enable size checks

2022-02-17 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1619 This MR introduces a new kABI macro, RH_KABI_EXCLUDE_WITH_SIZE. The implementation is identical to RH_KABI_EXTEND_WITH_SIZE, but the meaning is more in line with RH_KABI_EXCLUDE. The

Re: [OS-BUILD PATCHv2 0/2] redhat: introduce RH_KABI_EXCLUDE_WITH_SIZE and enable size checks

2022-02-17 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1619#note_846657442 In v3 I modified RH_KABI_EXCLUDE_WITH_SIZE to only exclude the new element from the checksum, but include the reserved size, so that we can't accidentally grow it without breaking the

Re: [OS-BUILD PATCHv2 0/2] redhat: introduce RH_KABI_EXCLUDE_WITH_SIZE and enable size checks

2022-02-17 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1619#note_846653940 Ok, addressed in v4 (I missed the 'depends on' in v3). Thanks. ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe sen

Re: [OS-BUILD PATCHv2 0/2] redhat: introduce RH_KABI_EXCLUDE_WITH_SIZE and enable size checks

2022-02-17 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1619#note_846653350 Ok, addressed in v4 (I forgot the 'depends on' in v3). ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an ema

[OS-BUILD PATCHv2 1/2] redhat: rh_kabi: introduce RH_KABI_EXCLUDE_WITH_SIZE

2022-02-17 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca redhat: rh_kabi: introduce RH_KABI_EXCLUDE_WITH_SIZE This macro is identical to RH_KABI_EXTEND_WITH_SIZE, but with a different intention. While RH_KABI_EXTEND_WITH_SIZE is meant to add new elements that may grow in the future to kABI-protected structures, RH_KABI_EXCLUDE_W

[OS-BUILD PATCHv2 2/2] redhat: kABI: add missing RH_KABI_SIZE_ALIGN_CHECKS Kconfig option

2022-02-17 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca redhat: kABI: add missing RH_KABI_SIZE_ALIGN_CHECKS Kconfig option When the kABI macros were copied from the RHEL kernel to ARK, the RH_KABI_SIZE_ALIGN_CHECKS config option was dropped. Without it, the size checks included in some of the kABI macros can't be enabled. Add t

[OS-BUILD PATCHv2 0/2] redhat: introduce RH_KABI_EXCLUDE_WITH_SIZE and enable size checks

2022-02-17 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1619 This MR introduces a new kABI macro, RH_KABI_EXCLUDE_WITH_SIZE. The implementation is identical to RH_KABI_EXTEND_WITH_SIZE, but the meaning is more in line with RH_KABI_EXCLUDE. The

[OS-BUILD PATCH 0/2] redhat: introduce RH_KABI_EXCLUDE_WITH_SIZE and enable size checks

2022-02-17 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1619 This MR introduces a new kABI macro, RH_KABI_EXCLUDE_WITH_SIZE. The implementation is identical to RH_KABI_EXTEND_WITH_SIZE, but the meaning is more in line with RH_KABI_EXCLUDE. The

[OS-BUILD PATCH 2/2] redhat: kABI: add missing RH_KABI_SIZE_ALIGN_CHECKS Kconfig option

2022-02-17 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca redhat: kABI: add missing RH_KABI_SIZE_ALIGN_CHECKS Kconfig option When the kABI macros were copied from the RHEL kernel to ARK, the RH_KABI_SIZE_ALIGN_CHECKS config option was dropped. Without it, the size checks included in some of the kABI macros can't be enabled. Add t

[OS-BUILD PATCH 1/2] redhat: rh_kabi: introduce RH_KABI_EXCLUDE_WITH_SIZE

2022-02-17 Thread Sabrina Dubroca (via Email Bridge)
From: Sabrina Dubroca redhat: rh_kabi: introduce RH_KABI_EXCLUDE_WITH_SIZE This macro is identical to RH_KABI_EXTEND_WITH_SIZE, but with a different intention. While RH_KABI_EXTEND_WITH_SIZE is meant to add new elements that may grow in the future to kABI-protected structures, RH_KABI_EXCLUDE_W