summaryrefslogtreecommitdiff
path: root/Kernel/Net
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-23 15:29:58 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-23 16:45:05 +0100
commitf2ea6c3d4c32c0a6ed160980bf19219d64ddccab (patch)
tree74a301cc1dad7d18092fb2f3a560df7693f2cb34 /Kernel/Net
parent86a9e26996455a3558b3b69ff2bc68454346400b (diff)
downloadserenity-f2ea6c3d4c32c0a6ed160980bf19219d64ddccab.zip
Ext2FS: Don't create a directory when asked to create a socket file
(mode & S_IFDIR) is not enough to check if "mode" is a directory, we have to check all the bits in the S_IFMT mask. Use the is_directory() helper to fix this bug.
Diffstat (limited to 'Kernel/Net')
0 files changed, 0 insertions, 0 deletions