This website requires JavaScript.
Explore
Help
Sign In
RepoMirrors
/
netns
Watch
1
Star
0
Fork
0
You've already forked netns
mirror of
https://github.com/vishvananda/netns
synced
2025-02-18 12:36:49 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
0591c3f637
netns
/
netns_linux_arm.go
8 lines
63 B
Go
Raw
Normal View
History
Unescape
Escape
Add Build Flags This commit adds build flags for the various architectures to prevent failures when cross compiling. It also fixes errors in netns_unspecified.go by replacing the undefined type Namespace with NsHandle Signed-off-by: Dave Tucker <dt@docker.com>
2015-05-20 18:19:57 +00:00
// +build linux,arm
Initial commit of netns package
2014-08-31 20:47:35 +00:00
package
netns
const
(
Using proper value for SYS_SETNS https://github.com/docker/libcontainer/blob/master/system/setns_linux.go#L17 For information: 374 is `sendmmsg` Now passing tests on **armv7** ```console $ uname -a Linux docker-builder-34 4.0.5-235 #1 SMP Fri Jun 19 08:56:44 UTC 2015 armv7l armv7l armv7l GNU/Linux $ go test github.com/vishvananda/netns PASS ok github.com/vishvananda/netns 0.013s ``` Should fix https://github.com/docker/docker/issues/14184
2015-06-30 20:23:27 +00:00
SYS_SETNS
=
375
Initial commit of netns package
2014-08-31 20:47:35 +00:00
)
Reference in New Issue
Copy Permalink