1
0
mirror of https://github.com/golang/go synced 2024-11-19 20:44:40 -07:00
go/src/os
Tim Wright 37b15baa3b 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>
2017-11-06 16:36:34 +00:00
..
exec all: revert "all: prefer strings.LastIndexByte over strings.LastIndex" 2017-10-05 23:19:42 +00:00
signal os/signal: improve documentation for the Notify function 2017-11-01 18:38:23 +00:00
user all: revert "all: prefer strings.IndexByte over strings.Index" 2017-10-05 23:19:10 +00:00
dir_plan9.go
dir_unix.go os: use poller for file I/O 2017-02-15 19:31:55 +00:00
dir_windows.go os: avoid calulating fileStat.path until it is needed 2017-05-09 04:47:47 +00:00
dir.go
env_test.go all: revert "all: prefer strings.IndexByte over strings.Index" 2017-10-05 23:19:10 +00:00
env_unix_test.go
env.go
error_plan9.go
error_posix.go os: use poller for file I/O 2017-02-15 19:31:55 +00:00
error_test.go
error_unix_test.go
error_unix.go
error_windows_test.go
error_windows.go
error.go os: add deadline methods for File type 2017-10-25 18:27:06 +00:00
example_test.go os: use Fstat instead of Stat in FileMode example 2017-07-15 16:46:50 +00:00
exec_plan9.go
exec_posix.go
exec_unix.go
exec_windows.go os: parse command line without shell32.dll 2017-03-24 00:53:03 +00:00
exec.go
executable_darwin.go
executable_freebsd.go
executable_path.go os: on OpenBSD implement Executable using Args[0] 2017-06-17 03:32:59 +00:00
executable_plan9.go
executable_procfs.go os: on OpenBSD implement Executable using Args[0] 2017-06-17 03:32:59 +00:00
executable_solaris.go
executable_test.go os: run more of TestExecutable on OpenBSD 2017-06-22 04:42:40 +00:00
executable_windows.go
executable.go os: fix documentation for Executable on OpenBSD 2017-06-21 04:56:15 +00:00
export_test.go
export_windows_test.go os: parse command line without shell32.dll 2017-03-24 00:53:03 +00:00
file_plan9.go os: add deadline methods for File type 2017-10-25 18:27:06 +00:00
file_posix.go os: add deadline methods for File type 2017-10-25 18:27:06 +00:00
file_unix.go os: add deadline methods for File type 2017-10-25 18:27:06 +00:00
file_windows.go os: simplify windows Pipe 2017-10-21 00:22:33 +00:00
file.go os: rearrange OpenFile Flags doc 2017-11-01 21:28:43 +00:00
getwd_darwin.go
getwd.go
os_test.go syscall: fix NaCl Link syscall error handling 2017-11-06 16:36:34 +00:00
os_unix_test.go
os_windows_test.go path/filepath: re-implement windows EvalSymlinks 2017-10-05 04:16:00 +00:00
path_plan9.go
path_test.go os: fix RemoveAll on large directories on Plan 9 and NaCl 2017-11-06 07:09:50 +00:00
path_unix.go
path_windows_test.go
path_windows.go
path.go os: fix RemoveAll on large directories on Plan 9 and NaCl 2017-11-06 07:09:50 +00:00
pipe_bsd.go os: add deadline methods for File type 2017-10-25 18:27:06 +00:00
pipe_freebsd.go os: add deadline methods for File type 2017-10-25 18:27:06 +00:00
pipe_linux.go os: add deadline methods for File type 2017-10-25 18:27:06 +00:00
pipe_test.go internal/poll: don't wait for unpollable files 2017-07-14 04:03:31 +00:00
proc.go os: add documentation for Windows users 2017-06-30 01:36:38 +00:00
stat_darwin.go
stat_dragonfly.go
stat_freebsd.go
stat_linux.go
stat_nacl.go
stat_netbsd.go
stat_openbsd.go
stat_plan9.go
stat_solaris.go
stat_unix.go os: use poller for file I/O 2017-02-15 19:31:55 +00:00
stat_windows.go all: change github.com issue links to golang.org 2017-11-04 04:13:41 +00:00
sticky_bsd.go
sticky_notbsd.go
str.go
sys_bsd.go
sys_darwin.go os: remove incorrect detection of O_CLOEXEC flag on darwin 2017-02-18 16:14:15 +00:00
sys_freebsd.go
sys_linux.go
sys_nacl.go
sys_plan9.go
sys_solaris.go
sys_unix.go
sys_windows.go all: fix article typos 2017-09-15 02:39:16 +00:00
sys.go
timeout_test.go os: add deadline methods for File type 2017-10-25 18:27:06 +00:00
types_plan9.go
types_unix.go os: fix race between file I/O and Close 2017-04-25 13:58:24 +00:00
types_windows.go os: avoid calulating fileStat.path until it is needed 2017-05-09 04:47:47 +00:00
types.go os: add documentation for Windows users 2017-06-30 01:36:38 +00:00
wait_unimp.go os: don't use waitid on Darwin 2017-03-01 02:02:40 +00:00
wait_wait6.go
wait_waitid.go os: align siginfo argument to waitid 2017-06-23 17:02:41 +00:00