Skip to content

Commit be6fbb2

Browse files
author
Alexandra Iordache
committed
vmm: rename sigsys_handler to signal_handler
This step is in preparation to a refactoring that moves generic signal handling utilities to the sys_util crate, leaving only Firecracker specifics (read: custom signal handlers themselves) in vmm. Signed-off-by: Alexandra Iordache <[email protected]>
1 parent d4a89cd commit be6fbb2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

vmm/src/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ extern crate sys_util;
3939
/// Syscalls allowed through the seccomp filter.
4040
pub mod default_syscalls;
4141
mod device_manager;
42-
/// Signal handling utilities for seccomp violations.
43-
mod sigsys_handler;
42+
/// Signal handling utilities.
43+
mod signal_handler;
4444
/// Wrappers over structures used to configure the VMM.
4545
pub mod vmm_config;
4646
mod vstate;
@@ -77,7 +77,7 @@ use memory_model::{GuestAddress, GuestMemory};
7777
use net_util::TapError;
7878
#[cfg(target_arch = "aarch64")]
7979
use serde_json::Value;
80-
pub use sigsys_handler::setup_sigsys_handler;
80+
pub use signal_handler::setup_sigsys_handler;
8181
use sys_util::{EventFd, Terminal};
8282
use vmm_config::boot_source::{BootSourceConfig, BootSourceConfigError};
8383
use vmm_config::drive::{BlockDeviceConfig, BlockDeviceConfigs, DriveError};
File renamed without changes.

0 commit comments

Comments
 (0)