Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-04-26 | kernel: filedesc: Acquire mutex in read() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: filedesc: Acquire mutex in write() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: filedesc: Ensure write() fd is correct | 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-13 | kernel: filedesc: Increment offset per read() | 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: 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-06 | kernel: Check copyin() status | 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-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-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-22 | kernel: filedesc: Handle count of 0 | 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-15 | kernel: Add basic file descriptor support | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> |