github.com/zhuohuang-hust/src-cbuild@v0.0.0-20230105071821-c7aab3e7c840/mergeCode/runc/libcontainer/configs/namespaces_syscall_unsupported.go (about) 1 // +build !linux,!windows 2 3 package configs 4 5 func (n *Namespace) Syscall() int { 6 panic("No namespace syscall support") 7 return 0 8 } 9 10 // CloneFlags parses the container's Namespaces options to set the correct 11 // flags on clone, unshare. This function returns flags only for new namespaces. 12 func (n *Namespaces) CloneFlags() uintptr { 13 panic("No namespace syscall support") 14 return uintptr(0) 15 }