Home
last modified time | relevance | path

Searched refs:nstype (Results 1 – 2 of 2) sorted by relevance

/unit/test/go/ns_inspect/
H A Dapp.go41 func getns(nstype string) uint64 {
42 str, err := os.Readlink(fmt.Sprintf("/proc/self/ns/%s", nstype))
47 str = str[len(nstype)+2:]
/unit/test/unit/
H A Dutils.py111 def getns(nstype): argument
115 nspath = '/proc/self/ns/' + nstype
119 data = int(os.readlink(nspath)[len(nstype) + 2 : -1])