From cc95f250f6bc3b018920acb1f50bc5aa1f6bd725 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 13 Oct 2020 11:55:37 +0000 Subject: [PATCH] unix: add FIORDCHK on solaris/illumos Change-Id: Ib789b19d45f1ca3d5628e53e68b9ab732d6f8200 Reviewed-on: https://go-review.googlesource.com/c/sys/+/261797 Trust: Tobias Klauser Run-TryBot: Tobias Klauser TryBot-Result: Go Bot Reviewed-by: Matt Layher --- unix/mkerrors.sh | 1 + unix/zerrors_solaris_amd64.go | 1 + 2 files changed, 2 insertions(+) diff --git a/unix/mkerrors.sh b/unix/mkerrors.sh index 1b667e8a..467c03d4 100755 --- a/unix/mkerrors.sh +++ b/unix/mkerrors.sh @@ -498,6 +498,7 @@ ccflags="$@" $2 !~ "NLA_TYPE_MASK" && $2 !~ /^RTC_VL_(ACCURACY|BACKUP|DATA)/ && $2 ~ /^(NETLINK|NLM|NLMSG|NLA|IFA|IFAN|RT|RTC|RTCF|RTN|RTPROT|RTNH|ARPHRD|ETH_P|NETNSA)_/ || + $2 ~ /^FIORDCHK$/ || $2 ~ /^SIOC/ || $2 ~ /^TIOC/ || $2 ~ /^TCGET/ || diff --git a/unix/zerrors_solaris_amd64.go b/unix/zerrors_solaris_amd64.go index c652fdf4..5312c36c 100644 --- a/unix/zerrors_solaris_amd64.go +++ b/unix/zerrors_solaris_amd64.go @@ -296,6 +296,7 @@ const ( FF0 = 0x0 FF1 = 0x8000 FFDLY = 0x8000 + FIORDCHK = 0x6603 FLUSHALL = 0x1 FLUSHDATA = 0x0 FLUSHO = 0x2000