Skip to content

Commit e277be1

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 537c3d8 commit e277be1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

vmm/src/lib.rs

Lines changed: 3 additions & 3 deletions
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;
@@ -76,7 +76,7 @@ use memory_model::{GuestAddress, GuestMemory};
7676
use net_util::TapError;
7777
#[cfg(target_arch = "aarch64")]
7878
use serde_json::Value;
79-
pub use sigsys_handler::setup_sigsys_handler;
79+
pub use signal_handler::setup_sigsys_handler;
8080
use sys_util::{EventFd, Terminal};
8181
use vmm_config::boot_source::{BootSourceConfig, BootSourceConfigError};
8282
use vmm_config::drive::{BlockDeviceConfig, BlockDeviceConfigs, DriveError};
File renamed without changes.

0 commit comments

Comments
 (0)