Affected by GO-2022-0390
and 1 other vulnerabilities
GO-2022-0390: Moby (Docker Engine) started with non-empty inheritable Linux process capabilities in github.com/docker/docker
GO-2024-2914: Moby (Docker Engine) is vulnerable to Ambiguous OCI manifest parsing in github.com/docker/docker
package
Version:
v0.9.1
Opens a new window with list of versions in this module.
Published: Mar 25, 2014
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func ForceMount(device, target, mType, options string) error
Mount the specified options at the target path
reguardless if the target is mounted or not
Options must be specified as fstab style
Unmount the target reguardless if it is mounted or not
func Mount(device, target, mType, options string) error
Mount the specified options at the target path only if
the target is not mounted
Options must be specified as fstab style
Looks at /proc/self/mountinfo to determine of the specified
mountpoint has been mounted
Unmount the target only if it is mounted
type MountInfo struct {
Id, Parent, Major, Minor int
Root, Mountpoint, Opts string
Fstype, Source, VfsOpts string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.