summaryrefslogtreecommitdiff
path: root/Kernel/Syscall.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-03-02 01:50:34 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-03-02 01:52:24 +0100
commit2c5a378ccc916cc8ffb9eb58bbd6558bdfe7f7a7 (patch)
tree293ffebd640c2fcc4a4445eed15941eb48bf81b9 /Kernel/Syscall.h
parent37f6844c6c4702d3244ee4a26eb988fb8dd5a951 (diff)
downloadserenity-2c5a378ccc916cc8ffb9eb58bbd6558bdfe7f7a7.zip
Kernel+Userland: Add symlink() syscall and add "-s" flag to /bin/ln.
It's now possible to create symbolic links! :^) This exposed an issue in Ext2FS where we'd write uninitialized data past the end of an inode's content. Fix this by zeroing out the tail end of the last block in a file.
Diffstat (limited to 'Kernel/Syscall.h')
-rw-r--r--Kernel/Syscall.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Syscall.h b/Kernel/Syscall.h
index 020463322b..bdf5dc7fcb 100644
--- a/Kernel/Syscall.h
+++ b/Kernel/Syscall.h
@@ -84,6 +84,7 @@
__ENUMERATE_SYSCALL(link) \
__ENUMERATE_SYSCALL(chown) \
__ENUMERATE_SYSCALL(fchmod) \
+ __ENUMERATE_SYSCALL(symlink) \
namespace Syscall {