summaryrefslogtreecommitdiff
path: root/cap/modern.go
diff options
context:
space:
mode:
Diffstat (limited to 'cap/modern.go')
-rw-r--r--cap/modern.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/cap/modern.go b/cap/modern.go
new file mode 100644
index 0000000..04a4919
--- /dev/null
+++ b/cap/modern.go
@@ -0,0 +1,8 @@
+// +build linux,!arm
+// +build linux,!386
+
+package cap
+
+import "syscall"
+
+var sys_setgroups_variant = uintptr(syscall.SYS_SETGROUPS)