1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-16 23:01:01 +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
fcntl.h
futex.h
poll.h
sched.h
serenity.h
signal.h
stdio.h
termios.h
time.h
unistd.h Kernel: Add _SC_HOST_NAME_MAX 2021-09-11 00:28:39 +02:00