diff options
author | Ian Moffett <ian@osmora.org> | 2024-03-18 12:13:47 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-03-18 12:23:09 -0400 |
commit | 5d260b12a8e4ab7c1658a959b0452f2f741964a6 (patch) | |
tree | 3e26adf9e32152ab8b2b55a14e7cff3c785b3f70 /sys/kern/vfs_lookup.c | |
parent | c489b2e5f072d73d0cf17d555c6483da55718235 (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 'sys/kern/vfs_lookup.c')
0 files changed, 0 insertions, 0 deletions