diff options
author | Jakob Unterwurzacher | 2025-02-26 21:21:57 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2025-02-26 21:27:29 +0100 |
commit | 987ced003ec2971797e8969e0cf0a37a751ebc84 (patch) | |
tree | cff93745a96ed7a1fea5de9b4eb3c5f879b252a2 | |
parent | 22cd9cf174e8a93787b01f6dd7b09247f9642286 (diff) |
syscallcompat: rename thread_credentials files to include "linux"
As with the other files, include "linux" because the code only
builds on linux
renamed: internal/syscallcompat/thread_credentials.go -> internal/syscallcompat/thread_credentials_linux.go
renamed: internal/syscallcompat/thread_credentials_368_arm.go -> internal/syscallcompat/thread_credentials_linux_368_arm.go
renamed: internal/syscallcompat/thread_credentials_other.go -> internal/syscallcompat/thread_credentials_linux_other.go
-rw-r--r-- | internal/syscallcompat/thread_credentials_linux.go (renamed from internal/syscallcompat/thread_credentials.go) | 0 | ||||
-rw-r--r-- | internal/syscallcompat/thread_credentials_linux_368_arm.go (renamed from internal/syscallcompat/thread_credentials_368_arm.go) | 2 | ||||
-rw-r--r-- | internal/syscallcompat/thread_credentials_linux_other.go (renamed from internal/syscallcompat/thread_credentials_other.go) | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/internal/syscallcompat/thread_credentials.go b/internal/syscallcompat/thread_credentials_linux.go index 8cfb703..8cfb703 100644 --- a/internal/syscallcompat/thread_credentials.go +++ b/internal/syscallcompat/thread_credentials_linux.go diff --git a/internal/syscallcompat/thread_credentials_368_arm.go b/internal/syscallcompat/thread_credentials_linux_368_arm.go index 1244160..e244a15 100644 --- a/internal/syscallcompat/thread_credentials_368_arm.go +++ b/internal/syscallcompat/thread_credentials_linux_368_arm.go @@ -8,7 +8,7 @@ import ( "golang.org/x/sys/unix" ) -// See thread_credentials.go for docs +// See thread_credentials_linux.go for docs func Setreuid(ruid int, euid int) (err error) { _, _, e1 := unix.RawSyscall(unix.SYS_SETREUID32, uintptr(ruid), uintptr(euid), 0) diff --git a/internal/syscallcompat/thread_credentials_other.go b/internal/syscallcompat/thread_credentials_linux_other.go index e3c78d0..ba385b6 100644 --- a/internal/syscallcompat/thread_credentials_other.go +++ b/internal/syscallcompat/thread_credentials_linux_other.go @@ -8,7 +8,7 @@ import ( "golang.org/x/sys/unix" ) -// See thread_credentials.go for docs +// See thread_credentials_linux.go for docs func Setreuid(ruid int, euid int) (err error) { _, _, e1 := unix.RawSyscall(unix.SYS_SETREUID, uintptr(ruid), uintptr(euid), 0) |