container icon indicating copy to clipboard operation
container copied to clipboard

[Bug]: Shared Resource Access

Open dkovba opened this issue 1 year ago • 2 comments

Created from https://github.com/apple/container/issues/167.

I have done the following

  • [x] I have searched the existing issues
  • [ ] If possible, I've reproduced the issue using the 'main' branch of this project

Steps to reproduce

Not applicable.

Current behavior

Shared Resource Access

  • Multiple XPC requests can access shared resources (containers, networks, etc.)
  • Lock usage is inconsistent across the codebase
  • Some operations appear to assume sequential execution

Expected Behavior

Access Control

  • Shared resources should have clear ownership models
  • Consistent lock acquisition order to prevent deadlocks
  • Fine-grained locking to avoid unnecessary contention

Environment

Not applicable.

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

dkovba avatar Jun 27 '25 18:06 dkovba

@vladlen-codes Please provide links to the source code that demonstrate shared resource access issues.

dkovba avatar Jun 27 '25 20:06 dkovba

Closing this issue as non-actionable. It can be reopened if more details become available.

dkovba avatar Jul 03 '25 20:07 dkovba