feat: implement kernel capability model
This commit is contained in:
1 parent
9051b8a16e
commit
e7646bbbdb
47 files changed
+1507
-264
No files matched your search
@@ -8,5 +8,10 @@
|
||||
|
||||
extern "C" void _start() {
|
||||
montauk::print("Rebooting...\n");
|
||||
montauk::reset();
|
||||
int rc = montauk::reset();
|
||||
if (rc == montauk::abi::SYS_ERR_PERMISSION)
|
||||
montauk::print("reset: permission denied\n");
|
||||
else
|
||||
montauk::print("reset: reboot failed\n");
|
||||
montauk::exit(1);
|
||||
}
|
||||
Reference in new issue
Block a user