Skip to content
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

ID begins with a digit or minus sign #294

Merged
merged 1 commit into from
Apr 24, 2024
Merged

ID begins with a digit or minus sign #294

merged 1 commit into from
Apr 24, 2024

Conversation

skosachiov
Copy link
Contributor

Rules with auid=-1 (user not defined) can be useful to avoid blocking calls on behalf of the system.

@radosroka
Copy link
Member

@stevegrubb correct me if I'm wrong but I think auid=-1 does not mean user not defined but rather something like service/daemon spawned by systemd?

Otherwise code looks good.

@skosachiov
Copy link
Contributor Author

Ok. It's better to write "unset". The audit system considers uids to be unsigned numbers. The audit system uses the number -1 to indicate that a loginuid is not set. This means that when it's printed out, it looks like 4294967295. But when you write rules, you can use either "unset" which is easy to remember, or -1, or 4294967295. https://www.man7.org/linux/man-pages/man7/audit.rules.7.html

@radosroka radosroka merged commit 04c1dc3 into linux-application-whitelisting:main Apr 24, 2024
14 of 18 checks passed
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