소스 검색

Fix signess bug in the syscall dispatcher (#88)

Michał Kowalczyk 8 년 전
부모
커밋
26eae52106
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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