diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-03-02 01:50:34 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-03-02 01:52:24 +0100 |
commit | 2c5a378ccc916cc8ffb9eb58bbd6558bdfe7f7a7 (patch) | |
tree | 293ffebd640c2fcc4a4445eed15941eb48bf81b9 /Kernel/Syscall.h | |
parent | 37f6844c6c4702d3244ee4a26eb988fb8dd5a951 (diff) | |
download | serenity-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.h | 1 |
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 { |