uhyve-interface 0.3.0

The interface between uhyve and a guest VM
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Parameters for hypercalls.

pub use hermit_abi::{
	O_APPEND, O_CREAT, O_DIRECTORY, O_EXCL, O_RDONLY, O_RDWR, O_TRUNC, O_WRONLY, SEEK_CUR,
	SEEK_END, SEEK_SET,
	errno::{EBADF, EEXIST, EFAULT, EINVAL, EIO, EISDIR, ENOENT, EOVERFLOW, EPERM, EROFS},
};

// File operations supported by Hermit and Uhyve
pub const ALLOWED_OPEN_FLAGS: i32 =
	O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_TRUNC | O_APPEND | O_DIRECTORY;