mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
![]() 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. |
||
---|---|---|
.. | ||
POSIX | ||
Device.h | ||
DeviceEvent.h | ||
Graphics.h | ||
InodeWatcherEvent.h | ||
InodeWatcherFlags.h | ||
Ioctl.h | ||
kcov.h | ||
KeyCode.h | ||
MemoryLayout.h | ||
MousePacket.h | ||
prctl_numbers.h | ||
serenity_limits.h | ||
Syscall.h | ||
SyscallString.h | ||
TimePage.h | ||
ttydefaults.h | ||
ttydefaultschars.h | ||
Unveil.h | ||
VirGL.h | ||
VirtualMemoryAnnotations.h |