We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b221d31 commit c57f589Copy full SHA for c57f589
src/main.rs
@@ -149,12 +149,6 @@ fn main() {
149
// It's safe to unwrap here because clap's been provided with a default value
150
let instance_id = cmd_arguments.value_of("id").unwrap().to_string();
151
152
- // We disable seccomp filtering when testing, because when running the test_gnutests
153
- // integration test from test_unittests.py, an invalid syscall is issued, and we crash
154
- // otherwise.
155
- #[cfg(test)]
156
- let seccomp_level = seccomp::SECCOMP_LEVEL_NONE;
157
- #[cfg(not(test))]
158
// It's safe to unwrap here because clap's been provided with a default value,
159
// and allowed values are guaranteed to parse to u32.
160
let seccomp_level = cmd_arguments
0 commit comments