summaryrefslogtreecommitdiff
path: root/pkg/namespaces/namespaces.go
diff options
context:
space:
mode:
authorrvandernoort <s.r.vandernoort@student.tudelft.nl>2022-03-23 14:01:58 +0100
committerrvandernoort <s.r.vandernoort@student.tudelft.nl>2022-03-27 13:01:52 +0200
commit446c35efdf4f7141ec32a347385587d7b4fc2c75 (patch)
tree1591cfd468b9399a39c36dcb624e6b7efdd4c5bb /pkg/namespaces/namespaces.go
parenta8743d3327b9a97ea812632885492d95c816d79a (diff)
downloadpodman-446c35efdf4f7141ec32a347385587d7b4fc2c75.tar.gz
podman-446c35efdf4f7141ec32a347385587d7b4fc2c75.tar.bz2
podman-446c35efdf4f7141ec32a347385587d7b4fc2c75.zip
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>
Diffstat (limited to 'pkg/namespaces/namespaces.go')
-rw-r--r--pkg/namespaces/namespaces.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/namespaces/namespaces.go b/pkg/namespaces/namespaces.go
index a7736aee0..a264a5a0f 100644
--- a/pkg/namespaces/namespaces.go
+++ b/pkg/namespaces/namespaces.go
@@ -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
}