Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

(PA-6549) Patch selinux_ruby_wrap.c to fix warning: undefining the allocator of T_DATA class # SWIG::TYPE_p_selabel_handle #864

Merged

Conversation

AriaXLi
Copy link
Contributor

@AriaXLi AriaXLi commented Jun 18, 2024

This PR reverts #861 and adds additional steps to patch selinux_ruby_wrap.c for RHEL 7 and RHEL FIPS 7.

AriaXLi added 2 commits June 14, 2024 09:19
…rt_PA-6549"

This reverts commit 01f84b4, reversing
changes made to db00b4c.
This commit adds a patch that patches selinux_ruby_wrap.c in RHEL 7 and RHEL
FIPS 7 to fix the warning: undefining the allocator of T_DATA class
SWIG::TYPE_p_selabel_handle. These platforms cannot use the original patch
(even with increased fuzz values),
selinuxswig_ruby_undefining_allocator.patch, that fixed the warning for other
platforms. RHEL 7 and RHEL FIPS 7 use an older version of swig and due to
that, have an older version of selinux_ruby_wrap.c.
@AriaXLi AriaXLi requested review from a team as code owners June 18, 2024 18:41
@AriaXLi AriaXLi changed the title (PA-6549) Patch selinux_ruby_wrap.c to fix warning: ndefining the allocator of T_DATA class # SWIG::TYPE_p_selabel_handle (PA-6549) Patch selinux_ruby_wrap.c to fix warning: undefining the allocator of T_DATA class # SWIG::TYPE_p_selabel_handle Jun 18, 2024
@AriaXLi
Copy link
Contributor Author

AriaXLi commented Jun 18, 2024

@joshcooper joshcooper merged commit a7fc904 into puppetlabs-toy-chest:master Jun 18, 2024
3 checks passed
@AriaXLi AriaXLi added the enhancement New feature or request label Jun 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants