1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 19:28:11 +00:00
serenity/Kernel/API/POSIX
Andreas Kling 32aa37d5dc Kernel+LibC: Add msync() system call
This allows userspace to trigger a full (FIXME) flush of a shared file
mapping to disk. We iterate over all the mapped pages in the VMObject
and write them out to the underlying inode, one by one. This is rather
naive, and there's lots of room for improvement.

Note that shared file mappings are currently not possible since mmap()
returns ENOTSUP for PROT_WRITE+MAP_SHARED. That restriction will be
removed in a subsequent commit. :^)
2021-11-17 19:34:15 +01:00
..
net Kernel: Add the IFF_* SIOCGIFFLAGS flag macros 2021-10-28 11:24:36 +02:00
netinet Kernel+LibC: Add support for the IPv4 TOS field via the IP_TOS sockopt 2021-10-28 11:24:36 +02:00
sys Kernel+LibC: Add msync() system call 2021-11-17 19:34:15 +01:00
dirent.h Kernel+LibC: Share definitions for dirent.h 2021-08-14 19:58:11 +02:00
fcntl.h Kernel+LibC: Share definitions in fcntl.h and sys/types.h 2021-08-14 19:58:11 +02:00
futex.h Kernel+Userland: Remove global futexes 2021-08-17 01:21:47 +02:00
poll.h Kernel+LibC: Share definitions for poll.h 2021-08-14 19:58:11 +02:00
sched.h Kernel+LibC: Share definitions for sched.h 2021-08-14 19:58:11 +02:00
serenity.h Kernel+LibC: Share definitions for serenity.h 2021-08-14 19:58:11 +02:00
signal.h Kernel+LibC: Share definitions for signal.h 2021-08-14 19:58:11 +02:00
stdio.h Kernel+LibC: Share definitions for stdio.h 2021-08-14 19:58:11 +02:00
termios.h Kernel+LibC: Share definitions for termios.h 2021-08-14 19:58:11 +02:00
time.h Kernel+LibC: Share definitions for time.h and sys/stat.h 2021-08-14 19:58:11 +02:00
unistd.h Kernel: Add _SC_HOST_NAME_MAX 2021-09-11 00:28:39 +02:00