Move to new processctl syscall, share common kernel and ulib headers
This commit is contained in:
@ -6,5 +6,7 @@
|
||||
_start:
|
||||
call _premain
|
||||
|
||||
mov $SYS_QUITPROC, %rax
|
||||
movq $2, %rax // sys processctl
|
||||
movq $0x5E1F, %rdi // self magic num
|
||||
movq $0, %rsi // kill cmd
|
||||
int $0x80
|
||||
|
Reference in New Issue
Block a user