diff options
Diffstat (limited to 'vendor/golang.org/x/sys/unix/mkerrors.sh')
-rw-r--r-- | vendor/golang.org/x/sys/unix/mkerrors.sh | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/vendor/golang.org/x/sys/unix/mkerrors.sh b/vendor/golang.org/x/sys/unix/mkerrors.sh index 8a2dcfa51..b5462b85f 100644 --- a/vendor/golang.org/x/sys/unix/mkerrors.sh +++ b/vendor/golang.org/x/sys/unix/mkerrors.sh @@ -44,6 +44,7 @@ includes_AIX=' #include <sys/stropts.h> #include <sys/mman.h> #include <sys/poll.h> +#include <sys/select.h> #include <sys/termio.h> #include <termios.h> #include <fcntl.h> @@ -60,6 +61,7 @@ includes_Darwin=' #include <sys/types.h> #include <sys/event.h> #include <sys/ptrace.h> +#include <sys/select.h> #include <sys/socket.h> #include <sys/sockio.h> #include <sys/sysctl.h> @@ -80,6 +82,7 @@ includes_Darwin=' includes_DragonFly=' #include <sys/types.h> #include <sys/event.h> +#include <sys/select.h> #include <sys/socket.h> #include <sys/sockio.h> #include <sys/stat.h> @@ -103,6 +106,7 @@ includes_FreeBSD=' #include <sys/param.h> #include <sys/types.h> #include <sys/event.h> +#include <sys/select.h> #include <sys/socket.h> #include <sys/sockio.h> #include <sys/stat.h> @@ -179,6 +183,7 @@ struct ltchars { #include <sys/stat.h> #include <sys/types.h> #include <sys/time.h> +#include <sys/select.h> #include <sys/signalfd.h> #include <sys/socket.h> #include <sys/xattr.h> @@ -186,11 +191,13 @@ struct ltchars { #include <linux/can.h> #include <linux/capability.h> #include <linux/cryptouser.h> +#include <linux/devlink.h> #include <linux/errqueue.h> #include <linux/falloc.h> #include <linux/fanotify.h> #include <linux/filter.h> #include <linux/fs.h> +#include <linux/fscrypt.h> #include <linux/genetlink.h> #include <linux/hdreg.h> #include <linux/icmpv6.h> @@ -281,6 +288,7 @@ includes_NetBSD=' #include <sys/extattr.h> #include <sys/mman.h> #include <sys/mount.h> +#include <sys/select.h> #include <sys/socket.h> #include <sys/sockio.h> #include <sys/sysctl.h> @@ -307,6 +315,7 @@ includes_OpenBSD=' #include <sys/event.h> #include <sys/mman.h> #include <sys/mount.h> +#include <sys/select.h> #include <sys/socket.h> #include <sys/sockio.h> #include <sys/stat.h> @@ -343,6 +352,7 @@ includes_OpenBSD=' includes_SunOS=' #include <limits.h> #include <sys/types.h> +#include <sys/select.h> #include <sys/socket.h> #include <sys/sockio.h> #include <sys/stat.h> @@ -435,6 +445,7 @@ ccflags="$@" $2 == "XCASE" || $2 == "ALTWERASE" || $2 == "NOKERNINFO" || + $2 == "NFDBITS" || $2 ~ /^PAR/ || $2 ~ /^SIG[^_]/ || $2 ~ /^O[CNPFPL][A-Z]+[^_][A-Z]+$/ || @@ -486,7 +497,9 @@ ccflags="$@" $2 ~ /^CAN_/ || $2 ~ /^CAP_/ || $2 ~ /^ALG_/ || - $2 ~ /^FS_(POLICY_FLAGS|KEY_DESC|ENCRYPTION_MODE|[A-Z0-9_]+_KEY_SIZE|IOC_(GET|SET)_ENCRYPTION)/ || + $2 ~ /^FS_(POLICY_FLAGS|KEY_DESC|ENCRYPTION_MODE|[A-Z0-9_]+_KEY_SIZE)/ || + $2 ~ /^FS_IOC_.*ENCRYPTION/ || + $2 ~ /^FSCRYPT_/ || $2 ~ /^GRND_/ || $2 ~ /^RND/ || $2 ~ /^KEY_(SPEC|REQKEY_DEFL)_/ || @@ -516,6 +529,7 @@ ccflags="$@" $2 ~ /^(HDIO|WIN|SMART)_/ || $2 ~ /^CRYPTO_/ || $2 ~ /^TIPC_/ || + $2 ~ /^DEVLINK_/ || $2 !~ "WMESGLEN" && $2 ~ /^W[A-Z0-9]+$/ || $2 ~/^PPPIOC/ || |