Add getsid stub

This commit is contained in:
Jeremy Soller
2022-10-17 11:37:11 -06:00
parent fc8e55abd8
commit b30c33adc3
4 changed files with 15 additions and 3 deletions
+4
View File
@@ -267,6 +267,10 @@ impl Pal for Sys {
e(syscall!(GETRLIMIT, resource, rlim)) as c_int
}
fn getsid(pid: pid_t) -> pid_t {
e(unsafe { syscall!(GETSID, pid) }) as pid_t
}
fn gettid() -> pid_t {
e(unsafe { syscall!(GETTID) }) as pid_t
}