sys/unix
Ian Lance Taylor 04f0f96bfa unix: move InotifyInit into GOARCH specific Linux files
This is a copy of http://golang.org/cl/9870 in the syscall package.

This is in preparation for arm64 support, as the arm64 Linux kernel
does not have an inotify_init system call, only inotify_init1.

Update golang/go#10150.

Change-Id: I9224a094af79adbb2f5714ad977b195d5a941eb0
Reviewed-on: https://go-review.googlesource.com/10036
Reviewed-by: Rob Pike <r@golang.org>
2015-05-13 22:15:23 +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_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_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: add gccgo support 2015-05-07 23:38:20 +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: fix infinite recursion in itoa 2015-05-13 20:12:53 +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 unix: fix uri for openbsd's syscall numbers 2014-12-22 04:34:25 +00:00
mkerrors.sh unix: add clock_gettime for Linux 2015-05-06 23:20:22 +00:00
mksyscall.pl unix: don't allocate putting common errno values in error interfaces 2015-03-27 16:15:35 +00:00
mksyscall_solaris.pl go.sys: use golang.org/x/... import paths 2014-11-10 08:56:17 +11:00
mksysctl_openbsd.pl go.sys: update package names 2014-08-11 15:58:26 -07:00
mksysnum_darwin.pl go.sys: update package names 2014-08-11 15:58:26 -07:00
mksysnum_dragonfly.pl go.sys: update package names 2014-08-11 15:58:26 -07:00
mksysnum_freebsd.pl go.sys: update package names 2014-08-11 15:58:26 -07:00
mksysnum_linux.pl go.sys: update package names 2014-08-11 15:58:26 -07:00
mksysnum_netbsd.pl go.sys: update package names 2014-08-11 15:58:26 -07:00
mksysnum_openbsd.pl go.sys: update package names 2014-08-11 15:58:26 -07:00
mmap_unix_test.go go.sys: use golang.org/x/... import paths 2014-11-10 08:56:17 +11: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
so_solaris.go go.sys/unix: use syscall.Errno for errors 2014-08-15 09:57:24 -07:00
sockcmsg_linux.go go.sys: update package names 2014-08-11 15:58:26 -07:00
sockcmsg_unix.go go.sys: update package names 2014-08-11 15:58:26 -07:00
str.go unix: fix infinite recursion in itoa 2015-05-13 20:12:53 +00:00
syscall.go sys: add import comments. 2014-12-09 22:46:33 +00:00
syscall_bsd.go go.sys/unix: undo CL 119530044's effects in go.sys for BSD 2014-09-16 10:39:57 -07:00
syscall_bsd_test.go go.sys: use golang.org/x/... import paths 2014-11-10 08:56:17 +11: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 go.sys/unix: use syscall.Errno for errors 2014-08-15 09:57:24 -07:00
syscall_darwin_amd64.go go.sys/unix: use syscall.Errno for errors 2014-08-15 09:57:24 -07: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 go.sys/unix: use syscall.Errno for errors 2014-08-15 09:57:24 -07:00
syscall_dragonfly_amd64.go go.sys/unix: use syscall.Errno for errors 2014-08-15 09:57:24 -07: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 go.sys/unix: use syscall.Errno for errors 2014-08-15 09:57:24 -07:00
syscall_freebsd_amd64.go go.sys/unix: use syscall.Errno for errors 2014-08-15 09:57:24 -07:00
syscall_freebsd_arm.go go.sys/unix: use syscall.Errno for errors 2014-08-15 09:57:24 -07:00
syscall_linux.go unix: move InotifyInit into GOARCH specific Linux files 2015-05-13 22:15:23 +00:00
syscall_linux_386.go unix: move InotifyInit into GOARCH specific Linux files 2015-05-13 22:15:23 +00:00
syscall_linux_amd64.go unix: move InotifyInit into GOARCH specific Linux files 2015-05-13 22:15:23 +00:00
syscall_linux_arm.go unix: move InotifyInit into GOARCH specific Linux files 2015-05-13 22:15:23 +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 go.sys: update package names 2014-08-11 15:58:26 -07:00
syscall_netbsd_amd64.go go.sys: update package names 2014-08-11 15:58:26 -07:00
syscall_netbsd_arm.go go.sys: update package names 2014-08-11 15:58:26 -07: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 go.sys: update package names 2014-08-11 15:58:26 -07:00
syscall_openbsd_amd64.go go.sys: update package names 2014-08-11 15:58:26 -07:00
syscall_solaris.go go.sys/unix: use syscall.Errno for errors 2014-08-15 09:57:24 -07:00
syscall_solaris_amd64.go go.sys: update package names 2014-08-11 15:58:26 -07: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 unix: add gccgo support 2015-05-07 23:38:20 +00:00
types_darwin.go go.sys: update package names 2014-08-11 15:58:26 -07: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/amd64: add Utimensat call, pass 0 for flags 2015-05-05 17:43:46 +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 go.sys: update package names 2014-08-11 15:58:26 -07:00
zerrors_darwin_386.go go.sys/unix: use syscall.Errno for errors 2014-08-15 09:57:24 -07:00
zerrors_darwin_amd64.go go.sys/unix: use "use" in syscall interface 2014-09-16 13:36:53 -07:00
zerrors_dragonfly_386.go go.sys/unix: use syscall.Errno for errors 2014-08-15 09:57:24 -07:00
zerrors_dragonfly_amd64.go go.sys/unix: use syscall.Errno for errors 2014-08-15 09:57:24 -07:00
zerrors_freebsd_386.go unix: Update zerrors and zsysnum on FreeBSD based on 10.1-RELEASE 2015-03-02 01:40:34 +00:00
zerrors_freebsd_amd64.go unix: Update zerrors and zsysnum on FreeBSD based on 10.1-RELEASE 2015-03-02 01:40:34 +00:00
zerrors_freebsd_arm.go unix: Update zerrors and zsysnum on FreeBSD based on 10.1-RELEASE 2015-03-02 01:40:34 +00:00
zerrors_linux_386.go unix: add clock_gettime for Linux 2015-05-06 23:20:22 +00:00
zerrors_linux_amd64.go unix: add clock_gettime for Linux 2015-05-06 23:20:22 +00:00
zerrors_linux_arm.go unix: add clock_gettime for Linux 2015-05-06 23:20:22 +00:00
zerrors_netbsd_386.go go.sys/unix: use syscall.Errno for errors 2014-08-15 09:57:24 -07:00
zerrors_netbsd_amd64.go go.sys/unix: use syscall.Errno for errors 2014-08-15 09:57:24 -07:00
zerrors_netbsd_arm.go go.sys/unix: use syscall.Errno for errors 2014-08-15 09:57:24 -07:00
zerrors_openbsd_386.go go.sys/unix: use syscall.Errno for errors 2014-08-15 09:57:24 -07:00
zerrors_openbsd_amd64.go go.sys/unix: use syscall.Errno for errors 2014-08-15 09:57:24 -07:00
zerrors_solaris_amd64.go go.sys/unix: use syscall.Errno for errors 2014-08-15 09:57:24 -07:00
zsyscall_darwin_386.go unix: don't allocate putting common errno values in error interfaces 2015-03-27 16:15:35 +00:00
zsyscall_darwin_amd64.go unix: don't allocate putting common errno values in error interfaces 2015-03-27 16:15:35 +00:00
zsyscall_dragonfly_386.go unix: don't allocate putting common errno values in error interfaces 2015-03-27 16:15:35 +00:00
zsyscall_dragonfly_amd64.go unix: don't allocate putting common errno values in error interfaces 2015-03-27 16:15:35 +00:00
zsyscall_freebsd_386.go unix: re-run mksyscall on freebsd and linux after previous merge 2015-03-27 17:05:09 +00:00
zsyscall_freebsd_amd64.go unix: re-run mksyscall on freebsd and linux after previous merge 2015-03-27 17:05:09 +00:00
zsyscall_freebsd_arm.go unix: re-run mksyscall on freebsd and linux after previous merge 2015-03-27 17:05:09 +00:00
zsyscall_linux_386.go unix: move InotifyInit into GOARCH specific Linux files 2015-05-13 22:15:23 +00:00
zsyscall_linux_amd64.go unix: move InotifyInit into GOARCH specific Linux files 2015-05-13 22:15:23 +00:00
zsyscall_linux_arm.go unix: move InotifyInit into GOARCH specific Linux files 2015-05-13 22:15:23 +00:00
zsyscall_netbsd_386.go unix: don't allocate putting common errno values in error interfaces 2015-03-27 16:15:35 +00:00
zsyscall_netbsd_amd64.go unix: don't allocate putting common errno values in error interfaces 2015-03-27 16:15:35 +00:00
zsyscall_netbsd_arm.go unix: don't allocate putting common errno values in error interfaces 2015-03-27 16:15:35 +00:00
zsyscall_openbsd_386.go unix: don't allocate putting common errno values in error interfaces 2015-03-27 16:15:35 +00:00
zsyscall_openbsd_amd64.go unix: don't allocate putting common errno values in error interfaces 2015-03-27 16:15:35 +00:00
zsyscall_solaris_amd64.go go.sys/unix: use "use" in syscall interface 2014-09-16 13:36:53 -07:00
zsysctl_openbsd.go go.sys: update package names 2014-08-11 15:58:26 -07:00
zsysnum_darwin_386.go go.sys: update package names 2014-08-11 15:58:26 -07:00
zsysnum_darwin_amd64.go go.sys: update package names 2014-08-11 15:58:26 -07:00
zsysnum_dragonfly_386.go go.sys: update package names 2014-08-11 15:58:26 -07:00
zsysnum_dragonfly_amd64.go go.sys: update package names 2014-08-11 15:58:26 -07:00
zsysnum_freebsd_386.go unix: Update zerrors and zsysnum on FreeBSD based on 10.1-RELEASE 2015-03-02 01:40:34 +00:00
zsysnum_freebsd_amd64.go unix: Update zerrors and zsysnum on FreeBSD based on 10.1-RELEASE 2015-03-02 01:40:34 +00:00
zsysnum_freebsd_arm.go unix: Update zerrors and zsysnum on FreeBSD based on 10.1-RELEASE 2015-03-02 01:40:34 +00:00
zsysnum_linux_386.go mksyscall.pl, types_linux.go: regenerate linux {386,amd64} files 2014-10-06 12:02:17 -07:00
zsysnum_linux_amd64.go mksyscall.pl, types_linux.go: regenerate linux {386,amd64} files 2014-10-06 12:02:17 -07:00
zsysnum_linux_arm.go go.sys: update package names 2014-08-11 15:58:26 -07:00
zsysnum_netbsd_386.go go.sys: update package names 2014-08-11 15:58:26 -07:00
zsysnum_netbsd_amd64.go go.sys: update package names 2014-08-11 15:58:26 -07:00
zsysnum_netbsd_arm.go go.sys: update package names 2014-08-11 15:58:26 -07:00
zsysnum_openbsd_386.go go.sys: update package names 2014-08-11 15:58:26 -07:00
zsysnum_openbsd_amd64.go go.sys: update package names 2014-08-11 15:58:26 -07:00
zsysnum_solaris_amd64.go go.sys: update package names 2014-08-11 15:58:26 -07:00
ztypes_darwin_386.go go.sys: update package names 2014-08-11 15:58:26 -07:00
ztypes_darwin_amd64.go go.sys: update package names 2014-08-11 15:58:26 -07:00
ztypes_dragonfly_386.go go.sys: update package names 2014-08-11 15:58:26 -07:00
ztypes_dragonfly_amd64.go go.sys: update package names 2014-08-11 15:58:26 -07:00
ztypes_freebsd_386.go go.sys: update package names 2014-08-11 15:58:26 -07:00
ztypes_freebsd_amd64.go go.sys: update package names 2014-08-11 15:58:26 -07:00
ztypes_freebsd_arm.go go.sys: update package names 2014-08-11 15:58:26 -07:00
ztypes_linux_386.go unix/amd64: add Utimensat call, pass 0 for flags 2015-05-05 17:43:46 +00:00
ztypes_linux_amd64.go unix/amd64: add Utimensat call, pass 0 for flags 2015-05-05 17:43:46 +00:00
ztypes_linux_arm.go unix/amd64: add Utimensat call, pass 0 for flags 2015-05-05 17:43:46 +00:00
ztypes_netbsd_386.go go.sys: update package names 2014-08-11 15:58:26 -07:00
ztypes_netbsd_amd64.go go.sys: update package names 2014-08-11 15:58:26 -07:00
ztypes_netbsd_arm.go go.sys: update package names 2014-08-11 15:58:26 -07:00
ztypes_openbsd_386.go go.sys: update package names 2014-08-11 15:58:26 -07:00
ztypes_openbsd_amd64.go go.sys: update package names 2014-08-11 15:58:26 -07:00
ztypes_solaris_amd64.go go.sys: update package names 2014-08-11 15:58:26 -07:00