lkml.org 
[lkml]   [2014]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [CRIU] [PATCH 1/3] prctl: reduce permissions to change boundaries of data, brk and stack
Hi, Eric,

>>>> Why can't you have the process of interest do:
>>>> ptrace(PTRACE_ATTACHME);
>>>> execve(executable, args, ...);
>>>>
>>>> /* Have the ptracer inject the recovery/fixup code */
>>>> /* Fix up the mostly correct process to look like it has been
>>>> * executing for a while.
>>>> */

> 2. What you propose means we have to effectively strace and execve-ing task. As
> compared with plain prlctl this is up to ~600 times slower. I've made such an experiment.

Have you had time to think on the issue? If the prctl restrictions do not work,
what else can it be?

Thanks,
Pavel


\
 
 \ /
  Last update: 2014-03-07 15:41    [W:0.064 / U:1.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site