acpid: do not enter null namespace (workaround for pci)

This commit is contained in:
Jeremy Soller
2025-11-22 17:30:37 -07:00
parent e114fd9bda
commit 2ee3a846fb
+1 -1
View File
@@ -75,7 +75,7 @@ fn daemon(daemon: redox_daemon::Daemon) -> ! {
daemon.ready().expect("acpid: failed to notify parent");
libredox::call::setrens(0, 0).expect("acpid: failed to enter null namespace");
//TODO: needs to open /scheme/pci/access later! libredox::call::setrens(0, 0).expect("acpid: failed to enter null namespace");
event_queue
.subscribe(shutdown_pipe.as_raw_fd() as usize, 0, EventFlags::READ)