Commit f6450412 authored by Jeremy Soller's avatar Jeremy Soller

dnsd: enter null namespace

parent 57cb6cbb
......@@ -49,6 +49,8 @@ fn run() -> Result<()> {
let mut event_queue = EventQueue::<(), Error>::new()
.map_err(|e| Error::from_io_error(e, "failed to create event queue"))?;
syscall::setrens(0, 0).expect("dnsd: failed to enter null namespace");
let dnsd_ = Rc::clone(&dnsd);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment