Skip to content

fix(sandbox): allow ioprio_set on the caller's own group - #6204

Open
ericcurtin wants to merge 1 commit into
ai-openshell:mainfrom
ericcurtin:fix/5706-ioprio-set-own-group/ericcurtin
Open

ericcurtin wants to merge 1 commit into
ai-openshell:mainfrom
ericcurtin:fix/5706-ioprio-set-own-group/ericcurtin

Conversation

@ericcurtin

Copy link
Copy Markdown
Contributor

Summary

Let ionice work on the sandbox's own thread group.

Related Issue

Closes #5706

Changes

  • Move ioprio_set into the mediated scheduling table, sharing the selector logic with setpriority.
  • Other targets, group and user selectors stay denied.

Release Notes

Testing

  • Checks appropriate to the affected code and behavior pass
  • Unit tests added/updated (if applicable)
  • E2E tests added/updated (if applicable)

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated (if applicable)

Signed-off-by: Eric Curtin <eric.curtin@docker.com>

This branch has not been deployed

No deployments
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.

bug(sandbox): ioprio_set is denied for every target, so ionice on the caller's own process fails

1 participant