Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-11-04 | Kernel: Make File's can_read/can_write take a const FileDescription& | Andreas Kling | |
Asking a File if we could possibly read or write it will never mutate the asking FileDescription&, so it should be const. | |||
2019-07-22 | Kernel: Add a mechanism for listening for changes to an inode. | Andreas Kling | |
The syscall is quite simple: int watch_file(const char* path, int path_length); It returns a file descriptor referring to a "InodeWatcher" object in the kernel. It becomes readable whenever something changes about the inode. Currently this is implemented by hooking the "metadata dirty bit" in Inode which isn't perfect, but it's a start. :^) |