runc/libcontainer/system
Tobias Klauser d2bc081420 libcontainer: merge common syscall implementations
There are essentially two possible implementations for Setuid/Setgid on
Linux, either using SYS_SETUID32/SYS_SETGID32 or SYS_SETUID/SYS_SETGID,
depending on the architecture (see golang/go#1435 for why Setuid/Setgid
aren currently implemented for Linux neither in syscall nor in
golang.org/x/sys/unix).

Reduce duplication by merging the currently implemented variants and
adjusting the build tags accordingly.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2017-10-16 11:11:18 +02:00
..
linux.go libcontainer: use ioctl wrappers from x/sys/unix 2017-07-10 10:56:58 +02:00
proc.go libcontainer/system/proc: Add Stat_t.State 2017-06-20 16:26:55 -07:00
proc_test.go libcontainer/system/proc: Add Stat_t.State 2017-06-20 16:26:55 -07:00
syscall_linux_32.go libcontainer: merge common syscall implementations 2017-10-16 11:11:18 +02:00
syscall_linux_64.go libcontainer: merge common syscall implementations 2017-10-16 11:11:18 +02:00
sysconfig.go Cleanup GetLongBit 2016-08-02 09:04:30 +08:00
sysconfig_notcgo.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00
unsupported.go Stub RunningInUserNS for non-Linux 2016-03-03 16:33:43 -05:00
xattrs_linux.go Use symlink xattr functions from x/sys/unix 2017-05-31 13:50:34 +02:00