mirror of
https://github.com/rwinkhart/sys.git
synced 2026-08-31 14:26:40 -04:00
Revert "unix: add openat2 for linux"
This reverts CL 227280. Reason for revert: causes failures on ARM builders Fixes golang/go#38357 Change-Id: Ie80ff37205ff12c3b74d00ff46b7222e34363d86 Reviewed-on: https://go-review.googlesource.com/c/sys/+/227846 Run-TryBot: Andrew Bonventre <andybons@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
This commit is contained in:
@@ -107,7 +107,6 @@ struct termios2 {
|
||||
#include <linux/netfilter.h>
|
||||
#include <linux/netlink.h>
|
||||
#include <linux/nexthop.h>
|
||||
#include <linux/openat2.h>
|
||||
#include <linux/perf_event.h>
|
||||
#include <linux/random.h>
|
||||
#include <linux/rtc.h>
|
||||
@@ -835,18 +834,6 @@ const (
|
||||
AT_EACCESS = C.AT_EACCESS
|
||||
)
|
||||
|
||||
type OpenHow C.struct_open_how
|
||||
|
||||
const SizeofOpenHow = C.sizeof_struct_open_how
|
||||
|
||||
const (
|
||||
RESOLVE_BENEATH = C.RESOLVE_BENEATH
|
||||
RESOLVE_IN_ROOT = C.RESOLVE_IN_ROOT
|
||||
RESOLVE_NO_MAGICLINKS = C.RESOLVE_NO_MAGICLINKS
|
||||
RESOLVE_NO_SYMLINKS = C.RESOLVE_NO_SYMLINKS
|
||||
RESOLVE_NO_XDEV = C.RESOLVE_NO_XDEV
|
||||
)
|
||||
|
||||
type PollFd C.struct_pollfd
|
||||
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user