Browse Source

修复sys_rt_sigreturn的系统调用号不正确的问题 (#24)

LoGin 1 year ago
parent
commit
3ef630632f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/header/signal/dragonos.rs

+ 1 - 1
src/header/signal/dragonos.rs

@@ -9,7 +9,7 @@ global_asm!(
     __restore_rt:
     __restore_rt:
         push   rbp      
         push   rbp      
         mov    rbp,rsp
         mov    rbp,rsp
-        mov    eax, 25
+        mov    eax, 15
         int    0x80
         int    0x80
         nop
         nop
         pop    rbp
         pop    rbp