serenity/Kernel/API
Liav A cbf78975f1 Kernel: Add the futimens syscall
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.
2023-04-10 10:21:28 +02:00
..
POSIX Kernel+Userland: Make some of the POSIX types larger 2023-04-04 10:33:42 +02:00
Device.h Kernel: Mark serenity_dev_ functions as static 2022-03-18 11:59:35 +00:00
DeviceEvent.h
Graphics.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
InodeWatcherEvent.h Kernel+LibC: Move name length constants to Kernel/API from limits.h 2023-01-21 10:43:59 -07:00
InodeWatcherFlags.h
Ioctl.h Kernel+Userland: Move LibC/sys/ioctl_numbers to Kernel/API/Ioctl.h 2023-01-21 10:43:59 -07:00
kcov.h Kernel+Userland: Unify declarations for KCOV in Kernel/API/kcov.h 2023-02-24 20:35:45 +01:00
KeyCode.h Kernel/HID: Untie the PS2 protocol, i8042 hardware and generic devices 2023-04-09 18:11:37 +02:00
MemoryLayout.h
MousePacket.h
prctl_numbers.h Kernel: Merge {get,set}_process_name syscalls to the prctl syscall 2023-03-15 20:10:48 +01:00
serenity_limits.h Kernel: Bump maximum pthread stack size to 32MiB 2022-12-11 19:55:37 -07:00
Syscall.h Kernel: Add the futimens syscall 2023-04-10 10:21:28 +02:00
SyscallString.h Kernel: Stop requiring working malloc for syscall.h includes 2022-05-02 12:44:34 +02:00
TimePage.h
ttydefaults.h Kernel: Move TYPEDEF_* TTY macros to API/ttydefaults.h file 2023-03-01 19:36:53 -07:00
ttydefaultschars.h Kernel: Move TYPEDEF_* TTY macros to API/ttydefaults.h file 2023-03-01 19:36:53 -07:00
Unveil.h Kernel+LibCore+LibC: Implement support for forcing unveil on exec 2022-11-26 12:42:15 -07:00
VirGL.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
VirtualMemoryAnnotations.h Kernel/Memory: Add option to annotate region mapping as immutable 2022-12-16 01:02:00 -07:00