aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_exec.c
AgeCommit message (Collapse)Author
2024-07-02kernel/amd64: Handle the user GS segment registerIan Moffett
This commit introduces usage of swapgs to switch out the GS register with the user GS register. An md_td_kick() function is also introduced to start up user threads. The this_cpu() function uses the GS register to read the current CPU structure using a new "self" field. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-07-01kernel: exec: Add execve()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-24Clean out for exptIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-28kernel: exec: Use dummy envpIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-26kernel: Fixup logging to work with syslog changesIan Moffett
This commit removes the KINFO(), KERR(), ... macros Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-16kernel: sched: Move loader code away from schedIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-27kernel: kern_exec: Fix argp resize logicIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-27kernel: kern_exec: Fixup cleanup in execv()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-26kernel: kern_exec: Close file descriptorIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-26kernel: Add support for execv()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>