Skip to content

fix(test): Handle aarch64 AVC syscall#672

Merged
Peto-RH merged 1 commit into
mainfrom
pschrimp/selinux_denial_newfstat_fix
Jul 13, 2026
Merged

fix(test): Handle aarch64 AVC syscall#672
Peto-RH merged 1 commit into
mainfrom
pschrimp/selinux_denial_newfstat_fix

Conversation

@Peto-RH

@Peto-RH Peto-RH commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

The known CCT-2009 getattr denial is reported as fstat on x86_64 but as newfstat on aarch64. Skip both syscall variants for the same known SELinux AVC pattern.


This pull request should be also backported to following maintenance branches:

  • rhel-9-main (RHEL >= 9.8)

@zpetrace zpetrace left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change looks good, please just fix the black & flake8 and let's wait for the test results after that.

* Card ID: CCT-2555

The known CCT-2009 getattr denial is reported as fstat on
x86_64 but as newfstat on aarch64. Skip both syscall variants
for the same known SELinux AVC pattern.
@Peto-RH Peto-RH force-pushed the pschrimp/selinux_denial_newfstat_fix branch from 64b0637 to cc1ced9 Compare July 13, 2026 10:22
@Peto-RH

Peto-RH commented Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

The same test fails also in this PR
https://github.com/RedHatInsights/insights-client/pull/669/checks

@zpetrace zpetrace left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As the same test fails on #669 it points to an existing RHEL 10 Nightly integration-test/SELinux issue, not a regression caused by this PR. This LGTM.

@Peto-RH Peto-RH merged commit b743315 into main Jul 13, 2026
15 of 16 checks passed
@Peto-RH Peto-RH deleted the pschrimp/selinux_denial_newfstat_fix branch July 13, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants