aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/syscallcompat/thread_credentials_linux_32.go (renamed from internal/syscallcompat/thread_credentials_linux_368_arm.go)3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/syscallcompat/thread_credentials_linux_368_arm.go b/internal/syscallcompat/thread_credentials_linux_32.go
index b39fa09..69fffca 100644
--- a/internal/syscallcompat/thread_credentials_linux_368_arm.go
+++ b/internal/syscallcompat/thread_credentials_linux_32.go
@@ -1,5 +1,8 @@
//go:build (linux && 386) || (linux && arm)
+// Linux on i386 and 32-bit ARM has SYS_SETREUID and friends returning 16-bit values.
+// We need to use SYS_SETREUID32 instead.
+
package syscallcompat
import (