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

Add AdditionalGIDs field to ContainerEdits #179

Merged
merged 2 commits into from
Jan 10, 2024

Conversation

elezar
Copy link
Contributor

@elezar elezar commented Jan 10, 2024

This change adds an AdditionalGIDs field to the ContainerEdits structure. This allows CDI spec producers to associate a group ID with the container's user to allow access to, for example, device nodes with specific permissions.

This closes #175

@elezar elezar requested review from marquiz and klihub January 10, 2024 13:18
@elezar elezar force-pushed the add-additional-guids branch from 1cf92d7 to a57412a Compare January 10, 2024 13:19
@elezar elezar mentioned this pull request Jan 10, 2024
Copy link
Contributor

@klihub klihub left a comment

Choose a reason for hiding this comment

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

LGTM.

@elezar elezar force-pushed the add-additional-guids branch from a57412a to 3d6c89e Compare January 10, 2024 13:44
@elezar elezar requested a review from klihub January 10, 2024 13:44
@elezar
Copy link
Contributor Author

elezar commented Jan 10, 2024

Thanks for the fast review @klihub. Just realizeds that I didn't add a minimum version test.

@klihub
Copy link
Contributor

klihub commented Jan 10, 2024

Thanks for the fast review @klihub. Just realizeds that I didn't add a minimum version test.

Okay. Sorry for not having spotted that either. Let's throw that in and then I'd consider this good to go in.

Copy link
Contributor

@marquiz marquiz left a comment

Choose a reason for hiding this comment

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

Thanks @elezar for the enhancement. Looks good to me.

@klihub
Copy link
Contributor

klihub commented Jan 10, 2024

@elezar This needs now a rebase and conflict resolution.

This change adds an AdditionalGIDs field to the ContainerEdits structure.
This allows CDI spec producers to associate a group ID with the container's
user to allow access to, for example, device nodes with specific permissions.

Signed-off-by: Evan Lezar <[email protected]>
@elezar elezar force-pushed the add-additional-guids branch from 3d6c89e to 9ba82ac Compare January 10, 2024 16:34
@elezar elezar requested review from klihub and marquiz January 10, 2024 16:34
@elezar
Copy link
Contributor Author

elezar commented Jan 10, 2024

Rebased off main.

@klihub klihub merged commit 39b12a7 into cncf-tags:main Jan 10, 2024
7 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.

[Extension] Allow AdditionalGIDs to be specified in CDI specification
3 participants