Browse Source

增加getcwd、getppid、getpgid系统调用号 (#8)

* 增加getcwd、getppid、getpgid系统调用号
LoGin 1 year ago
parent
commit
b7ebf35ff3
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/platform/x86_64/nr.rs

+ 3 - 0
src/platform/x86_64/nr.rs

@@ -49,3 +49,6 @@ pub const SYS_MUNMAP: usize = 45;
 
 pub const SYS_MPROTECT: usize = 46;
 pub const SYS_FSTAT: usize = 47;
+pub const SYS_GETCWD: usize = 48;
+pub const SYS_GETPPID: usize = 49;
+pub const SYS_GETPGID: usize = 50;