=== Dump shmem in user-mode (unprivileged-mode) ===
+
+
CRIU uses /proc/pid/map_files to dump and restore anonymous shared memory regions, but map_files is restricted to the global CAP_SYS_ADMIN capability. In most cases, it is possible to dump/restore shared memory region without map_files and we need to implement this in CRIU.
+
+
'''Links:'''
+
* [[User-mode]]
+
+
'''Details:'''
+
* Skill level: intermediate
+
* Language: C
* Suggested by: Andrei Vagin <avagin@gmail.com>
* Suggested by: Andrei Vagin <avagin@gmail.com>
* Suggested by: Pavel Emelyanov <xemul@openvz.org>
* Suggested by: Pavel Emelyanov <xemul@openvz.org>