Explorar o código

Fix signess bug in the syscall dispatcher (#88)

Michał Kowalczyk %!s(int64=8) %!d(string=hai) anos
pai
achega
26eae52106
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      LibOS/shim/src/syscallas.S

+ 1 - 1
LibOS/shim/src/syscallas.S

@@ -41,7 +41,7 @@ syscalldb:
         pushq %rbx
 
         cmp $LIBOS_SYSCALL_BOUND, %rax
-        jge isundef
+        jae isundef
 
         leaq shim_table(%rip), %rbx
         movq (%rbx,%rax,8), %rbx