]> Cypherpunks repositories - gostls13.git/commit
syscall: disable Setuid/Setgid on linux
authorDave Cheney <dave@cheney.net>
Mon, 23 Jun 2014 23:16:24 +0000 (09:16 +1000)
committerDave Cheney <dave@cheney.net>
Mon, 23 Jun 2014 23:16:24 +0000 (09:16 +1000)
commit343b4ba8c1ad8a29b6dd19cb101273b57a26c9b0
treea0062a10abbfe5366d3999ac0320b74d69c62e5e
parent7d8da7dc4d6f7800aababcc054b71a1cda47cc93
syscall: disable Setuid/Setgid on linux

Update #1435

This proposal disables Setuid and Setgid on all linux platforms.

Issue 1435 has been open for a long time, and it is unlikely to be addressed soon so an argument was made by a commenter

https://code.google.com/p/go/issues/detail?id=1435#c45

That these functions should made to fail rather than succeed in their broken state.

LGTM=ruiu, iant
R=iant, ruiu
CC=golang-codereviews
https://golang.org/cl/106170043
src/pkg/syscall/syscall_linux.go
src/pkg/syscall/syscall_linux_386.go
src/pkg/syscall/syscall_linux_amd64.go
src/pkg/syscall/syscall_linux_arm.go
src/pkg/syscall/zsyscall_linux_386.go
src/pkg/syscall/zsyscall_linux_amd64.go
src/pkg/syscall/zsyscall_linux_arm.go