[CRIU] [PATCH 0/2] creds: Allow to dump tasks with restricted children

Cyrill Gorcunov gorcunov at openvz.org
Thu Nov 26 04:24:38 PST 2015


Currently we refuse to dump tasks which children has different caps even
if they are more restricted than the parent. Lets allow that for simple
case where children simply more restricted than a parent.

Cyrill Gorcunov (2):
  creds: Move proc_status_creds::cap_X at the end of structure
  creds: Allow to restore more restricted tasks

 include/proc_parse.h | 17 +++++++-----
 proc_parse.c         | 76 ++++++++++++++++++++++++++++++++++++++++++++++++----
 ptrace.c             |  2 +-
 3 files changed, 83 insertions(+), 12 deletions(-)

-- 
2.5.0



More information about the CRIU mailing list