mirror of
https://github.com/containers/podman.git
synced 2025-11-14 18:19:20 +08:00
cgroupsns was not following containers.conf
Implement ParseCgroupsNamespace to handle defaults. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
6
vendor/github.com/containers/storage/pkg/lockfile/lockfile.go
generated
vendored
6
vendor/github.com/containers/storage/pkg/lockfile/lockfile.go
generated
vendored
@@ -13,6 +13,9 @@ import (
|
||||
// by the lock.
|
||||
type Locker interface {
|
||||
// Acquire a writer lock.
|
||||
// The default unix implementation panics if:
|
||||
// - opening the lockfile failed
|
||||
// - tried to lock a read-only lock-file
|
||||
Lock()
|
||||
|
||||
// Acquire a writer lock recursively, allowing for recursive acquisitions
|
||||
@@ -20,6 +23,9 @@ type Locker interface {
|
||||
RecursiveLock()
|
||||
|
||||
// Unlock the lock.
|
||||
// The default unix implementation panics if:
|
||||
// - unlocking an unlocked lock
|
||||
// - if the lock counter is corrupted
|
||||
Unlock()
|
||||
|
||||
// Acquire a reader lock.
|
||||
|
||||
Reference in New Issue
Block a user