Changeset View
Changeset View
Standalone View
Standalone View
File20/sys/contrib/cloudabi/cloudabi_types_common.h
Context not available. | |||||
#define CLOUDABI_ETXTBSY 74 | #define CLOUDABI_ETXTBSY 74 | ||||
#define CLOUDABI_EXDEV 75 | #define CLOUDABI_EXDEV 75 | ||||
#define CLOUDABI_ENOTCAPABLE 76 | #define CLOUDABI_ENOTCAPABLE 76 | ||||
#define CLOUDABI_EINTEGRITY 77 | |||||
emaste: Interesting, CloudABI has a subset of FreeBSD errnos and maps unhandled ones to ENOSYS. I'm a… | |||||
edUnsubmitted Not Done Inline ActionsExactly. Omitting this here and mapping it to CLOUDABI_EIO or something in cloudabi_errno.c makes most sense. ed: Exactly. Omitting this here and mapping it to `CLOUDABI_EIO` or something in `cloudabi_errno.c`… | |||||
typedef uint16_t cloudabi_eventrwflags_t; | typedef uint16_t cloudabi_eventrwflags_t; | ||||
#define CLOUDABI_EVENT_FD_READWRITE_HANGUP 0x0001 | #define CLOUDABI_EVENT_FD_READWRITE_HANGUP 0x0001 | ||||
Context not available. |
Interesting, CloudABI has a subset of FreeBSD errnos and maps unhandled ones to ENOSYS. I'm a bit surprised that other errnos aren't coerced to a known, closest corresponding value, as is done in the Linuxulator.
cloudabi_types_common.h claims to be automatically generated - I suspect that CLOUDABI_EINTEGRITY should not exist, and EINTEGRITY should be mapped to EINVAL.
CC @ed