mirror of
https://github.com/rwinkhart/sys.git
synced 2026-08-30 13:56:45 -04:00
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>
This commit is contained in:
committed by
Rob Pike
parent
44366790d7
commit
04f0f96bfa
@@ -88,6 +88,7 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
|
||||
//sysnb Geteuid() (euid int) = SYS_GETEUID32
|
||||
//sysnb Getgid() (gid int) = SYS_GETGID32
|
||||
//sysnb Getuid() (uid int) = SYS_GETUID32
|
||||
//sysnb InotifyInit() (fd int, err error)
|
||||
//sys Lchown(path string, uid int, gid int) (err error) = SYS_LCHOWN32
|
||||
//sys Listen(s int, n int) (err error)
|
||||
//sys Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
|
||||
|
||||
Reference in New Issue
Block a user