mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:08:12 +00:00
SystemMonitor: Unveil /dev
DevicesModel wants to match devices supported by the kernel to device nodes in /dev.
This commit is contained in:
parent
3ffdff5c02
commit
1e948f1766
1 changed files with 5 additions and 0 deletions
|
@ -103,6 +103,11 @@ int main(int argc, char** argv)
|
|||
return 1;
|
||||
}
|
||||
|
||||
if (unveil("/dev", "r") < 0) {
|
||||
perror("unveil");
|
||||
return 1;
|
||||
}
|
||||
|
||||
unveil(nullptr, nullptr);
|
||||
|
||||
auto window = GWindow::construct();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue