sim_platform_linux/lib.rs
1// SPDX-License-Identifier: MPL-2.0
2// This Source Code Form is subject to the terms of the Mozilla Public
3// License, v. 2.0. If a copy of the MPL was not distributed with this
4// file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
6#![forbid(unsafe_code)]
7//! Bounded Linux mechanics. Native paths and portal calls cannot escape this package.
8
9mod cgroup_limits;
10mod transport;
11pub use cgroup_limits::{
12 CgroupV2Limits, MAXIMUM_PINNED_BOOT_TREE_BYTES, MAXIMUM_PINNED_BOOT_TREE_ENTRIES,
13};
14pub use transport::{LinuxDnsPort, LinuxIpcPort, LinuxSocketPort, bind_transport_services};
15
16mod linux;
17
18pub use linux::*;