Commit fb0c33c5 authored by William Orr's avatar William Orr Committed by Minux Ma

unix: Update zerrors and zsysnum on FreeBSD based on 10.1-RELEASE

Fixes golang/go#9705

Change-Id: Ie236633e0e6912de1fbf1274fa5cb3ada6ce3055
Reviewed-on: https://go-review.googlesource.com/6370Reviewed-by: 's avatarMinux Ma <minux@golang.org>
parent 28779c6d
...@@ -439,6 +439,9 @@ const ( ...@@ -439,6 +439,9 @@ const (
EV_RECEIPT = 0x40 EV_RECEIPT = 0x40
EV_SYSFLAGS = 0xf000 EV_SYSFLAGS = 0xf000
EXTA = 0x4b00 EXTA = 0x4b00
EXTATTR_NAMESPACE_EMPTY = 0x0
EXTATTR_NAMESPACE_SYSTEM = 0x2
EXTATTR_NAMESPACE_USER = 0x1
EXTB = 0x9600 EXTB = 0x9600
EXTPROC = 0x800 EXTPROC = 0x800
FD_CLOEXEC = 0x1 FD_CLOEXEC = 0x1
...@@ -764,6 +767,7 @@ const ( ...@@ -764,6 +767,7 @@ const (
IPPROTO_GMTP = 0x64 IPPROTO_GMTP = 0x64
IPPROTO_GRE = 0x2f IPPROTO_GRE = 0x2f
IPPROTO_HELLO = 0x3f IPPROTO_HELLO = 0x3f
IPPROTO_HIP = 0x8b
IPPROTO_HMP = 0x14 IPPROTO_HMP = 0x14
IPPROTO_HOPOPTS = 0x0 IPPROTO_HOPOPTS = 0x0
IPPROTO_ICMP = 0x1 IPPROTO_ICMP = 0x1
...@@ -817,6 +821,8 @@ const ( ...@@ -817,6 +821,8 @@ const (
IPPROTO_RAW = 0xff IPPROTO_RAW = 0xff
IPPROTO_RCCMON = 0xa IPPROTO_RCCMON = 0xa
IPPROTO_RDP = 0x1b IPPROTO_RDP = 0x1b
IPPROTO_RESERVED_253 = 0xfd
IPPROTO_RESERVED_254 = 0xfe
IPPROTO_ROUTING = 0x2b IPPROTO_ROUTING = 0x2b
IPPROTO_RSVP = 0x2e IPPROTO_RSVP = 0x2e
IPPROTO_RVD = 0x42 IPPROTO_RVD = 0x42
...@@ -827,6 +833,7 @@ const ( ...@@ -827,6 +833,7 @@ const (
IPPROTO_SDRP = 0x2a IPPROTO_SDRP = 0x2a
IPPROTO_SEND = 0x103 IPPROTO_SEND = 0x103
IPPROTO_SEP = 0x21 IPPROTO_SEP = 0x21
IPPROTO_SHIM6 = 0x8c
IPPROTO_SKIP = 0x39 IPPROTO_SKIP = 0x39
IPPROTO_SPACER = 0x7fff IPPROTO_SPACER = 0x7fff
IPPROTO_SRPC = 0x5a IPPROTO_SRPC = 0x5a
...@@ -842,6 +849,7 @@ const ( ...@@ -842,6 +849,7 @@ const (
IPPROTO_TRUNK2 = 0x18 IPPROTO_TRUNK2 = 0x18
IPPROTO_TTP = 0x54 IPPROTO_TTP = 0x54
IPPROTO_UDP = 0x11 IPPROTO_UDP = 0x11
IPPROTO_UDPLITE = 0x88
IPPROTO_VINES = 0x53 IPPROTO_VINES = 0x53
IPPROTO_VISA = 0x46 IPPROTO_VISA = 0x46
IPPROTO_VMTP = 0x51 IPPROTO_VMTP = 0x51
...@@ -1011,6 +1019,7 @@ const ( ...@@ -1011,6 +1019,7 @@ const (
MAP_ANON = 0x1000 MAP_ANON = 0x1000
MAP_ANONYMOUS = 0x1000 MAP_ANONYMOUS = 0x1000
MAP_COPY = 0x2 MAP_COPY = 0x2
MAP_EXCL = 0x4000
MAP_FILE = 0x0 MAP_FILE = 0x0
MAP_FIXED = 0x10 MAP_FIXED = 0x10
MAP_HASSEMAPHORE = 0x200 MAP_HASSEMAPHORE = 0x200
...@@ -1191,6 +1200,7 @@ const ( ...@@ -1191,6 +1200,7 @@ const (
RTV_SPIPE = 0x10 RTV_SPIPE = 0x10
RTV_SSTHRESH = 0x20 RTV_SSTHRESH = 0x20
RTV_WEIGHT = 0x100 RTV_WEIGHT = 0x100
RT_ALL_FIBS = -0x1
RT_CACHING_CONTEXT = 0x1 RT_CACHING_CONTEXT = 0x1
RT_DEFAULT_FIB = 0x0 RT_DEFAULT_FIB = 0x0
RT_NORTREF = 0x2 RT_NORTREF = 0x2
......
...@@ -439,6 +439,9 @@ const ( ...@@ -439,6 +439,9 @@ const (
EV_RECEIPT = 0x40 EV_RECEIPT = 0x40
EV_SYSFLAGS = 0xf000 EV_SYSFLAGS = 0xf000
EXTA = 0x4b00 EXTA = 0x4b00
EXTATTR_NAMESPACE_EMPTY = 0x0
EXTATTR_NAMESPACE_SYSTEM = 0x2
EXTATTR_NAMESPACE_USER = 0x1
EXTB = 0x9600 EXTB = 0x9600
EXTPROC = 0x800 EXTPROC = 0x800
FD_CLOEXEC = 0x1 FD_CLOEXEC = 0x1
...@@ -764,6 +767,7 @@ const ( ...@@ -764,6 +767,7 @@ const (
IPPROTO_GMTP = 0x64 IPPROTO_GMTP = 0x64
IPPROTO_GRE = 0x2f IPPROTO_GRE = 0x2f
IPPROTO_HELLO = 0x3f IPPROTO_HELLO = 0x3f
IPPROTO_HIP = 0x8b
IPPROTO_HMP = 0x14 IPPROTO_HMP = 0x14
IPPROTO_HOPOPTS = 0x0 IPPROTO_HOPOPTS = 0x0
IPPROTO_ICMP = 0x1 IPPROTO_ICMP = 0x1
...@@ -817,6 +821,8 @@ const ( ...@@ -817,6 +821,8 @@ const (
IPPROTO_RAW = 0xff IPPROTO_RAW = 0xff
IPPROTO_RCCMON = 0xa IPPROTO_RCCMON = 0xa
IPPROTO_RDP = 0x1b IPPROTO_RDP = 0x1b
IPPROTO_RESERVED_253 = 0xfd
IPPROTO_RESERVED_254 = 0xfe
IPPROTO_ROUTING = 0x2b IPPROTO_ROUTING = 0x2b
IPPROTO_RSVP = 0x2e IPPROTO_RSVP = 0x2e
IPPROTO_RVD = 0x42 IPPROTO_RVD = 0x42
...@@ -827,6 +833,7 @@ const ( ...@@ -827,6 +833,7 @@ const (
IPPROTO_SDRP = 0x2a IPPROTO_SDRP = 0x2a
IPPROTO_SEND = 0x103 IPPROTO_SEND = 0x103
IPPROTO_SEP = 0x21 IPPROTO_SEP = 0x21
IPPROTO_SHIM6 = 0x8c
IPPROTO_SKIP = 0x39 IPPROTO_SKIP = 0x39
IPPROTO_SPACER = 0x7fff IPPROTO_SPACER = 0x7fff
IPPROTO_SRPC = 0x5a IPPROTO_SRPC = 0x5a
...@@ -842,6 +849,7 @@ const ( ...@@ -842,6 +849,7 @@ const (
IPPROTO_TRUNK2 = 0x18 IPPROTO_TRUNK2 = 0x18
IPPROTO_TTP = 0x54 IPPROTO_TTP = 0x54
IPPROTO_UDP = 0x11 IPPROTO_UDP = 0x11
IPPROTO_UDPLITE = 0x88
IPPROTO_VINES = 0x53 IPPROTO_VINES = 0x53
IPPROTO_VISA = 0x46 IPPROTO_VISA = 0x46
IPPROTO_VMTP = 0x51 IPPROTO_VMTP = 0x51
...@@ -1012,6 +1020,7 @@ const ( ...@@ -1012,6 +1020,7 @@ const (
MAP_ANON = 0x1000 MAP_ANON = 0x1000
MAP_ANONYMOUS = 0x1000 MAP_ANONYMOUS = 0x1000
MAP_COPY = 0x2 MAP_COPY = 0x2
MAP_EXCL = 0x4000
MAP_FILE = 0x0 MAP_FILE = 0x0
MAP_FIXED = 0x10 MAP_FIXED = 0x10
MAP_HASSEMAPHORE = 0x200 MAP_HASSEMAPHORE = 0x200
...@@ -1067,13 +1076,17 @@ const ( ...@@ -1067,13 +1076,17 @@ const (
NOTE_FORK = 0x40000000 NOTE_FORK = 0x40000000
NOTE_LINK = 0x10 NOTE_LINK = 0x10
NOTE_LOWAT = 0x1 NOTE_LOWAT = 0x1
NOTE_MSECONDS = 0x2
NOTE_NSECONDS = 0x8
NOTE_PCTRLMASK = 0xf0000000 NOTE_PCTRLMASK = 0xf0000000
NOTE_PDATAMASK = 0xfffff NOTE_PDATAMASK = 0xfffff
NOTE_RENAME = 0x20 NOTE_RENAME = 0x20
NOTE_REVOKE = 0x40 NOTE_REVOKE = 0x40
NOTE_SECONDS = 0x1
NOTE_TRACK = 0x1 NOTE_TRACK = 0x1
NOTE_TRACKERR = 0x2 NOTE_TRACKERR = 0x2
NOTE_TRIGGER = 0x1000000 NOTE_TRIGGER = 0x1000000
NOTE_USECONDS = 0x4
NOTE_WRITE = 0x2 NOTE_WRITE = 0x2
OCRNL = 0x10 OCRNL = 0x10
ONLCR = 0x2 ONLCR = 0x2
...@@ -1192,6 +1205,7 @@ const ( ...@@ -1192,6 +1205,7 @@ const (
RTV_SPIPE = 0x10 RTV_SPIPE = 0x10
RTV_SSTHRESH = 0x20 RTV_SSTHRESH = 0x20
RTV_WEIGHT = 0x100 RTV_WEIGHT = 0x100
RT_ALL_FIBS = -0x1
RT_CACHING_CONTEXT = 0x1 RT_CACHING_CONTEXT = 0x1
RT_DEFAULT_FIB = 0x0 RT_DEFAULT_FIB = 0x0
RT_NORTREF = 0x2 RT_NORTREF = 0x2
......
...@@ -132,7 +132,7 @@ const ( ...@@ -132,7 +132,7 @@ const (
BIOCGETZMAX = 0x4004427f BIOCGETZMAX = 0x4004427f
BIOCGHDRCMPLT = 0x40044274 BIOCGHDRCMPLT = 0x40044274
BIOCGRSIG = 0x40044272 BIOCGRSIG = 0x40044272
BIOCGRTIMEOUT = 0x4010426e BIOCGRTIMEOUT = 0x4008426e
BIOCGSEESENT = 0x40044276 BIOCGSEESENT = 0x40044276
BIOCGSTATS = 0x4008426f BIOCGSTATS = 0x4008426f
BIOCGTSTAMP = 0x40044283 BIOCGTSTAMP = 0x40044283
...@@ -151,7 +151,7 @@ const ( ...@@ -151,7 +151,7 @@ const (
BIOCSETZBUF = 0x800c4281 BIOCSETZBUF = 0x800c4281
BIOCSHDRCMPLT = 0x80044275 BIOCSHDRCMPLT = 0x80044275
BIOCSRSIG = 0x80044273 BIOCSRSIG = 0x80044273
BIOCSRTIMEOUT = 0x8010426d BIOCSRTIMEOUT = 0x8008426d
BIOCSSEESENT = 0x80044277 BIOCSSEESENT = 0x80044277
BIOCSTSTAMP = 0x80044284 BIOCSTSTAMP = 0x80044284
BIOCVERSION = 0x40044271 BIOCVERSION = 0x40044271
...@@ -439,6 +439,9 @@ const ( ...@@ -439,6 +439,9 @@ const (
EV_RECEIPT = 0x40 EV_RECEIPT = 0x40
EV_SYSFLAGS = 0xf000 EV_SYSFLAGS = 0xf000
EXTA = 0x4b00 EXTA = 0x4b00
EXTATTR_NAMESPACE_EMPTY = 0x0
EXTATTR_NAMESPACE_SYSTEM = 0x2
EXTATTR_NAMESPACE_USER = 0x1
EXTB = 0x9600 EXTB = 0x9600
EXTPROC = 0x800 EXTPROC = 0x800
FD_CLOEXEC = 0x1 FD_CLOEXEC = 0x1
...@@ -764,6 +767,7 @@ const ( ...@@ -764,6 +767,7 @@ const (
IPPROTO_GMTP = 0x64 IPPROTO_GMTP = 0x64
IPPROTO_GRE = 0x2f IPPROTO_GRE = 0x2f
IPPROTO_HELLO = 0x3f IPPROTO_HELLO = 0x3f
IPPROTO_HIP = 0x8b
IPPROTO_HMP = 0x14 IPPROTO_HMP = 0x14
IPPROTO_HOPOPTS = 0x0 IPPROTO_HOPOPTS = 0x0
IPPROTO_ICMP = 0x1 IPPROTO_ICMP = 0x1
...@@ -817,6 +821,8 @@ const ( ...@@ -817,6 +821,8 @@ const (
IPPROTO_RAW = 0xff IPPROTO_RAW = 0xff
IPPROTO_RCCMON = 0xa IPPROTO_RCCMON = 0xa
IPPROTO_RDP = 0x1b IPPROTO_RDP = 0x1b
IPPROTO_RESERVED_253 = 0xfd
IPPROTO_RESERVED_254 = 0xfe
IPPROTO_ROUTING = 0x2b IPPROTO_ROUTING = 0x2b
IPPROTO_RSVP = 0x2e IPPROTO_RSVP = 0x2e
IPPROTO_RVD = 0x42 IPPROTO_RVD = 0x42
...@@ -827,6 +833,7 @@ const ( ...@@ -827,6 +833,7 @@ const (
IPPROTO_SDRP = 0x2a IPPROTO_SDRP = 0x2a
IPPROTO_SEND = 0x103 IPPROTO_SEND = 0x103
IPPROTO_SEP = 0x21 IPPROTO_SEP = 0x21
IPPROTO_SHIM6 = 0x8c
IPPROTO_SKIP = 0x39 IPPROTO_SKIP = 0x39
IPPROTO_SPACER = 0x7fff IPPROTO_SPACER = 0x7fff
IPPROTO_SRPC = 0x5a IPPROTO_SRPC = 0x5a
...@@ -842,6 +849,7 @@ const ( ...@@ -842,6 +849,7 @@ const (
IPPROTO_TRUNK2 = 0x18 IPPROTO_TRUNK2 = 0x18
IPPROTO_TTP = 0x54 IPPROTO_TTP = 0x54
IPPROTO_UDP = 0x11 IPPROTO_UDP = 0x11
IPPROTO_UDPLITE = 0x88
IPPROTO_VINES = 0x53 IPPROTO_VINES = 0x53
IPPROTO_VISA = 0x46 IPPROTO_VISA = 0x46
IPPROTO_VMTP = 0x51 IPPROTO_VMTP = 0x51
...@@ -1011,6 +1019,7 @@ const ( ...@@ -1011,6 +1019,7 @@ const (
MAP_ANON = 0x1000 MAP_ANON = 0x1000
MAP_ANONYMOUS = 0x1000 MAP_ANONYMOUS = 0x1000
MAP_COPY = 0x2 MAP_COPY = 0x2
MAP_EXCL = 0x4000
MAP_FILE = 0x0 MAP_FILE = 0x0
MAP_FIXED = 0x10 MAP_FIXED = 0x10
MAP_HASSEMAPHORE = 0x200 MAP_HASSEMAPHORE = 0x200
...@@ -1191,6 +1200,7 @@ const ( ...@@ -1191,6 +1200,7 @@ const (
RTV_SPIPE = 0x10 RTV_SPIPE = 0x10
RTV_SSTHRESH = 0x20 RTV_SSTHRESH = 0x20
RTV_WEIGHT = 0x100 RTV_WEIGHT = 0x100
RT_ALL_FIBS = -0x1
RT_CACHING_CONTEXT = 0x1 RT_CACHING_CONTEXT = 0x1
RT_DEFAULT_FIB = 0x0 RT_DEFAULT_FIB = 0x0
RT_NORTREF = 0x2 RT_NORTREF = 0x2
...@@ -1404,7 +1414,7 @@ const ( ...@@ -1404,7 +1414,7 @@ const (
TIOCSTI = 0x80017472 TIOCSTI = 0x80017472
TIOCSTOP = 0x2000746f TIOCSTOP = 0x2000746f
TIOCSWINSZ = 0x80087467 TIOCSWINSZ = 0x80087467
TIOCTIMESTAMP = 0x40107459 TIOCTIMESTAMP = 0x40087459
TIOCUCNTL = 0x80047466 TIOCUCNTL = 0x80047466
TOSTOP = 0x400000 TOSTOP = 0x400000
VDISCARD = 0xf VDISCARD = 0xf
......
...@@ -182,7 +182,7 @@ const ( ...@@ -182,7 +182,7 @@ const (
SYS_YIELD = 321 // { int yield(void); } SYS_YIELD = 321 // { int yield(void); }
SYS_MLOCKALL = 324 // { int mlockall(int how); } SYS_MLOCKALL = 324 // { int mlockall(int how); }
SYS_MUNLOCKALL = 325 // { int munlockall(void); } SYS_MUNLOCKALL = 325 // { int munlockall(void); }
SYS___GETCWD = 326 // { int __getcwd(u_char *buf, u_int buflen); } SYS___GETCWD = 326 // { int __getcwd(char *buf, u_int buflen); }
SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, \ SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, \
SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct \ SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct \
SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int \ SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int \
...@@ -345,4 +345,5 @@ const ( ...@@ -345,4 +345,5 @@ const (
SYS_ACCEPT4 = 541 // { int accept4(int s, \ SYS_ACCEPT4 = 541 // { int accept4(int s, \
SYS_PIPE2 = 542 // { int pipe2(int *fildes, int flags); } SYS_PIPE2 = 542 // { int pipe2(int *fildes, int flags); }
SYS_PROCCTL = 544 // { int procctl(idtype_t idtype, id_t id, \ SYS_PROCCTL = 544 // { int procctl(idtype_t idtype, id_t id, \
SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, \
) )
...@@ -182,7 +182,7 @@ const ( ...@@ -182,7 +182,7 @@ const (
SYS_YIELD = 321 // { int yield(void); } SYS_YIELD = 321 // { int yield(void); }
SYS_MLOCKALL = 324 // { int mlockall(int how); } SYS_MLOCKALL = 324 // { int mlockall(int how); }
SYS_MUNLOCKALL = 325 // { int munlockall(void); } SYS_MUNLOCKALL = 325 // { int munlockall(void); }
SYS___GETCWD = 326 // { int __getcwd(u_char *buf, u_int buflen); } SYS___GETCWD = 326 // { int __getcwd(char *buf, u_int buflen); }
SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, \ SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, \
SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct \ SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct \
SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int \ SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int \
...@@ -345,4 +345,5 @@ const ( ...@@ -345,4 +345,5 @@ const (
SYS_ACCEPT4 = 541 // { int accept4(int s, \ SYS_ACCEPT4 = 541 // { int accept4(int s, \
SYS_PIPE2 = 542 // { int pipe2(int *fildes, int flags); } SYS_PIPE2 = 542 // { int pipe2(int *fildes, int flags); }
SYS_PROCCTL = 544 // { int procctl(idtype_t idtype, id_t id, \ SYS_PROCCTL = 544 // { int procctl(idtype_t idtype, id_t id, \
SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, \
) )
...@@ -182,7 +182,7 @@ const ( ...@@ -182,7 +182,7 @@ const (
SYS_YIELD = 321 // { int yield(void); } SYS_YIELD = 321 // { int yield(void); }
SYS_MLOCKALL = 324 // { int mlockall(int how); } SYS_MLOCKALL = 324 // { int mlockall(int how); }
SYS_MUNLOCKALL = 325 // { int munlockall(void); } SYS_MUNLOCKALL = 325 // { int munlockall(void); }
SYS___GETCWD = 326 // { int __getcwd(u_char *buf, u_int buflen); } SYS___GETCWD = 326 // { int __getcwd(char *buf, u_int buflen); }
SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, \ SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, \
SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct \ SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct \
SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int \ SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int \
...@@ -345,4 +345,5 @@ const ( ...@@ -345,4 +345,5 @@ const (
SYS_ACCEPT4 = 541 // { int accept4(int s, \ SYS_ACCEPT4 = 541 // { int accept4(int s, \
SYS_PIPE2 = 542 // { int pipe2(int *fildes, int flags); } SYS_PIPE2 = 542 // { int pipe2(int *fildes, int flags); }
SYS_PROCCTL = 544 // { int procctl(idtype_t idtype, id_t id, \ SYS_PROCCTL = 544 // { int procctl(idtype_t idtype, id_t id, \
SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, \
) )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment