]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.1] syscall: prlimit argument error for Getrlimit and Setrlimit...
authorAndrew Gerrand <adg@golang.org>
Mon, 29 Jul 2013 00:34:53 +0000 (10:34 +1000)
committerRuss Cox <rsc@golang.org>
Mon, 29 Jul 2013 00:34:53 +0000 (10:34 +1000)
commit2041d55aac66d54765d2a4cfd267986c8f6d7c2a
tree9160c53968ea60318944d179c41cce2e98d9b13f
parent3e917131a188e1a59b690f4a18c1d97555d54959
[release-branch.go1.1] syscall: prlimit argument error for Getrlimit and Setrlimit on Linux 32-bit

««« CL 11803043 / ba52f6399462
syscall: prlimit argument error for Getrlimit and Setrlimit on Linux 32-bit

The rlimit arguments for prlimit are reversed for linux 32-bit (386 and arm).
Getrlimit becomes Setrlimit and vice versa.
Fixes #5949.

R=iant, mikioh.mikioh, rsc
CC=golang-dev
https://golang.org/cl/11803043

»»»

Update #5928

R=golang-dev, dave
CC=golang-dev
https://golang.org/cl/11996043
src/pkg/syscall/rlimit_linux_test.go [new file with mode: 0644]
src/pkg/syscall/syscall_linux_386.go
src/pkg/syscall/syscall_linux_arm.go