2017-05-03 21:06:12 +00:00
|
|
|
// Copyright 2017 The Chromium OS Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
|
|
|
//! Small system utility modules for usage by other modules.
|
|
|
|
|
|
|
|
extern crate libc;
|
|
|
|
|
|
|
|
mod mmap;
|
2017-05-03 21:29:14 +00:00
|
|
|
mod eventfd;
|
2017-05-03 21:06:12 +00:00
|
|
|
mod errno;
|
2017-05-16 00:37:47 +00:00
|
|
|
mod guest_address;
|
|
|
|
mod guest_memory;
|
2017-05-04 02:37:03 +00:00
|
|
|
mod struct_util;
|
2017-05-31 23:10:25 +00:00
|
|
|
mod tempdir;
|
2017-05-03 21:06:12 +00:00
|
|
|
|
|
|
|
pub use mmap::*;
|
2017-05-03 21:29:14 +00:00
|
|
|
pub use eventfd::*;
|
2017-05-03 21:06:12 +00:00
|
|
|
pub use errno::{Error, Result};
|
|
|
|
use errno::errno_result;
|
2017-05-16 00:37:47 +00:00
|
|
|
pub use guest_address::*;
|
|
|
|
pub use guest_memory::*;
|
2017-05-04 02:37:03 +00:00
|
|
|
pub use struct_util::*;
|
2017-05-31 23:10:25 +00:00
|
|
|
pub use tempdir::*;
|