Skip to content

RFE: filter_exclude search by syscall/key, syncmarker fix, comments#102

Open
rgbriggs wants to merge 1 commit into
linux-audit:mainfrom
rgbriggs:ghat58-filter_exclude-selinux-parse
Open

RFE: filter_exclude search by syscall/key, syncmarker fix, comments#102
rgbriggs wants to merge 1 commit into
linux-audit:mainfrom
rgbriggs:ghat58-filter_exclude-selinux-parse

Conversation

@rgbriggs

Copy link
Copy Markdown
Contributor
  • Add key and syscall to exit list rules.
  • Update 2nd syncmarker search.
  • Add comments to each check.

See: #58

Signed-off-by: Richard Guy Briggs rgb@redhat.com


Rebased on #96

…ments

- Add key and syscall to exit list rules.
- Update 2nd syncmarker search.
- Add comments to each check.

See: linux-audit#58

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>

---
Rebased on linux-audit#96
Comment thread tests/filter_exclude/test
# unsupported types
$result = system("auditctl -a exclude,always -F msgtype=$msgtype");
ok( $result, 0 );
ok( $result, 0 ); # add msgtype ok?

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.

Please don't do this; the operation which is being checked is the line directly above this one. This is comment noise and it detracts from other comments in the test suite.

This applies to all the other similar comments you've added in this PR; please remove them and leave the code as-is.

@rgbriggs

rgbriggs commented Mar 15, 2021 via email

Copy link
Copy Markdown
Contributor Author

@pcmoore

pcmoore commented Mar 15, 2021

Copy link
Copy Markdown
Contributor

"Please don't do this."

@pcmoore

pcmoore commented Mar 15, 2021

Copy link
Copy Markdown
Contributor

Let me add to this, I think it is a good thing to have people look at the test source when the test fails; I actually would encourage that in most cases. This is one of the reasons why I've fought against a lot of the overly verbose output, "debugging" messages, etc.

@pcmoore

pcmoore commented Dec 30, 2021

Copy link
Copy Markdown
Contributor

Hi @rgbriggs, I'm just checking in on this PR; are you planning to make the requested change above?

@pcmoore pcmoore 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.

See comment #102 (comment)

@pcmoore pcmoore changed the title tests: filter_exclude: search by syscall/key, syncmarker fix, comments RFE: filter_exclude search by syscall/key, syncmarker fix, comments Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants