1
0
mirror of https://github.com/golang/go synced 2024-10-04 08:21:22 -06:00
go/src/pkg/syscall
Benny Siegert 677cdb800d syscall: use pipe instead of pipe2 on NetBSD
pipe2 is equivalent to pipe with flags set to 0.
However, pipe2 was only added recently. Using pipe
instead improves compatibility with NetBSD 5.

R=jsing
CC=golang-dev
https://golang.org/cl/6268045
2012-06-05 01:29:34 +10:00
..
asm_darwin_386.s syscall: add Mmap, Munmap on Linux, FreeBSD, OS X 2011-04-06 17:52:02 -04:00
asm_darwin_amd64.s syscall: Permit non-blocking syscalls. 2011-03-16 19:03:01 -07:00
asm_freebsd_386.s syscall: freebsd/386 Syscall9 (fix build) 2011-04-07 15:35:04 -04:00
asm_freebsd_amd64.s syscall: Permit non-blocking syscalls. 2011-03-16 19:03:01 -07:00
asm_linux_386.s runtime, syscall: use the vdso page on linux x86 for faster syscalls instead of int $0x80. 2011-08-29 10:36:06 -04:00
asm_linux_amd64.s syscall: Permit non-blocking syscalls. 2011-03-16 19:03:01 -07:00
asm_linux_arm.s syscall: Permit non-blocking syscalls. 2011-03-16 19:03:01 -07:00
asm_netbsd_386.s syscall: Changes to the syscall package to support NetBSD. 2011-12-20 03:57:58 +11:00
asm_netbsd_amd64.s syscall: Changes to the syscall package to support NetBSD. 2011-12-20 03:57:58 +11:00
asm_openbsd_386.s syscall: add openbsd 386 2011-08-29 10:04:28 -04:00
asm_openbsd_amd64.s syscall: openbsd amd64 syscall support 2011-08-22 23:24:32 -04:00
asm_plan9_386.s syscall: cleanly exit all Go procs on Plan 9 2012-04-19 16:31:26 -07:00
asm_windows_386.s syscall: rearrange windows code so 386 and amd64 can share files 2011-07-07 10:40:45 +10:00
asm_windows_amd64.s syscall: rearrange windows code so 386 and amd64 can share files 2011-07-07 10:40:45 +10:00
bpf_bsd.go syscall: Changes to the syscall package to support NetBSD. 2011-12-20 03:57:58 +11:00
dll_windows.go syscall: return error, not uintptr, when function returns error 2011-12-08 12:07:21 +11:00
env_plan9.go syscall: cache environment variables on Plan 9. 2012-01-31 18:14:02 -08:00
env_unix.go syscall: make Environ return original order 2012-01-09 16:51:20 -08:00
env_windows.go syscall: make windows build again after d3963c0fca78 change 2011-11-15 12:48:22 -05:00
exec_bsd.go os,syscall: fix windows build 2012-02-11 08:47:19 +11:00
exec_linux.go syscall: Make Pdeathsig type Signal in SysProcAttr on Linux. 2012-02-14 21:31:20 -08:00
exec_plan9.go syscall: fix a number of exec bugs on Plan 9 2012-04-26 02:59:13 -07:00
exec_unix.go os,syscall: fix windows build 2012-02-11 08:47:19 +11:00
exec_windows.go os/signal: run windows TestCtrlBreak during build 2012-05-02 17:05:52 +10:00
lsf_linux.go syscall: use error 2011-11-13 22:44:52 -05:00
mkall.sh syscall: fix mkall.sh, mksyscall_linux.pl, and regen for Linux/ARM 2012-03-06 03:12:11 +08:00
mkerrors_windows.sh syscall: make windows build again after d3963c0fca78 change 2011-11-15 12:48:22 -05:00
mkerrors.sh syscall: implement nametomib() on netbsd 2012-05-23 01:33:48 +10:00
mksyscall_windows.pl syscall: allow for mksyscall_windows.pl to be used outside of syscall 2011-12-09 11:12:03 +11:00
mksyscall.pl syscall: fix mkall.sh, mksyscall_linux.pl, and regen for Linux/ARM 2012-03-06 03:12:11 +08:00
mksysctl_openbsd.pl syscall: implement nametomib for openbsd. 2011-11-17 23:13:49 +11:00
mksysnum_darwin.pl syscall: use strict in perl scripts 2011-06-15 17:41:07 -07:00
mksysnum_freebsd.pl syscall: use strict in perl scripts 2011-06-15 17:41:07 -07:00
mksysnum_linux.pl fix build for Linux/ARM. 2012-02-13 20:16:57 -05:00
mksysnum_netbsd.pl syscall: Changes to the syscall package to support NetBSD. 2011-12-20 03:57:58 +11:00
mksysnum_openbsd.pl syscall: openbsd amd64 syscall support 2011-08-22 23:24:32 -04:00
mksysnum_plan9.sh R=rsc, brainman, ality, r2, r 2011-04-02 14:24:03 -07:00
netlink_linux.go syscall, net: use native endianness for Linux netlink messages 2012-04-04 17:41:36 -07:00
passfd_test.go syscall: add a test for passing an fd over a unix socket 2012-04-30 15:31:14 +10:00
route_bsd.go net, syscall: interface address and mask 2011-12-21 21:39:00 +09:00
route_darwin.go syscall: use error 2011-11-13 22:44:52 -05:00
route_freebsd.go syscall: use error 2011-11-13 22:44:52 -05:00
route_netbsd.go syscall: Changes to the syscall package to support NetBSD. 2011-12-20 03:57:58 +11:00
route_openbsd.go syscall: openbsd amd64 syscall support 2011-08-22 23:24:32 -04:00
security_windows.go os/user: windows implementation 2012-01-30 22:59:10 +11:00
sockcmsg_linux.go syscall: use error 2011-11-13 22:44:52 -05:00
sockcmsg_unix.go syscall: Changes to the syscall package to support NetBSD. 2011-12-20 03:57:58 +11:00
str.go R=rsc, brainman, ality, r2, r 2011-04-02 14:24:03 -07:00
syscall_bsd.go syscall: remove sysctl workaround for openbsd 2012-04-27 01:45:15 +10:00
syscall_darwin_386.go syscall: use error 2011-11-13 22:44:52 -05:00
syscall_darwin_amd64.go syscall: use error 2011-11-13 22:44:52 -05:00
syscall_darwin.go os/signal: selective signal handling 2012-02-13 13:52:37 -05:00
syscall_freebsd_386.go syscall: use error 2011-11-13 22:44:52 -05:00
syscall_freebsd_amd64.go syscall: add socket control message support for darwin, freebsd, linux 2011-06-20 18:40:20 -04:00
syscall_freebsd.go syscall: update BSD variants to sync with new os/signal 2012-02-14 11:20:39 +09:00
syscall_linux_386.go syscall: use error 2011-11-13 22:44:52 -05:00
syscall_linux_amd64.go syscall: use error 2011-11-13 22:44:52 -05:00
syscall_linux_arm.go syscall: fix 32-bit uid calls 2012-06-03 06:49:57 +08:00
syscall_linux.go all: various typos 2012-03-13 17:29:07 -07:00
syscall_netbsd_386.go os/syscall: correct netbsd types/names 2012-05-15 12:00:13 +10:00
syscall_netbsd_amd64.go os/syscall: correct netbsd types/names 2012-05-15 12:00:13 +10:00
syscall_netbsd.go syscall: use pipe instead of pipe2 on NetBSD 2012-06-05 01:29:34 +10:00
syscall_openbsd_386.go syscall: add openbsd 386 2011-08-29 10:04:28 -04:00
syscall_openbsd_amd64.go syscall: openbsd amd64 syscall support 2011-08-22 23:24:32 -04:00
syscall_openbsd.go syscall: update BSD variants to sync with new os/signal 2012-02-14 11:20:39 +09:00
syscall_plan9_386.go R=rsc, brainman, ality, r2, r 2011-04-02 14:24:03 -07:00
syscall_plan9.go syscall: remove the Signal type on Plan 9 2012-05-04 03:44:41 -07:00
syscall_unix.go syscall: fix bounds check in Error 2012-02-16 15:23:50 -05:00
syscall_windows_386.go syscall: rearrange windows code so 386 and amd64 can share files 2011-07-07 10:40:45 +10:00
syscall_windows_amd64.go syscall: rearrange windows code so 386 and amd64 can share files 2011-07-07 10:40:45 +10:00
syscall_windows_test.go syscall: correct Win32finddata definition 2012-06-03 19:27:17 +10:00
syscall_windows.go syscall: correct Win32finddata definition 2012-06-03 19:27:17 +10:00
syscall.go syscall: add Timeval.Nano, Timespec.Nano, for conversion to Duration 2012-02-06 18:04:12 -05:00
types_darwin.go syscall: add comment 2012-05-19 08:35:51 +09:00
types_freebsd.go syscall: fix // +build comments in types_*.go 2012-02-02 19:42:02 -05:00
types_linux.go syscall: fix // +build comments in types_*.go 2012-02-02 19:42:02 -05:00
types_netbsd.go syscall: implement nametomib() on netbsd 2012-05-23 01:33:48 +10:00
types_openbsd.go syscall: fix // +build comments in types_*.go 2012-02-02 19:42:02 -05:00
types_plan9.c syscall: ignore godefs input when building on Plan 9 2012-01-09 15:09:40 -08:00
zerrors_darwin_386.go syscall: add Termios support on darwin 2012-05-03 17:33:19 -04:00
zerrors_darwin_amd64.go syscall: add Termios support on darwin 2012-05-03 17:33:19 -04:00
zerrors_freebsd_386.go runtime, syscall: fix freebsd-386 build 2012-02-14 10:04:59 +11:00
zerrors_freebsd_amd64.go runtime, syscall: fix freebsd build 2012-02-14 09:29:51 +11:00
zerrors_linux_386.go os/signal: selective signal handling 2012-02-13 13:52:37 -05:00
zerrors_linux_amd64.go os/signal: selective signal handling 2012-02-13 13:52:37 -05:00
zerrors_linux_arm.go syscall: fix mkall.sh, mksyscall_linux.pl, and regen for Linux/ARM 2012-03-06 03:12:11 +08:00
zerrors_netbsd_386.go syscall: implement nametomib() on netbsd 2012-05-23 01:33:48 +10:00
zerrors_netbsd_amd64.go syscall: implement nametomib() on netbsd 2012-05-23 01:33:48 +10:00
zerrors_openbsd_386.go syscall: regenerate z-files for openbsd 2012-02-14 14:44:59 +09:00
zerrors_openbsd_amd64.go syscall: regenerate z-files for openbsd 2012-02-14 14:44:59 +09:00
zerrors_plan9_386.go syscall: remove the Signal type on Plan 9 2012-05-04 03:44:41 -07:00
zerrors_windows_386.go syscall: rearrange windows code so 386 and amd64 can share files 2011-07-07 10:40:45 +10:00
zerrors_windows_amd64.go syscall: rearrange windows code so 386 and amd64 can share files 2011-07-07 10:40:45 +10:00
zerrors_windows.go syscall: make windows build again after d3963c0fca78 change 2011-11-15 12:48:22 -05:00
zsyscall_darwin_386.go syscall: use error 2011-11-13 22:44:52 -05:00
zsyscall_darwin_amd64.go syscall: use error 2011-11-13 22:44:52 -05:00
zsyscall_freebsd_386.go os/signal: selective signal handling 2012-02-13 13:52:37 -05:00
zsyscall_freebsd_amd64.go os/signal: selective signal handling 2012-02-13 13:52:37 -05:00
zsyscall_linux_386.go syscall: linux Tgkill takes a Signal too 2012-02-14 13:07:14 -05:00
zsyscall_linux_amd64.go syscall: linux Tgkill takes a Signal too 2012-02-14 13:07:14 -05:00
zsyscall_linux_arm.go syscall: fix 32-bit uid calls 2012-06-03 06:49:57 +08:00
zsyscall_netbsd_386.go syscall: use pipe instead of pipe2 on NetBSD 2012-06-05 01:29:34 +10:00
zsyscall_netbsd_amd64.go syscall: use pipe instead of pipe2 on NetBSD 2012-06-05 01:29:34 +10:00
zsyscall_openbsd_386.go syscall: regenerate z-files for openbsd 2012-02-14 14:44:59 +09:00
zsyscall_openbsd_amd64.go syscall: regenerate z-files for openbsd 2012-02-14 14:44:59 +09:00
zsyscall_plan9_386.go syscall: fix for Plan 9 build 2011-11-21 09:55:15 -05:00
zsyscall_windows_386.go syscall: correct Win32finddata definition 2012-06-03 19:27:17 +10:00
zsyscall_windows_amd64.go syscall: correct Win32finddata definition 2012-06-03 19:27:17 +10:00
zsysctl_openbsd.go syscall: implement nametomib for openbsd. 2011-11-17 23:13:49 +11:00
zsysnum_darwin_386.go syscall: use error 2011-11-13 22:44:52 -05:00
zsysnum_darwin_amd64.go syscall: use error 2011-11-13 22:44:52 -05:00
zsysnum_freebsd_386.go syscall: regenerate z-files for darwin, freebsd 2011-12-13 10:27:23 +09:00
zsysnum_freebsd_amd64.go syscall: regenerate z-files for darwin, freebsd 2011-12-13 10:27:23 +09:00
zsysnum_linux_386.go os/signal: selective signal handling 2012-02-13 13:52:37 -05:00
zsysnum_linux_amd64.go os/signal: selective signal handling 2012-02-13 13:52:37 -05:00
zsysnum_linux_arm.go syscall: fix mkall.sh, mksyscall_linux.pl, and regen for Linux/ARM 2012-03-06 03:12:11 +08:00
zsysnum_netbsd_386.go syscall: Changes to the syscall package to support NetBSD. 2011-12-20 03:57:58 +11:00
zsysnum_netbsd_amd64.go syscall: Changes to the syscall package to support NetBSD. 2011-12-20 03:57:58 +11:00
zsysnum_openbsd_386.go syscall: regenerate z-files for openbsd 2012-02-14 14:44:59 +09:00
zsysnum_openbsd_amd64.go syscall: regenerate z-files for openbsd 2012-02-14 14:44:59 +09:00
zsysnum_plan9_386.go R=rsc, brainman, ality, r2, r 2011-04-02 14:24:03 -07:00
zsysnum_windows_386.go remove nacl 2010-12-15 11:49:23 -05:00
zsysnum_windows_amd64.go syscall: rearrange windows code so 386 and amd64 can share files 2011-07-07 10:40:45 +10:00
ztypes_darwin_386.go syscall: add Termios support on darwin 2012-05-03 17:33:19 -04:00
ztypes_darwin_amd64.go syscall: add Termios support on darwin 2012-05-03 17:33:19 -04:00
ztypes_freebsd_386.go syscall: regenerate z-files for freebsd, openbsd 2011-11-12 00:22:22 +09:00
ztypes_freebsd_amd64.go syscall: regenerate z-files for freebsd, openbsd 2011-11-12 00:22:22 +09:00
ztypes_linux_386.go syscall: add SUSv3 RLIMIT/RUSAGE constants 2011-11-19 15:17:40 +09:00
ztypes_linux_amd64.go syscall: add SUSv3 RLIMIT/RUSAGE constants 2011-11-19 15:17:40 +09:00
ztypes_linux_arm.go syscall: fix mkall.sh, mksyscall_linux.pl, and regen for Linux/ARM 2012-03-06 03:12:11 +08:00
ztypes_netbsd_386.go syscall: implement nametomib() on netbsd 2012-05-23 01:33:48 +10:00
ztypes_netbsd_amd64.go syscall: implement nametomib() on netbsd 2012-05-23 01:33:48 +10:00
ztypes_openbsd_386.go syscall: regenerate z-files for openbsd 2012-02-14 14:44:59 +09:00
ztypes_openbsd_amd64.go syscall: regenerate z-files for freebsd, openbsd 2011-11-12 00:22:22 +09:00
ztypes_plan9_386.go os: Plan 9, fix OpenFile & Chmod. Update tests. 2011-06-14 11:20:34 -04:00
ztypes_windows_386.go net: windows/amd64 port 2011-07-13 12:44:21 -07:00
ztypes_windows_amd64.go net: windows/amd64 port 2011-07-13 12:44:21 -07:00
ztypes_windows.go syscall: correct Win32finddata definition 2012-06-03 19:27:17 +10:00