Skip to content

Ensure fds are closed after exiting ioctl #7061

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

Merged
merged 6 commits into from
Jun 20, 2025

Conversation

cjen1-msft
Copy link
Contributor

This PR uses a unique_ptr to ensure that the file descriptor cannot leak when we do the ioctls to /dev/guest-sev.

@cjen1-msft cjen1-msft marked this pull request as ready for review June 19, 2025 16:08
@cjen1-msft cjen1-msft requested a review from a team as a code owner June 19, 2025 16:08
@achamayou achamayou added this pull request to the merge queue Jun 19, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 19, 2025
@achamayou achamayou added this pull request to the merge queue Jun 20, 2025
Merged via the queue into microsoft:main with commit ed4d6e6 Jun 20, 2025
15 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.

3 participants