Skip to content

Conversation

@pcmoore
Copy link
Member

@pcmoore pcmoore commented Aug 21, 2025

We don't want to duplicate struct definitions unless absolutely necessary, so rely on seccomp.h definitions inside system.h. A very minor thing, but we should fix this at some point.

We don't want to duplicate struct definitions unless absolutely
necessary.

Signed-off-by: Paul Moore <paul@paul-moore.com>
@pcmoore pcmoore added this to the v2.7.0 milestone Aug 21, 2025
@pcmoore pcmoore requested a review from drakenclimber August 21, 2025 16:04
@pcmoore pcmoore self-assigned this Aug 21, 2025
@pcmoore pcmoore added the bug label Aug 21, 2025
@coveralls
Copy link

Coverage Status

coverage: 89.046%. remained the same
when pulling ab5ac01 on pcmoore:working-system_dedup
into e7e633c on seccomp:main.

Copy link
Member

@drakenclimber drakenclimber left a comment

Choose a reason for hiding this comment

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

LGTM. I compared our current list of defines with what is in the kernel's seccomp.h, and I think you've defined the bare minimum in the case where those structs/#defines don't exist.

Acked-by: Tom Hromatka <tom.hromatka@oracle.com>

@pcmoore
Copy link
Member Author

pcmoore commented Aug 30, 2025

Merged via dee17d0, thanks.

@pcmoore pcmoore closed this Aug 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants