]> Cypherpunks repositories - gostls13.git/commit
syscall: fix NaCl Link syscall error handling
authorTim Wright <tenortim@gmail.com>
Sun, 5 Nov 2017 02:35:23 +0000 (19:35 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 6 Nov 2017 16:36:34 +0000 (16:36 +0000)
commit37b15baa3b884d5de8563f91be2afa3659e8258f
tree0084501cf7f6b9fbb267d9097bad75409e330e3b
parentef0e2af7b0296c61c17877b84f09221335a962f7
syscall: fix NaCl Link syscall error handling

The existing NaCl filesystem Link system call erroneously allowed
a caller to call Link on an existing target which violates the POSIX
standard and effectively corrupted the internal filesystem
representation.

Fixes #22383

Change-Id: I77b16c37af9bf00a1799fa84277f066180edac47
Reviewed-on: https://go-review.googlesource.com/76110
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/os/os_test.go
src/syscall/fs_nacl.go