Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-04-25 | kernel: sched: Use exec_args for argp, envp, etc | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-24 | kernel: Add ioctl support | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-22 | kernel: auxv: Add AT_PAGESIZE | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-21 | kernel: sched: Ensure td is removed from queue | Ian Moffett | |
Upon sched_exit(), the thread should not be in the queue Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-21 | kernel: sched: Create idle thread | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-18 | kernel: filedesc: Handle multiple oflag bits | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-17 | kernel: vfs_subr: Add vfs_write() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-16 | kernel: vm_map: Add mmap() and munmap() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-13 | kernel: signal: Fix deadlock in signal_handle() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-13 | kernel: filedesc: Increment offset per read() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-10 | kernel: create_dev() -> device_create() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-10 | kernel: Get rid of invalid_uaddr() | Ian Moffett | |
Use signal_raise(NULL, SIGSEGV) instead Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-10 | kernel: signals: Add initial signal implementation | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-10 | kernel: sched: Lock thread upon sched_exit() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-10 | kernel: fs: Add devfs | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-10 | kernel: filedesc: Check fd_desc before using it | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-10 | kernel: filedesc: Cleanup whitespace | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-10 | kernel: filedesc: Fix memory leak in sys_read() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-09 | kernel: vfs_lookup: Try looking up in mountlist | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-09 | kernel: vfs_mount: Fix mount code | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-09 | kernel: vfs_subr: Don't require leading '/' | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-09 | kernel: vfs_lookup: Start lookup at idx 1 | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-09 | kernel: sched: Remove useless whitespace | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-09 | kernel/amd64: Add backtrace support for panic() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-08 | kernel: Add device descriptors | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-06 | kernel: Check copyin() status | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-06 | kernel: sched: Load init by itself | Ian Moffett | |
This is temporary Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-04 | kernel: sched: Pass init auxv to dynld | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-31 | kernel: syslog: Cleanup logging routines | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-28 | kernel: Add driver subsystem | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-27 | kernel: Implement lseek() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-27 | kernel: vfs: Add getattr vop | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-26 | kernel: Use 'sio_txn' for file I/O | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-26 | kernel: filedesc: Fix typo in comment | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-26 | kernel: filedesc: Add more comments | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-26 | kernel: Add initial read() implementation | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-26 | kernel: Add sys_close() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-26 | kernel: Add initial open() implementation | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-26 | kernel: filedesc: Create MAX_RW_SIZE define | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-26 | kernel: Add copyinstr() routine | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-25 | kernel: filedesc: Return status in fd_alloc() | Ian Moffett | |
It is better for fd_alloc() to return the status and have one of the arguments point to an output than have fd_alloc() return the allocated file descriptor just like that. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-25 | kernel: vfs_lookup: Return -EINVAL instead of -1 | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-22 | kernel: filedesc: Handle count of 0 | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-21 | kernel: sched: Fix stack init code | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-20 | kernel: Require len in vcons_putstr() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-19 | kernel: syscall: Add sys_write() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-19 | kernel: syslog: Make syslog_screen extern | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-18 | kernel: sched: Fix PID assignment | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-18 | kernel: Add copyin() and copyout() routines | Ian Moffett | |
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> | |||
2024-03-17 | kernel: loader: Keep track of program addr range | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> |