diff options
author | Christopher Speller <crspeller@gmail.com> | 2018-08-28 10:05:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-28 10:05:26 -0700 |
commit | 61e27beabc9804fdcf59ed9df2180802175a4f70 (patch) | |
tree | 52c86f5cdbd4e13d05b8f9dddad1a01b88e26cab /vendor/golang.org/x/sys/unix/mkerrors.sh | |
parent | 347ee1d205c95f5fd766e206cc65bfb9782a2623 (diff) | |
download | chat-61e27beabc9804fdcf59ed9df2180802175a4f70.tar.gz chat-61e27beabc9804fdcf59ed9df2180802175a4f70.tar.bz2 chat-61e27beabc9804fdcf59ed9df2180802175a4f70.zip |
Updating dependancies. (#9303)
Diffstat (limited to 'vendor/golang.org/x/sys/unix/mkerrors.sh')
-rwxr-xr-x | vendor/golang.org/x/sys/unix/mkerrors.sh | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/vendor/golang.org/x/sys/unix/mkerrors.sh b/vendor/golang.org/x/sys/unix/mkerrors.sh index 4a2c5dc9b..45ebc985e 100755 --- a/vendor/golang.org/x/sys/unix/mkerrors.sh +++ b/vendor/golang.org/x/sys/unix/mkerrors.sh @@ -65,6 +65,7 @@ includes_DragonFly=' #include <sys/event.h> #include <sys/socket.h> #include <sys/sockio.h> +#include <sys/stat.h> #include <sys/sysctl.h> #include <sys/mman.h> #include <sys/wait.h> @@ -86,6 +87,7 @@ includes_FreeBSD=' #include <sys/event.h> #include <sys/socket.h> #include <sys/sockio.h> +#include <sys/stat.h> #include <sys/sysctl.h> #include <sys/mman.h> #include <sys/mount.h> @@ -175,6 +177,7 @@ struct ltchars { #include <linux/magic.h> #include <linux/netfilter/nfnetlink.h> #include <linux/netlink.h> +#include <linux/net_namespace.h> #include <linux/perf_event.h> #include <linux/random.h> #include <linux/reboot.h> @@ -190,10 +193,10 @@ struct ltchars { #include <linux/vm_sockets.h> #include <linux/taskstats.h> #include <linux/genetlink.h> -#include <linux/stat.h> #include <linux/watchdog.h> #include <linux/hdreg.h> #include <linux/rtc.h> +#include <mtd/ubi-user.h> #include <net/route.h> #include <asm/termbits.h> @@ -229,6 +232,7 @@ includes_NetBSD=' #include <sys/types.h> #include <sys/param.h> #include <sys/event.h> +#include <sys/extattr.h> #include <sys/mman.h> #include <sys/socket.h> #include <sys/sockio.h> @@ -257,9 +261,11 @@ includes_OpenBSD=' #include <sys/mman.h> #include <sys/socket.h> #include <sys/sockio.h> +#include <sys/stat.h> #include <sys/sysctl.h> #include <sys/termios.h> #include <sys/ttycom.h> +#include <sys/unistd.h> #include <sys/wait.h> #include <net/bpf.h> #include <net/if.h> @@ -291,6 +297,7 @@ includes_SunOS=' #include <sys/types.h> #include <sys/socket.h> #include <sys/sockio.h> +#include <sys/stat.h> #include <sys/mman.h> #include <sys/wait.h> #include <sys/ioctl.h> @@ -405,7 +412,7 @@ ccflags="$@" $2 ~ /^LINUX_REBOOT_CMD_/ || $2 ~ /^LINUX_REBOOT_MAGIC[12]$/ || $2 !~ "NLA_TYPE_MASK" && - $2 ~ /^(NETLINK|NLM|NLMSG|NLA|IFA|IFAN|RT|RTC|RTCF|RTN|RTPROT|RTNH|ARPHRD|ETH_P)_/ || + $2 ~ /^(NETLINK|NLM|NLMSG|NLA|IFA|IFAN|RT|RTC|RTCF|RTN|RTPROT|RTNH|ARPHRD|ETH_P|NETNSA)_/ || $2 ~ /^SIOC/ || $2 ~ /^TIOC/ || $2 ~ /^TCGET/ || @@ -432,13 +439,16 @@ ccflags="$@" $2 ~ /^SECCOMP_MODE_/ || $2 ~ /^SPLICE_/ || $2 !~ /^AUDIT_RECORD_MAGIC/ && - $2 ~ /^[A-Z0-9_]+_MAGIC2?$/ || + $2 !~ /IOC_MAGIC/ && + $2 ~ /^[A-Z][A-Z0-9_]+_MAGIC2?$/ || $2 ~ /^(VM|VMADDR)_/ || $2 ~ /^IOCTL_VM_SOCKETS_/ || $2 ~ /^(TASKSTATS|TS)_/ || $2 ~ /^CGROUPSTATS_/ || $2 ~ /^GENL_/ || $2 ~ /^STATX_/ || + $2 ~ /^RENAME/ || + $2 ~ /^UBI_IOC[A-Z]/ || $2 ~ /^UTIME_/ || $2 ~ /^XATTR_(CREATE|REPLACE|NO(DEFAULT|FOLLOW|SECURITY)|SHOWCOMPRESSION)/ || $2 ~ /^ATTR_(BIT_MAP_COUNT|(CMN|VOL|FILE)_)/ || |