summaryrefslogtreecommitdiff
path: root/src/sys/compat
AgeCommit message (Collapse)Author
2 dayskern: syscall: Add SYS_mount syscallIan Moffett
This commit introduces the system call for mounting filesystems. As of now, only the fstype and target params are supported Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskern: mac: Add MAC resource queryingIan Moffett
Introduce a feature where a program with the correct rights may get information about a MAC object Signed-off-by: Ian Moffett <ian@osmora.org>
10 dayskern: compat: Use copyin() in SYS_writeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
11 dayskern: Add initial signals workIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-23kern: security: Add initial support for MACIan Moffett
This commit introduces initial support for mandatory access control. As one may recall, L5 follows "everything is memory". In order to interact with a resource, a process must request it from the kernel in the form of a (sometimes) syncable memory buffer. Each resource as well as processes have an access level, if a process attempts to request a resource with a higher access level than it, the request is rejected by the kernel. However, if a process has a greater than or equal access level as a resource, the request can be granted. Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-20kern: syscall: Add initial write(2) stubIan Moffett
Here we add a write(2) stub and add it to the UNIX syscall interface. We also move the UNIX syscall numbers into compat/unix/syscall.h Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-20kern: proc: Move sys_exit() to sys/compat/unix/*Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>