Commit c123a800 authored by Dave Cheney's avatar Dave Cheney

syscall: generate AT_* constants and regenerate ztypes_linux_*.go

Updates #9974

The *at family of syscalls requires some constants to be defined in the
syscall package for linux. Add the necessary constants and regenerate
the ztypes_linux_*.go files.

Change-Id: I6df343fef7bcacad30d36c7900dbfb621465a4fe
Reviewed-on: https://go-review.googlesource.com/5836Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 1c82e236
......@@ -376,7 +376,9 @@ type Ustat_t C.struct_ustat
type EpollEvent C.struct_my_epoll_event
const (
_AT_FDCWD = C.AT_FDCWD
_AT_FDCWD = C.AT_FDCWD
_AT_REMOVEDIR = C.AT_REMOVEDIR
_AT_SYMLINK_NOFOLLOW = C.AT_SYMLINK_NOFOLLOW
)
// Terminal handling
......
......@@ -572,7 +572,9 @@ type EpollEvent struct {
}
const (
_AT_FDCWD = -0x64
_AT_FDCWD = -0x64
_AT_REMOVEDIR = 0x200
_AT_SYMLINK_NOFOLLOW = 0x100
)
type Termios struct {
......
......@@ -590,7 +590,9 @@ type EpollEvent struct {
}
const (
_AT_FDCWD = -0x64
_AT_FDCWD = -0x64
_AT_REMOVEDIR = 0x200
_AT_SYMLINK_NOFOLLOW = 0x100
)
type Termios struct {
......
......@@ -561,7 +561,9 @@ type EpollEvent struct {
}
const (
_AT_FDCWD = -0x64
_AT_FDCWD = -0x64
_AT_REMOVEDIR = 0x200
_AT_SYMLINK_NOFOLLOW = 0x100
)
type Termios struct {
......
......@@ -578,7 +578,9 @@ type EpollEvent struct {
}
const (
_AT_FDCWD = -0x64
_AT_FDCWD = -0x64
_AT_REMOVEDIR = 0x200
_AT_SYMLINK_NOFOLLOW = 0x100
)
type Termios struct {
......
......@@ -578,7 +578,9 @@ type EpollEvent struct {
}
const (
_AT_FDCWD = -0x64
_AT_FDCWD = -0x64
_AT_REMOVEDIR = 0x200
_AT_SYMLINK_NOFOLLOW = 0x100
)
type Termios struct {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment