mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
When seccomp traps a SIGSYS, print the syscall number that caused it, the current thread id and thread name to make violations easier to debug. This change requires that all threads are allowed to execute the `gettid` and the `prctl` syscalls, thus the seccomp filters have also been adjusted. On-behalf-of: SAP sebastian.eydam@sap.com Signed-off-by: Sebastian Eydam <sebastian.eydam@cyberus-technology.de>
63 lines
1.9 KiB
TOML
63 lines
1.9 KiB
TOML
[package]
|
|
authors = ["The Cloud Hypervisor Authors"]
|
|
build = "build.rs"
|
|
default-run = "cloud-hypervisor"
|
|
description = "Open source Virtual Machine Monitor (VMM) that runs on top of KVM & MSHV"
|
|
edition = "2024"
|
|
homepage = "https://github.com/cloud-hypervisor/cloud-hypervisor"
|
|
license = "Apache-2.0 AND BSD-3-Clause"
|
|
name = "cloud-hypervisor"
|
|
rust-version.workspace = true
|
|
version = "52.0.0"
|
|
|
|
[dependencies]
|
|
api_client = { path = "../api_client" }
|
|
clap = { workspace = true, features = ["string"] }
|
|
dhat = { workspace = true, optional = true }
|
|
env_logger = { workspace = true }
|
|
event_monitor = { path = "../event_monitor" }
|
|
hypervisor = { path = "../hypervisor" }
|
|
jiff = { workspace = true }
|
|
libc = { workspace = true }
|
|
log = { workspace = true, features = ["std"] }
|
|
option_parser = { path = "../option_parser" }
|
|
seccompiler = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
signal-hook = { workspace = true }
|
|
signal-hook-registry = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tracer = { path = "../tracer" }
|
|
vm-migration = { path = "../vm-migration" }
|
|
vmm = { path = "../vmm" }
|
|
vmm-sys-util = { workspace = true }
|
|
zbus = { version = "5.15.0", optional = true }
|
|
|
|
[dev-dependencies]
|
|
block = { path = "../block" }
|
|
dirs = { workspace = true }
|
|
net_util = { path = "../net_util" }
|
|
serde_json = { workspace = true }
|
|
test_infra = { path = "../test_infra" }
|
|
wait-timeout = { workspace = true }
|
|
|
|
# Please adjust `vmm::feature_list()` accordingly when changing the
|
|
# feature list below
|
|
[features]
|
|
dbus_api = ["vmm/dbus_api", "zbus"]
|
|
default = ["io_uring", "kvm"]
|
|
dhat-heap = ["dhat", "vmm/dhat-heap"] # For heap profiling
|
|
fw_cfg = ["vmm/fw_cfg"]
|
|
guest_debug = ["vmm/guest_debug"]
|
|
igvm = ["mshv", "vmm/igvm"]
|
|
io_uring = ["vmm/io_uring"]
|
|
ivshmem = ["vmm/ivshmem"]
|
|
kvm = ["vmm/kvm"]
|
|
mshv = ["vmm/mshv"]
|
|
pvmemcontrol = ["vmm/pvmemcontrol"]
|
|
sev_snp = ["igvm", "mshv", "vmm/sev_snp"]
|
|
tdx = ["vmm/tdx"]
|
|
tracing = ["tracer/tracing", "vmm/tracing"]
|
|
|
|
[lints]
|
|
workspace = true
|