Removal of debugging code
This commit is contained in:
parent
c9cb0511e7
commit
6dc266edbd
1 changed files with 0 additions and 3 deletions
|
@ -177,14 +177,11 @@ fn execute_container<'a>(ins: &InstanceHandle, arguments: Vec<&str>, shell: bool
|
||||||
let (reader, writer) = os_pipe::pipe().unwrap();
|
let (reader, writer) = os_pipe::pipe().unwrap();
|
||||||
let fd = writer.as_raw_fd();
|
let fd = writer.as_raw_fd();
|
||||||
let (sec_reader, sec_writer) = os_pipe::pipe().unwrap();
|
let (sec_reader, sec_writer) = os_pipe::pipe().unwrap();
|
||||||
let time = std::time::SystemTime::now();
|
|
||||||
let sec_fd = match cfg.seccomp() {
|
let sec_fd = match cfg.seccomp() {
|
||||||
true => provide_bpf_program(configure_bpf_program(cfg), &sec_reader, sec_writer).unwrap(),
|
true => provide_bpf_program(configure_bpf_program(cfg), &sec_reader, sec_writer).unwrap(),
|
||||||
false => { print_warning("Disabling seccomp filtering can allow for sandbox escape."); 0 },
|
false => { print_warning("Disabling seccomp filtering can allow for sandbox escape."); 0 },
|
||||||
};
|
};
|
||||||
|
|
||||||
println!(" {} ", time.elapsed().unwrap().as_nanos());
|
|
||||||
|
|
||||||
let tc = TermControl::new(0);
|
let tc = TermControl::new(0);
|
||||||
let mut proc = Command::new(BWRAP_EXECUTABLE);
|
let mut proc = Command::new(BWRAP_EXECUTABLE);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue