Skip to content

Introduce new rule audit_rules_dac_modification_fchmodat2 #13335

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jan-cerny
Copy link
Collaborator

We already have rule audit_rules_dac_modification_fchmodat that checks for the fchmodat system call. RHEL 10 will introduce a new system call fchmodat2. The new fchmodat2 is similar to fchmodat, therefore we introduce a new rule for this syscall audit_rules_dac_modification_fchmodat2. This rule will be added to all RHEL 10 profiles where the audit_rules_dac_modification_fchmodat is currently selected.

Resolves: https://issues.redhat.com/browse/OPENSCAP-4912

@jan-cerny jan-cerny added New Rule Issues or pull requests related to new Rules. RHEL10 Red Hat Enterprise Linux 10 product related. labels Apr 15, 2025
@jan-cerny jan-cerny added this to the 0.1.77 milestone Apr 15, 2025
@jan-cerny jan-cerny requested review from a team as code owners April 15, 2025 15:38
@jan-cerny jan-cerny force-pushed the audit_rules_dac_modification_fchmodat branch from a929a06 to d3411ad Compare April 15, 2025 16:06
@Mab879 Mab879 self-assigned this Apr 15, 2025
@Mab879
Copy link
Member

Mab879 commented Apr 21, 2025

@jan-cerny Looks like the CCE numbers might need adjusting.

We already have rule `audit_rules_dac_modification_fchmodat` that checks
for the `fchmodat` system call. RHEL 10 will introduce a new system call
`fchmodat2`. The new `fchmodat2` is similar to `fchmodat`, therefore we
introduce a new rule for this syscall
`audit_rules_dac_modification_fchmodat2`. This rule will be added to all
RHEL 10 profiles where the `audit_rules_dac_modification_fchmodat` is
currently selected.

Resolves: https://issues.redhat.com/browse/OPENSCAP-4912
@jan-cerny jan-cerny force-pushed the audit_rules_dac_modification_fchmodat branch from d3411ad to 4de1a50 Compare April 22, 2025 07:32
@jan-cerny
Copy link
Collaborator Author

I have rebased this PR on the top of the latest upstream master branch.

Copy link

codeclimate bot commented Apr 22, 2025

Code Climate has analyzed commit 4de1a50 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 61.9% (0.0% change).

View more on Code Climate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Rule Issues or pull requests related to new Rules. RHEL10 Red Hat Enterprise Linux 10 product related.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants