mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
cbf78975f1
We have a problem with the original utimensat syscall because when we do call LibC futimens function, internally we provide an empty path, and the Kernel get_syscall_path_argument method will detect this as an invalid path. This happens to spit an error for example in the touch utility, so if a user is running "touch non_existing_file", it will create that file, but the user will still see an error coming from LibC futimens function. This new syscall gets an open file description and it provides the same functionality as utimensat, on the specified open file description. The new syscall will be used later by LibC to properly implement LibC futimens function so the situation described with relation to the "touch" utility could be fixed. |
||
---|---|---|
.. | ||
DevPtsFS | ||
Ext2FS | ||
FATFS | ||
ISO9660FS | ||
Plan9FS | ||
ProcFS | ||
RAMFS | ||
SysFS | ||
AnonymousFile.cpp | ||
AnonymousFile.h | ||
BlockBasedFileSystem.cpp | ||
BlockBasedFileSystem.h | ||
Custody.cpp | ||
Custody.h | ||
DeviceFileTypes.h | ||
FIFO.cpp | ||
FIFO.h | ||
File.cpp | ||
File.h | ||
FileBackedFileSystem.cpp | ||
FileBackedFileSystem.h | ||
FileSystem.cpp | ||
FileSystem.h | ||
Inode.cpp | ||
Inode.h | ||
InodeFile.cpp | ||
InodeFile.h | ||
InodeIdentifier.h | ||
InodeMetadata.cpp | ||
InodeMetadata.h | ||
InodeWatcher.cpp | ||
InodeWatcher.h | ||
Mount.cpp | ||
Mount.h | ||
OpenFileDescription.cpp | ||
OpenFileDescription.h | ||
UnveilNode.h | ||
VirtualFileSystem.cpp | ||
VirtualFileSystem.h |