container
container copied to clipboard
[Bug]: Shared Resource Access
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
@vladlen-codes Please provide links to the source code that demonstrate shared resource access issues.
Closing this issue as non-actionable. It can be reopened if more details become available.