this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Implement sys_getpgid

+27
+1
src/kernel/emulation/linux/CMakeLists.txt
··· 65 65 unistd/setpgid.c 66 66 unistd/setgroups.c 67 67 unistd/getgroups.c 68 + unistd/getpgid.c 68 69 unistd/pipe.c 69 70 unistd/chmod_extended.c 70 71 unistd/fchmod_extended.c
+3
src/kernel/emulation/linux/syscalls.c
··· 40 40 #include "unistd/chdir.h" 41 41 #include "unistd/mknod.h" 42 42 #include "unistd/chmod.h" 43 + #include "unistd/getpgid.h" 44 + #include "unistd/setpgid.h" 43 45 #include "unistd/chown.h" 44 46 #include "unistd/lchown.h" 45 47 #include "unistd/getgid.h" ··· 224 226 [139] = sys_futimes, 225 227 [142] = sys_gethostuuid, 226 228 [147] = sys_setsid, 229 + [151] = sys_getpgid, 227 230 [153] = sys_pread, 228 231 [154] = sys_pwrite, 229 232 [157] = sys_statfs,
+16
src/kernel/emulation/linux/unistd/getpgid.c
··· 1 + #include "getpgid.h" 2 + #include "../base.h" 3 + #include "../errno.h" 4 + #include <asm/unistd.h> 5 + 6 + long sys_getpgid(int pid) 7 + { 8 + int ret; 9 + 10 + ret = LINUX_SYSCALL(__NR_getpgid, pid); 11 + if (ret < 0) 12 + ret = errno_linux_to_bsd(ret); 13 + 14 + return ret; 15 + } 16 +
+7
src/kernel/emulation/linux/unistd/getpgid.h
··· 1 + #ifndef LINUX_GETPGID_H 2 + #define LINUX_GETPGID_H 3 + 4 + long sys_getpgid(int pid); 5 + 6 + #endif 7 +