Documentation
¶
Overview ¶
Package snaplock offers per-snap locking also used by snap-confine. The corresponding C code is in libsnap-confine-private/locking.c
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OpenLock ¶
OpenLock creates and opens a lock file associated with a particular snap.
NOTE: The snap lock is only accessible to root and is only intended to synchronize operations between snapd and snap-confine (and snap-update-ns in some cases). Any process holding the snap lock must not do any interactions with snapd to avoid deadlocks due to locked snap state.
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
Package runinhibit contains operations for establishing, removing and querying snap run inhibition lock.
|
Package runinhibit contains operations for establishing, removing and querying snap run inhibition lock. |
Click to show internal directories.
Click to hide internal directories.