💾 Archived View for bbs.geminispace.org › u › sjlxndr › 15520 captured on 2024-05-10 at 13:01:19. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-03-21)
-=-=-=-=-=-=-
Re: "So, I tried to fumble a little with Linux syscalls and..."
this is not kill (1) it is more like murder (8) 😅
Mar 08 · 2 months ago
So, I tried to fumble a little with Linux syscalls and tried to implement a program that restarts the computer. [preformatted] After a quick, successful test, I checked how others implement the reboot. To my surprise, busybox tries to send a signal to init instead of using the reboot syscall, like I did. This makes me wonder, why that is.