summaryrefslogtreecommitdiff
path: root/lib/libc/src
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-03-18 12:13:47 -0400
committerIan Moffett <ian@osmora.org>2024-03-18 12:23:09 -0400
commit5d260b12a8e4ab7c1658a959b0452f2f741964a6 (patch)
tree3e26adf9e32152ab8b2b55a14e7cff3c785b3f70 /lib/libc/src
parentc489b2e5f072d73d0cf17d555c6483da55718235 (diff)
kernel: Add copyin() and copyout() routines
This commit adds two new functions, copyin() and copyout() for kernel to userspace access and vice versa. These functions ensure the userspace address being accessed actually belongs to the process running by performing address range checks, thereby preventing bad addresses being passed to syscalls. Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/libc/src')
0 files changed, 0 insertions, 0 deletions