Changes

Jump to navigation Jump to search
265 bytes added ,  13:54, 20 April 2017
Line 16: Line 16:     
One more thing, the patchset does, is unification of pstree_item::ids. We have many always checks like "if (item->ids->has_xxx_ns_id)", and they are noisy and over the whole code. The patchset determines and populates not existing ids for the tasks in single place on the stage of image reading. So, after the patchset we'll be able to delete all of these noisy checks and make the code simply and more beautiful. The patchset itself needs this to know, which pid_ns a task belongs to.
 
One more thing, the patchset does, is unification of pstree_item::ids. We have many always checks like "if (item->ids->has_xxx_ns_id)", and they are noisy and over the whole code. The patchset determines and populates not existing ids for the tasks in single place on the stage of image reading. So, after the patchset we'll be able to delete all of these noisy checks and make the code simply and more beautiful. The patchset itself needs this to know, which pid_ns a task belongs to.
 +
 +
=== Known issues ===
 +
* Need to restore pid namespaces in specified user namespaces
 +
* Sessions for processes in sub-namespaces are restored incorrectly
 +
* Unable to handle a case when two processes from one pid namespaces have a parent from another pid namespace.
 +
*

Navigation menu