Affected by GO-2022-0390
and 3 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
GO-2024-3304 : Moby Race Condition vulnerability in github.com/moby/moby
GO-2024-3305 : Moby Race Condition vulnerability in github.com/moby/moby
Discover Packages
github.com/moby/moby
pkg
networkfs
resolvconf
package
Version:
v1.4.0
Opens a new window with list of versions in this module.
Published: Dec 11, 2014
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Index Constants Variables Functions Types Build(path, dns, dnsSearch) Get() GetNameservers(resolvConf) GetNameserversAsCIDR(resolvConf) GetSearchDomains(resolvConf)
Documentation
¶
GetNameservers returns nameservers (if any) listed in /etc/resolv.conf
func GetNameserversAsCIDR(resolvConf []byte ) []string
GetNameserversAsCIDR returns nameservers (if any) listed in
/etc/resolv.conf as CIDR blocks (e.g., "1.2.3.4/32")
This function's output is intended for net.ParseCIDR
GetSearchDomains returns search domains (if any) listed in /etc/resolv.conf
If more than one search line is encountered, only the contents of the last
one is returned.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.