summaryrefslogtreecommitdiff
path: root/Kernel/Makefile
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-07-22 20:01:11 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-07-22 20:01:11 +0200
commitc8e2bb5605adea7fff02a0e51b8246f944ba29ad (patch)
treeac7155364208f7dd559a5d594e1a47df93427cd0 /Kernel/Makefile
parenta9adf4c95b8ee3ba892878daec81d6cfc809be75 (diff)
downloadserenity-c8e2bb5605adea7fff02a0e51b8246f944ba29ad.zip
Kernel: Add a mechanism for listening for changes to an inode.
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. :^)
Diffstat (limited to 'Kernel/Makefile')
-rw-r--r--Kernel/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Makefile b/Kernel/Makefile
index a508a8cc24..62f8b1276b 100644
--- a/Kernel/Makefile
+++ b/Kernel/Makefile
@@ -72,6 +72,7 @@ VFS_OBJS = \
Devices/DebugLogDevice.o \
Devices/DiskPartition.o \
Devices/MBRPartitionTable.o \
+ FileSystem/InodeWatcher.o \
FileSystem/FileSystem.o \
FileSystem/DiskBackedFileSystem.o \
FileSystem/Ext2FileSystem.o \