diff options
author | Linus Groh <mail@linusgroh.de> | 2021-01-28 23:46:30 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-29 08:45:56 +0100 |
commit | b7b09470ca7f08f42b0f3a6701192adbdf198870 (patch) | |
tree | 76850a3f61492bd2b84ca95275d7cd55407ba38b /Kernel/Syscalls/utime.cpp | |
parent | 6876b9a51497956de86a29ccc5f108b1d37e4327 (diff) | |
download | serenity-b7b09470ca7f08f42b0f3a6701192adbdf198870.zip |
Kernel: Return -ENOTDIR for non-directory mount target
The absence of this check allowed silly things like this:
# touch file
# mount /dev/hda file
Diffstat (limited to 'Kernel/Syscalls/utime.cpp')
0 files changed, 0 insertions, 0 deletions