Vendor common

Added patch provided by rhatdan to add support for shareable

[NO NEW TESTS NEEDED]

Signed-off-by: rvandernoort <s.r.vandernoort@student.tudelft.nl>
This commit is contained in:
rvandernoort
2022-03-23 14:01:58 +01:00
parent a8743d3327
commit 446c35efdf
12 changed files with 107 additions and 60 deletions

View File

@@ -254,7 +254,7 @@ func (n IpcMode) IsHost() bool {
return n == hostType
}
// IsShareable indicates whether the container's ipc namespace can be shared with another container.
// IsShareable indicates whether the container uses its own shareable ipc namespace which can be shared.
func (n IpcMode) IsShareable() bool {
return n == shareableType
}