sys/unix
Alexander Neumann 9eef40adf0 unix: Add FADV_* constants
These constants are used for fadvise() on Linux and were missing from
the ztypes_linux_*.go files.

Including the bluetooth headers is necessary so that cgo can resolve
struct sockaddr_hci.

Fixes golang/go#15114

Change-Id: I1538b5a7b9b24f910c0520d446b2fa5bd8a09013
Reviewed-on: https://go-review.googlesource.com/21753
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-04-09 16:46:36 +00:00
..
.gitignore x/sys/unix: use xcrun to find OS X and iOS SDKs in mkall.sh. 2015-09-02 01:15:37 +00:00
asm.s unix: add gccgo support 2015-05-07 23:38:20 +00:00
asm_darwin_386.s unix: add gccgo support 2015-05-07 23:38:20 +00:00
asm_darwin_amd64.s unix: add gccgo support 2015-05-07 23:38:20 +00:00
asm_darwin_arm.s unix: add darwin/arm support 2015-05-18 19:16:10 +00:00
asm_darwin_arm64.s unix: add darwin/arm64 support 2015-05-18 19:16:22 +00:00
asm_dragonfly_386.s unix: add gccgo support 2015-05-07 23:38:20 +00:00
asm_dragonfly_amd64.s unix: add gccgo support 2015-05-07 23:38:20 +00:00
asm_freebsd_386.s unix: add gccgo support 2015-05-07 23:38:20 +00:00
asm_freebsd_amd64.s unix: add gccgo support 2015-05-07 23:38:20 +00:00
asm_freebsd_arm.s unix: add gccgo support 2015-05-07 23:38:20 +00:00
asm_linux_386.s unix: add gccgo support 2015-05-07 23:38:20 +00:00
asm_linux_amd64.s unix: add gccgo support 2015-05-07 23:38:20 +00:00
asm_linux_arm.s unix: add gccgo support 2015-05-07 23:38:20 +00:00
asm_linux_arm64.s unix: add explicit build tags 2015-05-18 19:15:57 +00:00
asm_linux_mips64x.s x/sys/unix: added linux/mips64{,le} support 2016-02-28 04:28:12 +00:00
asm_linux_ppc64x.s unix: add ppc64le/linux support 2015-05-14 00:30:18 +00:00
asm_netbsd_386.s unix: add gccgo support 2015-05-07 23:38:20 +00:00
asm_netbsd_amd64.s unix: add gccgo support 2015-05-07 23:38:20 +00:00
asm_netbsd_arm.s unix: add gccgo support 2015-05-07 23:38:20 +00:00
asm_openbsd_386.s unix: add gccgo support 2015-05-07 23:38:20 +00:00
asm_openbsd_amd64.s unix: add gccgo support 2015-05-07 23:38:20 +00:00
asm_solaris_amd64.s unix: update to use direct linking on Solaris 2015-08-19 10:26:52 +00:00
bluetooth_linux.go syscall: add bluetooth constants for linux 2016-04-08 01:02:42 +00:00
constants.go unix: Add [RWX]_OK constants for Access 2015-03-20 06:12:11 +00:00
creds_test.go unix: fix TestSCMCredentials 2015-05-12 03:31:30 +00:00
env_unix.go go.sys/unix: implement the environment functions by wrapping syscall 2014-08-13 09:00:28 -07:00
env_unset.go go.sys: add Unsetenv 2014-10-01 12:10:37 -07:00
export_test.go unix: include export_test.go only during unix build 2015-05-14 06:54:30 +00:00
flock.go go.sys: fix imports to cgc/p/go.sys, add build tags 2014-08-12 22:59:00 -07:00
flock_linux_32bit.go go.sys: update package names 2014-08-11 15:58:26 -07:00
gccgo.go unix: add Syscall9 for gccgo 2015-05-12 03:04:57 +00:00
gccgo_c.c unix: add Syscall9 for gccgo 2015-05-12 03:04:57 +00:00
gccgo_linux_amd64.go unix: add gccgo support 2015-05-07 23:38:20 +00:00
mkall.sh x/sys/unix: use xcrun to find OS X and iOS SDKs in mkall.sh. 2015-09-02 01:15:37 +00:00
mkerrors.sh unix: additional termios-related constants 2015-11-23 20:52:33 +00:00
mksyscall.pl unix: emit +build comments in generator scripts 2015-05-15 01:18:51 +00:00
mksyscall_solaris.pl unix: add various missing syscalls available on Linux 2015-09-17 18:12:33 +00:00
mksysctl_openbsd.pl unix: emit +build comments in generator scripts 2015-05-15 01:18:51 +00:00
mksysnum_darwin.pl unix: emit +build comments in generator scripts 2015-05-15 01:18:51 +00:00
mksysnum_dragonfly.pl unix: emit +build comments in generator scripts 2015-05-15 01:18:51 +00:00
mksysnum_freebsd.pl unix: emit +build comments in generator scripts 2015-05-15 01:18:51 +00:00
mksysnum_linux.pl unix: emit +build comments in generator scripts 2015-05-15 01:18:51 +00:00
mksysnum_netbsd.pl unix: emit +build comments in generator scripts 2015-05-15 01:18:51 +00:00
mksysnum_openbsd.pl unix: emit +build comments in generator scripts 2015-05-15 01:18:51 +00:00
mmap_unix_test.go unix: add solaris to mmap test 2015-08-21 20:53:45 +00:00
race.go go.sys/unix: add asm hooks for solaris to runtime-resident syscall help 2014-08-13 20:54:29 -07:00
race0.go go.sys/unix: add asm hooks for solaris to runtime-resident syscall help 2014-08-13 20:54:29 -07:00
sockcmsg_linux.go go.sys: update package names 2014-08-11 15:58:26 -07:00
sockcmsg_unix.go unix: fix vet warning in UnixRights 2015-10-09 04:16:36 +00:00
str.go unix: fix infinite recursion in itoa 2015-05-13 20:12:53 +00:00
syscall.go unix: make TimevalToNsec available everywhere 2016-03-22 23:22:43 +00:00
syscall_bsd.go unix: add custom Sysctl args and methods SysctlUint64, SysctlRaw 2015-10-29 18:30:43 +00:00
syscall_bsd_test.go unix: skip broken test on OpenBSD 2016-02-04 22:58:17 +00:00
syscall_darwin.go unix: change Dup,Dup2,Dup3 to use Syscall, not RawSyscall 2015-03-26 17:59:35 +00:00
syscall_darwin_386.go unix: make TimevalToNsec available everywhere 2016-03-22 23:22:43 +00:00
syscall_darwin_amd64.go unix: make TimevalToNsec available everywhere 2016-03-22 23:22:43 +00:00
syscall_darwin_arm.go unix: make TimevalToNsec available everywhere 2016-03-22 23:22:43 +00:00
syscall_darwin_arm64.go unix: make TimevalToNsec available everywhere 2016-03-22 23:22:43 +00:00
syscall_dragonfly.go unix: change Dup,Dup2,Dup3 to use Syscall, not RawSyscall 2015-03-26 17:59:35 +00:00
syscall_dragonfly_386.go unix: make TimevalToNsec available everywhere 2016-03-22 23:22:43 +00:00
syscall_dragonfly_amd64.go unix: make TimevalToNsec available everywhere 2016-03-22 23:22:43 +00:00
syscall_freebsd.go unix: Added posix_fadvise support for Linux and FreeBSD 2015-03-27 16:47:22 +00:00
syscall_freebsd_386.go unix: make TimevalToNsec available everywhere 2016-03-22 23:22:43 +00:00
syscall_freebsd_amd64.go unix: make TimevalToNsec available everywhere 2016-03-22 23:22:43 +00:00
syscall_freebsd_arm.go unix: make TimevalToNsec available everywhere 2016-03-22 23:22:43 +00:00
syscall_freebsd_test.go unix: skip failing test on freebsd-386 2016-04-08 01:25:32 +00:00
syscall_linux.go unix: add sockaddr_hci support for linux. 2016-04-08 05:48:20 +00:00
syscall_linux_386.go unix: make TimevalToNsec available everywhere 2016-03-22 23:22:43 +00:00
syscall_linux_amd64.go unix: make TimevalToNsec available everywhere 2016-03-22 23:22:43 +00:00
syscall_linux_arm.go x/sys/unix: fix invalid syscall on linux/arm 2016-02-28 22:21:53 +00:00
syscall_linux_arm64.go unix: make TimevalToNsec available everywhere 2016-03-22 23:22:43 +00:00
syscall_linux_mips64x.go unix: make TimevalToNsec available everywhere 2016-03-22 23:22:43 +00:00
syscall_linux_ppc64x.go unix: make TimevalToNsec available everywhere 2016-03-22 23:22:43 +00:00
syscall_linux_test.go x/sys/unix: fix invalid syscall on linux/arm 2016-02-28 22:21:53 +00:00
syscall_netbsd.go unix: change Dup,Dup2,Dup3 to use Syscall, not RawSyscall 2015-03-26 17:59:35 +00:00
syscall_netbsd_386.go unix: make TimevalToNsec available everywhere 2016-03-22 23:22:43 +00:00
syscall_netbsd_amd64.go unix: make TimevalToNsec available everywhere 2016-03-22 23:22:43 +00:00
syscall_netbsd_arm.go unix: make TimevalToNsec available everywhere 2016-03-22 23:22:43 +00:00
syscall_no_getwd.go go.sys: update package names 2014-08-11 15:58:26 -07:00
syscall_openbsd.go unix: change Dup,Dup2,Dup3 to use Syscall, not RawSyscall 2015-03-26 17:59:35 +00:00
syscall_openbsd_386.go unix: make TimevalToNsec available everywhere 2016-03-22 23:22:43 +00:00
syscall_openbsd_amd64.go unix: make TimevalToNsec available everywhere 2016-03-22 23:22:43 +00:00
syscall_solaris.go unix: add flags parameter to Unlinkat 2016-01-27 15:07:42 +00:00
syscall_solaris_amd64.go unix: make TimevalToNsec available everywhere 2016-03-22 23:22:43 +00:00
syscall_test.go unix: fix infinite recursion in itoa 2015-05-13 20:12:53 +00:00
syscall_unix.go unix: don't allocate putting common errno values in error interfaces 2015-03-27 16:15:35 +00:00
syscall_unix_test.go x/sys/unix: add Dup2 wrapper for arm64/ppc64 2016-03-15 15:33:18 +00:00
types_darwin.go x/sys/unix: expose fchmodat(2) and related constants on darwin/amd64 2015-09-02 01:16:36 +00:00
types_dragonfly.go go.sys: update package names 2014-08-11 15:58:26 -07:00
types_freebsd.go unix: Added posix_fadvise support for Linux and FreeBSD 2015-03-27 16:47:22 +00:00
types_linux.go unix: Add FADV_* constants 2016-04-09 16:46:36 +00:00
types_netbsd.go go.sys: update package names 2014-08-11 15:58:26 -07:00
types_openbsd.go go.sys: update package names 2014-08-11 15:58:26 -07:00
types_solaris.go x/sys/unix: add type specific ioctl functions for termios on solaris 2015-09-24 17:12:55 +00:00
zerrors_darwin_386.go x/sys/unix: regenerate darwin/386 outputs 2015-09-01 16:49:45 +00:00
zerrors_darwin_amd64.go x/sys/unix: regenerate darwin/amd64 outputs with the latest SDK 2015-08-31 01:45:38 +00:00
zerrors_darwin_arm.go unix: add darwin/arm support 2015-05-18 19:16:10 +00:00
zerrors_darwin_arm64.go x/sys/unix: regenerate darwin/arm64 outputs with the latest SDK 2015-09-01 13:17:12 +00:00
zerrors_dragonfly_386.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zerrors_dragonfly_amd64.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zerrors_freebsd_386.go unix: update FreeBSD generated types and errors 2015-09-25 17:03:07 +00:00
zerrors_freebsd_amd64.go unix: update FreeBSD generated types and errors 2015-09-25 17:03:07 +00:00
zerrors_freebsd_arm.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zerrors_linux_386.go x/sys/unix: add support for O_TMPFILE in Linux 2016-03-22 23:15:03 +00:00
zerrors_linux_amd64.go x/sys/unix: add support for O_TMPFILE in Linux 2016-03-22 23:15:03 +00:00
zerrors_linux_arm.go unix: additional termios-related constants 2015-11-23 20:52:33 +00:00
zerrors_linux_arm64.go unix: additional termios-related constants 2015-11-23 20:52:33 +00:00
zerrors_linux_mips64.go x/sys/unix: added linux/mips64{,le} support 2016-02-28 04:28:12 +00:00
zerrors_linux_mips64le.go x/sys/unix: added linux/mips64{,le} support 2016-02-28 04:28:12 +00:00
zerrors_linux_ppc64.go unix: additional termios-related constants 2015-11-23 20:52:33 +00:00
zerrors_linux_ppc64le.go unix: additional termios-related constants 2015-11-23 20:52:33 +00:00
zerrors_netbsd_386.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zerrors_netbsd_amd64.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zerrors_netbsd_arm.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zerrors_openbsd_386.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zerrors_openbsd_amd64.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zerrors_solaris_amd64.go x/sys/unix: add type specific ioctl functions for termios on solaris 2015-09-24 17:12:55 +00:00
zsyscall_darwin_386.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zsyscall_darwin_amd64.go x/sys/unix: expose fchmodat(2) and related constants on darwin/amd64 2015-09-02 01:16:36 +00:00
zsyscall_darwin_arm.go unix: add darwin/arm support 2015-05-18 19:16:10 +00:00
zsyscall_darwin_arm64.go unix: add darwin/arm64 support 2015-05-18 19:16:22 +00:00
zsyscall_dragonfly_386.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zsyscall_dragonfly_amd64.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zsyscall_freebsd_386.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zsyscall_freebsd_amd64.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zsyscall_freebsd_arm.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zsyscall_linux_386.go x/sys/unix: add support for O_TMPFILE in Linux 2016-03-22 23:15:03 +00:00
zsyscall_linux_amd64.go x/sys/unix: add support for O_TMPFILE in Linux 2016-03-22 23:15:03 +00:00
zsyscall_linux_arm.go x/sys/unix: add support for O_TMPFILE in Linux 2016-03-22 23:15:03 +00:00
zsyscall_linux_arm64.go x/sys/unix: add support for O_TMPFILE in Linux 2016-03-22 23:15:03 +00:00
zsyscall_linux_mips64.go x/sys/unix: add support for O_TMPFILE in Linux 2016-03-22 23:15:03 +00:00
zsyscall_linux_mips64le.go x/sys/unix: add support for O_TMPFILE in Linux 2016-03-22 23:15:03 +00:00
zsyscall_linux_ppc64.go x/sys/unix: add support for O_TMPFILE in Linux 2016-03-22 23:15:03 +00:00
zsyscall_linux_ppc64le.go x/sys/unix: add support for O_TMPFILE in Linux 2016-03-22 23:15:03 +00:00
zsyscall_netbsd_386.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zsyscall_netbsd_amd64.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zsyscall_netbsd_arm.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zsyscall_openbsd_386.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zsyscall_openbsd_amd64.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zsyscall_solaris_amd64.go unix: add flags parameter to Unlinkat 2016-01-27 15:07:42 +00:00
zsysctl_openbsd.go go.sys: update package names 2014-08-11 15:58:26 -07:00
zsysnum_darwin_386.go x/sys/unix: regenerate darwin/386 outputs 2015-09-01 16:49:45 +00:00
zsysnum_darwin_amd64.go x/sys/unix: remove the SYS___SYSCTL manual edit for darwin/amd64. 2015-08-31 05:03:18 +00:00
zsysnum_darwin_arm.go unix: add darwin/arm support 2015-05-18 19:16:10 +00:00
zsysnum_darwin_arm64.go x/sys/unix: use xcrun to find OS X and iOS SDKs in mkall.sh. 2015-09-02 01:15:37 +00:00
zsysnum_dragonfly_386.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zsysnum_dragonfly_amd64.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zsysnum_freebsd_386.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zsysnum_freebsd_amd64.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zsysnum_freebsd_arm.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zsysnum_linux_386.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zsysnum_linux_amd64.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zsysnum_linux_arm.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zsysnum_linux_arm64.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zsysnum_linux_mips64.go x/sys/unix: added linux/mips64{,le} support 2016-02-28 04:28:12 +00:00
zsysnum_linux_mips64le.go x/sys/unix: added linux/mips64{,le} support 2016-02-28 04:28:12 +00:00
zsysnum_linux_ppc64.go unix: add ppc64/linux support 2015-05-17 01:16:40 +00:00
zsysnum_linux_ppc64le.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zsysnum_netbsd_386.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zsysnum_netbsd_amd64.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zsysnum_netbsd_arm.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zsysnum_openbsd_386.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zsysnum_openbsd_amd64.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
zsysnum_solaris_amd64.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
ztypes_darwin_386.go x/sys/unix: regenerate darwin/386 outputs 2015-09-01 16:49:45 +00:00
ztypes_darwin_amd64.go x/sys/unix: expose fchmodat(2) and related constants on darwin/amd64 2015-09-02 01:16:36 +00:00
ztypes_darwin_arm.go unix: add darwin/arm support 2015-05-18 19:16:10 +00:00
ztypes_darwin_arm64.go x/sys/unix: regenerate darwin/arm64 outputs with the latest SDK 2015-09-01 13:17:12 +00:00
ztypes_dragonfly_386.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
ztypes_dragonfly_amd64.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
ztypes_freebsd_386.go unix: update FreeBSD generated types and errors 2015-09-25 17:03:07 +00:00
ztypes_freebsd_amd64.go unix: update FreeBSD generated types and errors 2015-09-25 17:03:07 +00:00
ztypes_freebsd_arm.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
ztypes_linux_386.go unix: Add FADV_* constants 2016-04-09 16:46:36 +00:00
ztypes_linux_amd64.go unix: Add FADV_* constants 2016-04-09 16:46:36 +00:00
ztypes_linux_arm.go unix: add sockaddr_hci support for linux. 2016-04-08 05:48:20 +00:00
ztypes_linux_arm64.go unix: add sockaddr_hci support for linux. 2016-04-08 05:48:20 +00:00
ztypes_linux_mips64.go unix: add sockaddr_hci support for linux. 2016-04-08 05:48:20 +00:00
ztypes_linux_mips64le.go unix: add sockaddr_hci support for linux. 2016-04-08 05:48:20 +00:00
ztypes_linux_ppc64.go unix: add sockaddr_hci support for linux. 2016-04-08 05:48:20 +00:00
ztypes_linux_ppc64le.go unix: add sockaddr_hci support for linux. 2016-04-08 05:48:20 +00:00
ztypes_netbsd_386.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
ztypes_netbsd_amd64.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
ztypes_netbsd_arm.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
ztypes_openbsd_386.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
ztypes_openbsd_amd64.go unix: add explicit build tags 2015-05-18 19:15:57 +00:00
ztypes_solaris_amd64.go x/sys/unix: add type specific ioctl functions for termios on solaris 2015-09-24 17:12:55 +00:00