diff options
author | Ian Moffett <ian@osmora.org> | 2025-10-19 13:05:04 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-10-19 13:09:28 -0400 |
commit | 29b721100aa5ad28a6c63ed79c9e4f0d30b8e333 (patch) | |
tree | 1b7e805b4e8e07c2b18ffb2824047f81fec8bc1d /src/sys/include/compat | |
parent | d0eb9ec78ef113fdb7ccc1ecb4e2677e539fb6cf (diff) |
kern: Add user creds with EUID and RUID + setuid()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/include/compat')
-rw-r--r-- | src/sys/include/compat/unix/syscall.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sys/include/compat/unix/syscall.h b/src/sys/include/compat/unix/syscall.h index 38419af..9b76139 100644 --- a/src/sys/include/compat/unix/syscall.h +++ b/src/sys/include/compat/unix/syscall.h @@ -35,6 +35,7 @@ #include <sys/param.h> #include <sys/mount.h> #include <sys/syscall.h> +#include <os/ucred.h> #include <os/iotap.h> #include <os/reboot.h> #include <dms/dms.h> @@ -98,7 +99,8 @@ scret_t(*g_unix_sctab[])(struct syscall_args *) = { [SYS_close] = sys_close, [SYS_lseek] = sys_lseek, [SYS_socket] = sys_socket, - [SYS_listen] = sys_listen + [SYS_listen] = sys_listen, + [SYS_seteuid] = sys_seteuid }; #endif /* !_NEED_UNIX_SCTAB */ |