summaryrefslogtreecommitdiff
path: root/src/stage4/main.js
diff options
context:
space:
mode:
authorspv420 <spv@spv.sh>2022-07-31 20:46:39 -0400
committerspv420 <spv@spv.sh>2022-07-31 20:46:39 -0400
commit30cbeaa4c3c2e07fbabbb231591f95b6a1724e64 (patch)
tree41cbe61781129b7554b2355d362cd2889a578eda /src/stage4/main.js
parentc9bc2881919bfb193bb9b59320fd77734f624566 (diff)
lol
Diffstat (limited to 'src/stage4/main.js')
-rw-r--r--src/stage4/main.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stage4/main.js b/src/stage4/main.js
index af2ed69..89caddb 100644
--- a/src/stage4/main.js
+++ b/src/stage4/main.js
@@ -7,6 +7,7 @@ var listen = scall_wrapper("listen");
var accept = scall_wrapper("accept");
var close = scall_wrapper("close");
var printf = scall_wrapper("printf");
+var reboot = scall_wrapper("reboot");
var AF_INET = 2;
var SOCK_DGRAM = 2;
var SOCK_DGRAM = 2;
@@ -38,6 +39,8 @@ function main() {
sym_cache["JSContextGetGlobalObject"] = JSContextGetGlobalObject + dyld_shc_slide;
prep_shit();
+// reboot();
+
var tfp0 = get_kernel_task();
syslog(LOG_SYSLOG, "__p0laris_LOG_END__");