Line 33:
Line 33:
FIXME how
FIXME how
−
HOW: The memfd in question is created in the task with lowest PID among those having this shmem segment
+
HOW: The memfd in question is created in the task with lowest PID (see [[postulates]]) among those having this shmem segment
mapped, then criu waits for the others to get this file by opening the creator's /proc/pid/fd/ link.
mapped, then criu waits for the others to get this file by opening the creator's /proc/pid/fd/ link.
Afterwards all the files just mmap() this descriptor into their address space.
Afterwards all the files just mmap() this descriptor into their address space.