golang/src/internal/poll
Cherry Mui 41aab30bd2 all: add push linknames to allow legacy pull linknames
CL 585358 adds restrictions to disallow pull-only linknames
(currently off by default). Currently, there are quite some pull-
only linknames in user code in the wild. In order not to break
those, we add push linknames to allow them to be pulled. This CL
includes linknames found in a large code corpus (thanks Matthew
Dempsky and Michael Pratt for the analysis!), that are not
currently linknamed.

Updates #67401.

Change-Id: I32f5fc0c7a6abbd7a11359a025cfa2bf458fe767
Reviewed-on: https://go-review.googlesource.com/c/go/+/586137
Reviewed-by: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-05-17 16:48:00 +00:00
..
badlinkname.go all: add push linknames to allow legacy pull linknames 2024-05-17 16:48:00 +00:00
copy_file_range_linux.go internal/poll: eliminate the redundant conditional branch for isKernelVersionGE53 2024-04-04 17:40:10 +00:00
errno_unix.go runtime: implement wasip1 netpoll 2023-05-25 00:12:40 +00:00
errno_windows.go internal: fix a few function names on comments 2022-09-30 16:39:12 +00:00
error_linux_test.go runtime, internal/poll, net: report event scanning error on read event 2019-03-13 08:53:02 +00:00
error_stub_test.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
error_test.go all: update references to symbols moved from os to io/fs 2020-10-20 02:32:42 +00:00
export_linux_test.go internal/poll: implement a pipe pool for splice() call 2021-03-10 03:52:48 +00:00
export_posix_test.go all: use new "unix" build tag where appropriate 2022-03-29 16:24:51 +00:00
export_test.go os: use poll.fdMutex for Plan 9 files 2022-10-08 03:57:40 +00:00
export_windows_test.go internal/poll: add tests for Windows file and serial ports 2017-08-11 04:10:13 +00:00
fd.go net,os: arrange zero-copy of os.File and net.TCPConn to net.UnixConn 2023-11-17 23:16:28 +00:00
fd_fsync_darwin.go internal/poll: change Fsync to fallback to syscall.Fsync on darwin 2024-03-07 19:20:48 +00:00
fd_fsync_posix.go internal: add wasip1 support 2023-04-07 23:34:17 +00:00
fd_fsync_windows.go syscall: implement syscalls on Darwin using libSystem 2018-11-07 20:27:01 +00:00
fd_io_plan9.go all: add internal/itoa package 2021-03-14 17:56:50 +00:00
fd_mutex.go internal/poll: better panic message for lock overflow 2018-06-20 16:55:30 +00:00
fd_mutex_test.go os: use poll.fdMutex for Plan 9 files 2022-10-08 03:57:40 +00:00
fd_opendir_darwin.go all: separate doc comment from //go: directives 2022-04-05 17:54:15 +00:00
fd_plan9.go all: make use of stringslite.{HasPrefix, HasSuffix} 2024-05-06 14:00:54 +00:00
fd_poll_js.go runtime: implement wasip1 netpoll 2023-05-25 00:12:40 +00:00
fd_poll_runtime.go runtime: implement wasip1 netpoll 2023-05-25 00:12:40 +00:00
fd_posix.go internal: add wasip1 support 2023-04-07 23:34:17 +00:00
fd_posix_test.go all: use new "unix" build tag where appropriate 2022-03-29 16:24:51 +00:00
fd_unix.go internal/poll: better panic for invalid write return value 2024-04-11 00:32:52 +00:00
fd_unixjs.go net: implement wasip1 FileListener and FileConn 2023-05-25 00:12:41 +00:00
fd_wasip1.go internal/poll: use internal/byteorder 2024-05-14 20:14:02 +00:00
fd_windows.go runtime/debug: SetCrashOutput sets the FD for fatal panics 2024-01-31 16:50:42 +00:00
fd_windows_test.go runtime: make netpoll events sources identifiable on Windows 2024-02-14 08:33:36 +00:00
fd_writev_libc.go internal/poll, internal/syscall/unix, syscall: move writev definition for solaris 2022-10-07 16:48:38 +00:00
fd_writev_unix.go internal/poll, syscall: convert writev to direct libc call on openbsd (except mips64) 2022-09-09 16:24:04 +00:00
file_plan9.go os: use poll.fdMutex for Plan 9 files 2022-10-08 03:57:40 +00:00
hook_cloexec.go internal/poll, net, syscall: use accept4 on solaris 2022-05-03 14:38:32 +00:00
hook_unix.go internal: add wasip1 support 2023-04-07 23:34:17 +00:00
hook_windows.go internal/poll: code cleanup 2017-03-07 21:54:36 +00:00
iovec_solaris.go internal/poll, internal/syscall/unix, net: enable writev on solaris 2022-09-06 18:06:02 +00:00
iovec_unix.go internal/poll, net, syscall: enable writev on aix 2022-10-07 16:48:35 +00:00
read_test.go all: update to use os.ReadFile, os.WriteFile, os.CreateTemp, os.MkdirTemp 2020-12-09 19:12:23 +00:00
sendfile.go net, os, internal/poll: test for use of sendfile 2024-04-26 18:12:56 +00:00
sendfile_bsd.go net, os, internal/poll: test for use of sendfile 2024-04-26 18:12:56 +00:00
sendfile_linux.go net, os, internal/poll: test for use of sendfile 2024-04-26 18:12:56 +00:00
sendfile_solaris.go net, os, internal/poll: test for use of sendfile 2024-04-26 18:12:56 +00:00
sendfile_windows.go net, os, internal/poll: test for use of sendfile 2024-04-26 18:12:56 +00:00
sock_cloexec.go net: separate the Solaris fast/slow path of setting SOCK_* from others 2024-04-14 18:17:25 +00:00
sock_cloexec_accept.go syscall, internal/poll: fall back to accept on linux-arm 2022-12-16 03:40:42 +00:00
sock_cloexec_solaris.go net: separate the Solaris fast/slow path of setting SOCK_* from others 2024-04-14 18:17:25 +00:00
sockopt.go internal/poll: add GetsockoptInt 2023-04-18 13:44:49 +00:00
sockopt_linux.go internal/poll: rename RecvFrom to ReadFrom for consistency 2017-04-13 03:26:58 +00:00
sockopt_unix.go all: use new "unix" build tag where appropriate 2022-03-29 16:24:51 +00:00
sockopt_windows.go internal/poll, net: use (*FD).SetsockoptInet4Addr in setIPv4MulticastInterface on windows 2023-08-30 19:09:46 +00:00
sockoptip.go all: use new "unix" build tag where appropriate 2022-03-29 16:24:51 +00:00
splice_linux.go internal/poll, net, os: remove poll.Splice syscall name return value 2024-04-02 21:49:26 +00:00
splice_linux_test.go internal/poll, net, os: remove poll.Splice syscall name return value 2024-04-02 21:49:26 +00:00
sys_cloexec.go internal: add wasip1 support 2023-04-07 23:34:17 +00:00
writev.go all: make use of builtin clear 2024-03-27 18:23:49 +00:00
writev_test.go