Re: [RFC][PATCH 1/4] checkpoint-restart: general infrastructure

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Arnd Bergmann <arnd@...>
Cc: Dave Hansen <dave@...>, <containers@...>, Theodore Tso <tytso@...>, <linux-kernel@...>
Date: Monday, August 11, 2008 - 11:22 am

Quoting Arnd Bergmann (arnd@arndb.de):

At the checkpoint end, the ptrace checks seem apporpriate:  If you're
allowed to stop and manipulate the process, then you may as well be
allowed to checkpoint and see/tweak its memory that way.

At the restart end, every resource which was checkpointed will have to
be re-created, and permissions checked against the privilege of the
task which did the restart.  We may end up having to make use of the new
credentials for this.

This could become unpleasant: if an unprivileged task asked a privileged
helper to create something for the unprivileged task to use (i.e. a
raw socket), then the user needs to be privileged to re-created the
resource.  But it's necessary.

-serge
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][PATCH 0/4] kernel-based checkpoint restart, Dave Hansen, (Thu Aug 7, 6:40 pm)
Re: [RFC][PATCH 0/4] kernel-based checkpoint restart, Arnd Bergmann, (Fri Aug 8, 5:25 am)
Re: [RFC][PATCH 0/4] kernel-based checkpoint restart, Oren Laadan, (Fri Aug 8, 3:44 pm)
Re: [RFC][PATCH 0/4] kernel-based checkpoint restart, Dave Hansen, (Fri Aug 8, 2:06 pm)
Re: [RFC][PATCH 0/4] kernel-based checkpoint restart, Arnd Bergmann, (Fri Aug 8, 2:18 pm)
[RFC][PATCH 2/4] checkpoint/restart: x86 support, Dave Hansen, (Thu Aug 7, 6:40 pm)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Arnd Bergmann, (Fri Aug 8, 8:09 am)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Oren Laadan, (Fri Aug 8, 4:28 pm)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Arnd Bergmann, (Fri Aug 8, 6:29 pm)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Oren Laadan, (Fri Aug 8, 7:04 pm)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Arnd Bergmann, (Sat Aug 9, 2:43 am)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Dave Hansen, (Fri Aug 8, 8:38 pm)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Jeremy Fitzhardinge, (Sun Aug 10, 10:55 am)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Dave Hansen, (Mon Aug 11, 11:36 am)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Jeremy Fitzhardinge, (Mon Aug 11, 12:07 pm)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Oren Laadan, (Fri Aug 8, 9:20 pm)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Dave Hansen, (Fri Aug 8, 10:20 pm)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Oren Laadan, (Fri Aug 8, 10:35 pm)
Re: [RFC][PATCH 1/4] checkpoint-restart: general infrastruct..., Serge E. Hallyn, (Mon Aug 11, 11:22 am)
checkpoint/restart ABI, Dave Hansen, (Mon Aug 11, 3:48 pm)
Re: checkpoint/restart ABI, Jeremy Fitzhardinge, (Mon Aug 11, 7:38 pm)
Re: checkpoint/restart ABI, Dave Hansen, (Tue Aug 12, 10:58 am)
Re: checkpoint/restart ABI, Jeremy Fitzhardinge, (Tue Aug 12, 12:32 pm)
Re: checkpoint/restart ABI, Dave Hansen, (Tue Aug 12, 12:46 pm)
Re: checkpoint/restart ABI, Oren Laadan, (Wed Aug 20, 5:54 pm)
Re: checkpoint/restart ABI, Dave Hansen, (Wed Aug 20, 6:11 pm)
Re: checkpoint/restart ABI, Jeremy Fitzhardinge, (Tue Aug 12, 1:04 pm)
Re: checkpoint/restart ABI, Oren Laadan, (Wed Aug 20, 5:52 pm)
Re: checkpoint/restart ABI, Peter Chubb, (Mon Aug 11, 7:54 pm)
Re: checkpoint/restart ABI, Dave Hansen, (Tue Aug 12, 11:11 am)
Re: checkpoint/restart ABI, Serge E. Hallyn, (Tue Aug 12, 10:49 am)
Re: checkpoint/restart ABI, Eric W. Biederman, (Thu Aug 28, 7:40 pm)
Re: checkpoint/restart ABI, Oren Laadan, (Mon Aug 11, 5:54 pm)
Re: checkpoint/restart ABI, Arnd Bergmann, (Mon Aug 11, 5:47 pm)
Re: checkpoint/restart ABI, Oren Laadan, (Thu Aug 21, 1:56 am)
Re: checkpoint/restart ABI, Arnd Bergmann, (Thu Aug 21, 4:43 am)
Re: checkpoint/restart ABI, Oren Laadan, (Thu Aug 21, 11:43 am)
Re: checkpoint/restart ABI, Jonathan Corbet, (Mon Aug 11, 7:14 pm)
Re: checkpoint/restart ABI, Dave Hansen, (Mon Aug 11, 7:23 pm)