Expand description
Process and thread management syscalls.
Implements PID/TID retrieval per the Strat9-OS ABI.
Functionsยง
- sys_
arch_ prctl - SYS_ARCH_PRCTL (350): Architecture-specific process settings.
- sys_
exit_ group - SYS_EXIT_GROUP (334): Exit all threads in the thread group.
- sys_
getegid - SYS_GETEGID (338): Return effective group id.
- sys_
geteuid - SYS_GETEUID (336): Return effective user id.
- sys_
getgid - SYS_GETGID (337): Return real group id.
- sys_
getpgid - SYS_GETPGID (318): Return process group id for
pid(0= caller). - sys_
getpgrp - POSIX getpgrp wrapper (equivalent to getpgid(0)).
- sys_
getpid - SYS_GETPID (311): Return current process ID.
- sys_
getppid - SYS_PROC_GETPPID/SYS_GETPPID (309): Return parent process ID.
- sys_
getsid - SYS_GETSID (332): Return session id for
pid(0= caller). - sys_
gettid - SYS_GETTID (312): Return current thread ID.
- sys_
getuid - SYS_GETUID (335): Return real user id.
- sys_
set_ tid_ address - SYS_SET_TID_ADDRESS (333): Store
tidptrin the task; return current TID. - sys_
setgid - SYS_SETGID (340): Set real and effective group id (simplified).
- sys_
setpgid - SYS_SETPGID (317): set process group id.
- sys_
setsid - SYS_SETSID (319): create a new session.
- sys_
setuid - SYS_SETUID (339): Set real and effective user id (simplified: no capabilities check).
- sys_
tgkill - SYS_TGKILL (352): Send a signal to a specific thread in a thread group.
- sys_
thread_ create - SYS_THREAD_CREATE (341): create a userspace thread sharing current process resources.
- sys_
thread_ exit - SYS_THREAD_EXIT (343): exit only the current thread.
- sys_
thread_ join - SYS_THREAD_JOIN (342): wait for a thread created by the current task.