1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-03 07:58:12 +00:00
serenity/Kernel/API/POSIX/sys
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
..
mman.h Kernel+LibC: Add msync() system call 2021-11-17 19:34:15 +01:00
ptrace.h Kernel: Define PT_READ_I and PT_READ_D 2021-09-23 18:51:21 +02:00
socket.h LibC: Include sys/uio.h in sys/socket.h for struct iovec 2021-10-28 11:24:36 +02:00
stat.h Kernel+LibC: Share definitions for time.h and sys/stat.h 2021-08-14 19:58:11 +02:00
statvfs.h Kernel+LibC: Share definitions for sys/statvfs.h 2021-08-14 19:58:11 +02:00
time.h Kernel+LibC: Share definitions for sys/time.h 2021-08-14 19:58:11 +02:00
times.h Kernel+LibC: Share definitions for sys/times.h 2021-08-14 19:58:11 +02:00
types.h Kernel: Make makedev()/minor()/major() static 2021-08-16 23:26:52 +02:00
uio.h Kernel+LibC: Share definitions for sys/uio.h 2021-08-14 19:58:11 +02:00
un.h Kernel+LibC: Share definitions for sys/socket.h and sys/un.h 2021-08-14 19:58:11 +02:00
utsname.h Kernel+LibC: Share definitions for utsname.h 2021-08-14 19:58:11 +02:00
wait.h Kernel+LibC: Share definitions for sys/wait.h 2021-08-14 19:58:11 +02:00