On Monday 11 August 2008, Serge E. Hallyn wrote: > 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.
Right. Of course, the hard part here will be to make it obvious to be safe. Having to check all sorts of permissions means there will be many opportunities for exploitable bugs. The best way I can think of for this would be to use existing syscalls (e.g. sched_setscheduler, setfsuid, ...) from user space whereever possible and do only the bare minimum for the restart part in the kernel. Arnd <>< _______________________________________________ Containers mailing list [EMAIL PROTECTED] https://lists.linux-foundation.org/mailman/listinfo/containers _______________________________________________ Devel mailing list Devel@openvz.org https://openvz.org/mailman/listinfo/devel