1
0
mirror of https://github.com/golang/go synced 2024-11-20 02:54:39 -07:00

syscall: fix zerrors for openbsd 386

R=golang-dev, bradfitz, rsc
CC=golang-dev
https://golang.org/cl/5369076
This commit is contained in:
Joel Sing 2011-11-12 05:19:09 +11:00
parent d08f57e68c
commit 791aef1821

View File

@ -49,26 +49,26 @@ const (
BIOCGBLEN = 0x40044266 BIOCGBLEN = 0x40044266
BIOCGDIRFILT = 0x4004427c BIOCGDIRFILT = 0x4004427c
BIOCGDLT = 0x4004426a BIOCGDLT = 0x4004426a
BIOCGDLTLIST = -0x3ff7bd85 BIOCGDLTLIST = 0xc008427b
BIOCGETIF = 0x4020426b BIOCGETIF = 0x4020426b
BIOCGFILDROP = 0x40044278 BIOCGFILDROP = 0x40044278
BIOCGHDRCMPLT = 0x40044274 BIOCGHDRCMPLT = 0x40044274
BIOCGRSIG = 0x40044273 BIOCGRSIG = 0x40044273
BIOCGRTIMEOUT = 0x4008426e BIOCGRTIMEOUT = 0x4008426e
BIOCGSTATS = 0x4008426f BIOCGSTATS = 0x4008426f
BIOCIMMEDIATE = -0x7ffbbd90 BIOCIMMEDIATE = 0x80044270
BIOCLOCK = 0x20004276 BIOCLOCK = 0x20004276
BIOCPROMISC = 0x20004269 BIOCPROMISC = 0x20004269
BIOCSBLEN = -0x3ffbbd9a BIOCSBLEN = 0xc0044266
BIOCSDIRFILT = -0x7ffbbd83 BIOCSDIRFILT = 0x8004427d
BIOCSDLT = -0x7ffbbd86 BIOCSDLT = 0x8004427a
BIOCSETF = -0x7ff7bd99 BIOCSETF = 0x80084267
BIOCSETIF = -0x7fdfbd94 BIOCSETIF = 0x8020426c
BIOCSETWF = -0x7ff7bd89 BIOCSETWF = 0x80084277
BIOCSFILDROP = -0x7ffbbd87 BIOCSFILDROP = 0x80044279
BIOCSHDRCMPLT = -0x7ffbbd8b BIOCSHDRCMPLT = 0x80044275
BIOCSRSIG = -0x7ffbbd8e BIOCSRSIG = 0x80044272
BIOCSRTIMEOUT = -0x7ff7bd93 BIOCSRTIMEOUT = 0x8008426d
BIOCVERSION = 0x40044271 BIOCVERSION = 0x40044271
BPF_A = 0x10 BPF_A = 0x10
BPF_ABS = 0x20 BPF_ABS = 0x20
@ -179,6 +179,10 @@ const (
EEXIST = 0x11 EEXIST = 0x11
EFAULT = 0xe EFAULT = 0xe
EFBIG = 0x1b EFBIG = 0x1b
EFER_LMA = 0x400
EFER_LME = 0x100
EFER_NXE = 0x800
EFER_SCE = 0x1
EFTYPE = 0x4f EFTYPE = 0x4f
EHOSTDOWN = 0x40 EHOSTDOWN = 0x40
EHOSTUNREACH = 0x41 EHOSTUNREACH = 0x41
@ -438,7 +442,7 @@ const (
ETHER_ALIGN = 0x2 ETHER_ALIGN = 0x2
ETHER_CRC_LEN = 0x4 ETHER_CRC_LEN = 0x4
ETHER_CRC_POLY_BE = 0x4c11db6 ETHER_CRC_POLY_BE = 0x4c11db6
ETHER_CRC_POLY_LE = -0x12477ce0 ETHER_CRC_POLY_LE = 0xedb88320
ETHER_HDR_LEN = 0xe ETHER_HDR_LEN = 0xe
ETHER_MAX_DIX_LEN = 0x600 ETHER_MAX_DIX_LEN = 0x600
ETHER_MAX_LEN = 0x5ee ETHER_MAX_LEN = 0x5ee
@ -732,21 +736,21 @@ const (
IFT_XETHER = 0x1a IFT_XETHER = 0x1a
IN_CLASSA_HOST = 0xffffff IN_CLASSA_HOST = 0xffffff
IN_CLASSA_MAX = 0x80 IN_CLASSA_MAX = 0x80
IN_CLASSA_NET = -0x1000000 IN_CLASSA_NET = 0xff000000
IN_CLASSA_NSHIFT = 0x18 IN_CLASSA_NSHIFT = 0x18
IN_CLASSB_HOST = 0xffff IN_CLASSB_HOST = 0xffff
IN_CLASSB_MAX = 0x10000 IN_CLASSB_MAX = 0x10000
IN_CLASSB_NET = -0x10000 IN_CLASSB_NET = 0xffff0000
IN_CLASSB_NSHIFT = 0x10 IN_CLASSB_NSHIFT = 0x10
IN_CLASSC_HOST = 0xff IN_CLASSC_HOST = 0xff
IN_CLASSC_NET = -0x100 IN_CLASSC_NET = 0xffffff00
IN_CLASSC_NSHIFT = 0x8 IN_CLASSC_NSHIFT = 0x8
IN_CLASSD_HOST = 0xfffffff IN_CLASSD_HOST = 0xfffffff
IN_CLASSD_NET = -0x10000000 IN_CLASSD_NET = 0xf0000000
IN_CLASSD_NSHIFT = 0x1c IN_CLASSD_NSHIFT = 0x1c
IN_LOOPBACKNET = 0x7f IN_LOOPBACKNET = 0x7f
IN_RFC3021_HOST = 0x1 IN_RFC3021_HOST = 0x1
IN_RFC3021_NET = -0x2 IN_RFC3021_NET = 0xfffffffe
IN_RFC3021_NSHIFT = 0x1f IN_RFC3021_NSHIFT = 0x1f
IPPROTO_AH = 0x33 IPPROTO_AH = 0x33
IPPROTO_CARP = 0x70 IPPROTO_CARP = 0x70
@ -796,8 +800,8 @@ const (
IPV6_ESP_NETWORK_LEVEL = 0x37 IPV6_ESP_NETWORK_LEVEL = 0x37
IPV6_ESP_TRANS_LEVEL = 0x36 IPV6_ESP_TRANS_LEVEL = 0x36
IPV6_FAITH = 0x1d IPV6_FAITH = 0x1d
IPV6_FLOWINFO_MASK = -0xf1 IPV6_FLOWINFO_MASK = 0xffffff0f
IPV6_FLOWLABEL_MASK = -0xf100 IPV6_FLOWLABEL_MASK = 0xffff0f00
IPV6_FRAGTTL = 0x78 IPV6_FRAGTTL = 0x78
IPV6_HLIMDEC = 0x1 IPV6_HLIMDEC = 0x1
IPV6_HOPLIMIT = 0x2f IPV6_HOPLIMIT = 0x2f
@ -923,7 +927,6 @@ const (
O_SYNC = 0x80 O_SYNC = 0x80
O_TRUNC = 0x400 O_TRUNC = 0x400
O_WRONLY = 0x1 O_WRONLY = 0x1
PT_MASK = 0x3ff000
RTAX_AUTHOR = 0x6 RTAX_AUTHOR = 0x6
RTAX_BRD = 0x7 RTAX_BRD = 0x7
RTAX_DST = 0x0 RTAX_DST = 0x0
@ -1038,118 +1041,118 @@ const (
SIGWINCH = 0x1c SIGWINCH = 0x1c
SIGXCPU = 0x18 SIGXCPU = 0x18
SIGXFSZ = 0x19 SIGXFSZ = 0x19
SIOCADDMULTI = -0x7fdf96cf SIOCADDMULTI = 0x80206931
SIOCAIFADDR = -0x7fbf96e6 SIOCAIFADDR = 0x8040691a
SIOCAIFGROUP = -0x7fdb9679 SIOCAIFGROUP = 0x80246987
SIOCALIFADDR = -0x7de796e4 SIOCALIFADDR = 0x8218691c
SIOCATMARK = 0x40047307 SIOCATMARK = 0x40047307
SIOCBRDGADD = -0x7fab96c4 SIOCBRDGADD = 0x8054693c
SIOCBRDGADDS = -0x7fab96bf SIOCBRDGADDS = 0x80546941
SIOCBRDGARL = -0x7f9196b3 SIOCBRDGARL = 0x806e694d
SIOCBRDGDADDR = -0x7fd796b9 SIOCBRDGDADDR = 0x80286947
SIOCBRDGDEL = -0x7fab96c3 SIOCBRDGDEL = 0x8054693d
SIOCBRDGDELS = -0x7fab96be SIOCBRDGDELS = 0x80546942
SIOCBRDGFLUSH = -0x7fab96b8 SIOCBRDGFLUSH = 0x80546948
SIOCBRDGFRL = -0x7f9196b2 SIOCBRDGFRL = 0x806e694e
SIOCBRDGGCACHE = -0x3feb96bf SIOCBRDGGCACHE = 0xc0146941
SIOCBRDGGFD = -0x3feb96ae SIOCBRDGGFD = 0xc0146952
SIOCBRDGGHT = -0x3feb96af SIOCBRDGGHT = 0xc0146951
SIOCBRDGGIFFLGS = -0x3fab96c2 SIOCBRDGGIFFLGS = 0xc054693e
SIOCBRDGGMA = -0x3feb96ad SIOCBRDGGMA = 0xc0146953
SIOCBRDGGPARAM = -0x3fc796a8 SIOCBRDGGPARAM = 0xc0386958
SIOCBRDGGPRI = -0x3feb96b0 SIOCBRDGGPRI = 0xc0146950
SIOCBRDGGRL = -0x3fd796b1 SIOCBRDGGRL = 0xc028694f
SIOCBRDGGSIFS = -0x3fab96c4 SIOCBRDGGSIFS = 0xc054693c
SIOCBRDGGTO = -0x3feb96ba SIOCBRDGGTO = 0xc0146946
SIOCBRDGIFS = -0x3fab96be SIOCBRDGIFS = 0xc0546942
SIOCBRDGRTS = -0x3fe796bd SIOCBRDGRTS = 0xc0186943
SIOCBRDGSADDR = -0x3fd796bc SIOCBRDGSADDR = 0xc0286944
SIOCBRDGSCACHE = -0x7feb96c0 SIOCBRDGSCACHE = 0x80146940
SIOCBRDGSFD = -0x7feb96ae SIOCBRDGSFD = 0x80146952
SIOCBRDGSHT = -0x7feb96af SIOCBRDGSHT = 0x80146951
SIOCBRDGSIFCOST = -0x7fab96ab SIOCBRDGSIFCOST = 0x80546955
SIOCBRDGSIFFLGS = -0x7fab96c1 SIOCBRDGSIFFLGS = 0x8054693f
SIOCBRDGSIFPRIO = -0x7fab96ac SIOCBRDGSIFPRIO = 0x80546954
SIOCBRDGSMA = -0x7feb96ad SIOCBRDGSMA = 0x80146953
SIOCBRDGSPRI = -0x7feb96b0 SIOCBRDGSPRI = 0x80146950
SIOCBRDGSPROTO = -0x7feb96a6 SIOCBRDGSPROTO = 0x8014695a
SIOCBRDGSTO = -0x7feb96bb SIOCBRDGSTO = 0x80146945
SIOCBRDGSTXHC = -0x7feb96a7 SIOCBRDGSTXHC = 0x80146959
SIOCDELMULTI = -0x7fdf96ce SIOCDELMULTI = 0x80206932
SIOCDIFADDR = -0x7fdf96e7 SIOCDIFADDR = 0x80206919
SIOCDIFGROUP = -0x7fdb9677 SIOCDIFGROUP = 0x80246989
SIOCDIFPHYADDR = -0x7fdf96b7 SIOCDIFPHYADDR = 0x80206949
SIOCDLIFADDR = -0x7de796e2 SIOCDLIFADDR = 0x8218691e
SIOCGETKALIVE = -0x3fe7965c SIOCGETKALIVE = 0xc01869a4
SIOCGETLABEL = -0x7fdf9666 SIOCGETLABEL = 0x8020699a
SIOCGETPFLOW = -0x3fdf9602 SIOCGETPFLOW = 0xc02069fe
SIOCGETPFSYNC = -0x3fdf9608 SIOCGETPFSYNC = 0xc02069f8
SIOCGETSGCNT = -0x3feb8acc SIOCGETSGCNT = 0xc0147534
SIOCGETVIFCNT = -0x3feb8acd SIOCGETVIFCNT = 0xc0147533
SIOCGETVLANPRIO = -0x3fdf9670 SIOCGETVLANPRIO = 0xc0206990
SIOCGHIWAT = 0x40047301 SIOCGHIWAT = 0x40047301
SIOCGIFADDR = -0x3fdf96df SIOCGIFADDR = 0xc0206921
SIOCGIFASYNCMAP = -0x3fdf9684 SIOCGIFASYNCMAP = 0xc020697c
SIOCGIFBRDADDR = -0x3fdf96dd SIOCGIFBRDADDR = 0xc0206923
SIOCGIFCONF = -0x3ff796dc SIOCGIFCONF = 0xc0086924
SIOCGIFDATA = -0x3fdf96e5 SIOCGIFDATA = 0xc020691b
SIOCGIFDESCR = -0x3fdf967f SIOCGIFDESCR = 0xc0206981
SIOCGIFDSTADDR = -0x3fdf96de SIOCGIFDSTADDR = 0xc0206922
SIOCGIFFLAGS = -0x3fdf96ef SIOCGIFFLAGS = 0xc0206911
SIOCGIFGATTR = -0x3fdb9675 SIOCGIFGATTR = 0xc024698b
SIOCGIFGENERIC = -0x3fdf96c6 SIOCGIFGENERIC = 0xc020693a
SIOCGIFGMEMB = -0x3fdb9676 SIOCGIFGMEMB = 0xc024698a
SIOCGIFGROUP = -0x3fdb9678 SIOCGIFGROUP = 0xc0246988
SIOCGIFMEDIA = -0x3fd796ca SIOCGIFMEDIA = 0xc0286936
SIOCGIFMETRIC = -0x3fdf96e9 SIOCGIFMETRIC = 0xc0206917
SIOCGIFMTU = -0x3fdf9682 SIOCGIFMTU = 0xc020697e
SIOCGIFNETMASK = -0x3fdf96db SIOCGIFNETMASK = 0xc0206925
SIOCGIFPDSTADDR = -0x3fdf96b8 SIOCGIFPDSTADDR = 0xc0206948
SIOCGIFPRIORITY = -0x3fdf9664 SIOCGIFPRIORITY = 0xc020699c
SIOCGIFPSRCADDR = -0x3fdf96b9 SIOCGIFPSRCADDR = 0xc0206947
SIOCGIFRDOMAIN = -0x3fdf9660 SIOCGIFRDOMAIN = 0xc02069a0
SIOCGIFRTLABEL = -0x3fdf967d SIOCGIFRTLABEL = 0xc0206983
SIOCGIFTIMESLOT = -0x3fdf967a SIOCGIFTIMESLOT = 0xc0206986
SIOCGIFXFLAGS = -0x3fdf9662 SIOCGIFXFLAGS = 0xc020699e
SIOCGLIFADDR = -0x3de796e3 SIOCGLIFADDR = 0xc218691d
SIOCGLIFPHYADDR = -0x3de796b5 SIOCGLIFPHYADDR = 0xc218694b
SIOCGLIFPHYRTABLE = -0x3fdf965e SIOCGLIFPHYRTABLE = 0xc02069a2
SIOCGLOWAT = 0x40047303 SIOCGLOWAT = 0x40047303
SIOCGPGRP = 0x40047309 SIOCGPGRP = 0x40047309
SIOCGVH = -0x3fdf960a SIOCGVH = 0xc02069f6
SIOCIFCREATE = -0x7fdf9686 SIOCIFCREATE = 0x8020697a
SIOCIFDESTROY = -0x7fdf9687 SIOCIFDESTROY = 0x80206979
SIOCIFGCLONERS = -0x3ff39688 SIOCIFGCLONERS = 0xc00c6978
SIOCSETKALIVE = -0x7fe7965d SIOCSETKALIVE = 0x801869a3
SIOCSETLABEL = -0x7fdf9667 SIOCSETLABEL = 0x80206999
SIOCSETPFLOW = -0x7fdf9603 SIOCSETPFLOW = 0x802069fd
SIOCSETPFSYNC = -0x7fdf9609 SIOCSETPFSYNC = 0x802069f7
SIOCSETVLANPRIO = -0x7fdf9671 SIOCSETVLANPRIO = 0x8020698f
SIOCSHIWAT = -0x7ffb8d00 SIOCSHIWAT = 0x80047300
SIOCSIFADDR = -0x7fdf96f4 SIOCSIFADDR = 0x8020690c
SIOCSIFASYNCMAP = -0x7fdf9683 SIOCSIFASYNCMAP = 0x8020697d
SIOCSIFBRDADDR = -0x7fdf96ed SIOCSIFBRDADDR = 0x80206913
SIOCSIFDESCR = -0x7fdf9680 SIOCSIFDESCR = 0x80206980
SIOCSIFDSTADDR = -0x7fdf96f2 SIOCSIFDSTADDR = 0x8020690e
SIOCSIFFLAGS = -0x7fdf96f0 SIOCSIFFLAGS = 0x80206910
SIOCSIFGATTR = -0x7fdb9674 SIOCSIFGATTR = 0x8024698c
SIOCSIFGENERIC = -0x7fdf96c7 SIOCSIFGENERIC = 0x80206939
SIOCSIFLLADDR = -0x7fdf96e1 SIOCSIFLLADDR = 0x8020691f
SIOCSIFMEDIA = -0x3fdf96cb SIOCSIFMEDIA = 0xc0206935
SIOCSIFMETRIC = -0x7fdf96e8 SIOCSIFMETRIC = 0x80206918
SIOCSIFMTU = -0x7fdf9681 SIOCSIFMTU = 0x8020697f
SIOCSIFNETMASK = -0x7fdf96ea SIOCSIFNETMASK = 0x80206916
SIOCSIFPHYADDR = -0x7fbf96ba SIOCSIFPHYADDR = 0x80406946
SIOCSIFPRIORITY = -0x7fdf9665 SIOCSIFPRIORITY = 0x8020699b
SIOCSIFRDOMAIN = -0x7fdf9661 SIOCSIFRDOMAIN = 0x8020699f
SIOCSIFRTLABEL = -0x7fdf967e SIOCSIFRTLABEL = 0x80206982
SIOCSIFTIMESLOT = -0x7fdf967b SIOCSIFTIMESLOT = 0x80206985
SIOCSIFXFLAGS = -0x7fdf9663 SIOCSIFXFLAGS = 0x8020699d
SIOCSLIFPHYADDR = -0x7de796b6 SIOCSLIFPHYADDR = 0x8218694a
SIOCSLIFPHYRTABLE = -0x7fdf965f SIOCSLIFPHYRTABLE = 0x802069a1
SIOCSLOWAT = -0x7ffb8cfe SIOCSLOWAT = 0x80047302
SIOCSPGRP = -0x7ffb8cf8 SIOCSPGRP = 0x80047308
SIOCSVH = -0x3fdf960b SIOCSVH = 0xc02069f5
SOCK_DGRAM = 0x2 SOCK_DGRAM = 0x2
SOCK_RAW = 0x3 SOCK_RAW = 0x3
SOCK_RDM = 0x4 SOCK_RDM = 0x4
@ -1194,28 +1197,28 @@ const (
TCP_SACK_ENABLE = 0x8 TCP_SACK_ENABLE = 0x8
TIOCCBRK = 0x2000747a TIOCCBRK = 0x2000747a
TIOCCDTR = 0x20007478 TIOCCDTR = 0x20007478
TIOCCONS = -0x7ffb8b9e TIOCCONS = 0x80047462
TIOCDRAIN = 0x2000745e TIOCDRAIN = 0x2000745e
TIOCEXCL = 0x2000740d TIOCEXCL = 0x2000740d
TIOCEXT = -0x7ffb8ba0 TIOCEXT = 0x80047460
TIOCFLAG_CLOCAL = 0x2 TIOCFLAG_CLOCAL = 0x2
TIOCFLAG_CRTSCTS = 0x4 TIOCFLAG_CRTSCTS = 0x4
TIOCFLAG_MDMBUF = 0x8 TIOCFLAG_MDMBUF = 0x8
TIOCFLAG_PPS = 0x10 TIOCFLAG_PPS = 0x10
TIOCFLAG_SOFTCAR = 0x1 TIOCFLAG_SOFTCAR = 0x1
TIOCFLUSH = -0x7ffb8bf0 TIOCFLUSH = 0x80047410
TIOCGETA = 0x402c7413 TIOCGETA = 0x402c7413
TIOCGETD = 0x4004741a TIOCGETD = 0x4004741a
TIOCGFLAGS = 0x4004745d TIOCGFLAGS = 0x4004745d
TIOCGPGRP = 0x40047477 TIOCGPGRP = 0x40047477
TIOCGTSTAMP = 0x4008745b TIOCGTSTAMP = 0x4008745b
TIOCGWINSZ = 0x40087468 TIOCGWINSZ = 0x40087468
TIOCMBIC = -0x7ffb8b95 TIOCMBIC = 0x8004746b
TIOCMBIS = -0x7ffb8b94 TIOCMBIS = 0x8004746c
TIOCMGET = 0x4004746a TIOCMGET = 0x4004746a
TIOCMODG = 0x4004746a TIOCMODG = 0x4004746a
TIOCMODS = -0x7ffb8b93 TIOCMODS = 0x8004746d
TIOCMSET = -0x7ffb8b93 TIOCMSET = 0x8004746d
TIOCM_CAR = 0x40 TIOCM_CAR = 0x40
TIOCM_CD = 0x40 TIOCM_CD = 0x40
TIOCM_CTS = 0x20 TIOCM_CTS = 0x20
@ -1230,7 +1233,7 @@ const (
TIOCNOTTY = 0x20007471 TIOCNOTTY = 0x20007471
TIOCNXCL = 0x2000740e TIOCNXCL = 0x2000740e
TIOCOUTQ = 0x40047473 TIOCOUTQ = 0x40047473
TIOCPKT = -0x7ffb8b90 TIOCPKT = 0x80047470
TIOCPKT_DATA = 0x0 TIOCPKT_DATA = 0x0
TIOCPKT_DOSTOP = 0x20 TIOCPKT_DOSTOP = 0x20
TIOCPKT_FLUSHREAD = 0x1 TIOCPKT_FLUSHREAD = 0x1
@ -1239,24 +1242,24 @@ const (
TIOCPKT_NOSTOP = 0x10 TIOCPKT_NOSTOP = 0x10
TIOCPKT_START = 0x8 TIOCPKT_START = 0x8
TIOCPKT_STOP = 0x4 TIOCPKT_STOP = 0x4
TIOCREMOTE = -0x7ffb8b97 TIOCREMOTE = 0x80047469
TIOCSBRK = 0x2000747b TIOCSBRK = 0x2000747b
TIOCSCTTY = 0x20007461 TIOCSCTTY = 0x20007461
TIOCSDTR = 0x20007479 TIOCSDTR = 0x20007479
TIOCSETA = -0x7fd38bec TIOCSETA = 0x802c7414
TIOCSETAF = -0x7fd38bea TIOCSETAF = 0x802c7416
TIOCSETAW = -0x7fd38beb TIOCSETAW = 0x802c7415
TIOCSETD = -0x7ffb8be5 TIOCSETD = 0x8004741b
TIOCSFLAGS = -0x7ffb8ba4 TIOCSFLAGS = 0x8004745c
TIOCSIG = -0x7ffb8ba1 TIOCSIG = 0x8004745f
TIOCSPGRP = -0x7ffb8b8a TIOCSPGRP = 0x80047476
TIOCSTART = 0x2000746e TIOCSTART = 0x2000746e
TIOCSTAT = -0x7ffb8b9b TIOCSTAT = 0x80047465
TIOCSTI = -0x7ffe8b8e TIOCSTI = 0x80017472
TIOCSTOP = 0x2000746f TIOCSTOP = 0x2000746f
TIOCSTSTAMP = -0x7ff78ba6 TIOCSTSTAMP = 0x8008745a
TIOCSWINSZ = -0x7ff78b99 TIOCSWINSZ = 0x80087467
TIOCUCNTL = -0x7ffb8b9a TIOCUCNTL = 0x80047466
WALTSIG = 0x4 WALTSIG = 0x4
WCONTINUED = 0x8 WCONTINUED = 0x8
WCOREFLAG = 0x80 WCOREFLAG = 0x80