lkml.org 
[lkml]   [2021]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC PATCH] userfaultfd: support control over mm of remote PIDs
From
Date
On 26.09.21 19:06, Nadav Amit wrote:
> From: Nadav Amit <namit@vmware.com>
>
> Non-cooperative mode is useful but only for forked processes.
> Userfaultfd can be useful to monitor, debug and manage memory of remote
> processes.
>
> To support this mode, add a new flag, UFFD_REMOTE_PID, and an optional
> second argument to the userfaultfd syscall. When the flag is set, the
> second argument is assumed to be the PID of the process that is to be
> monitored. Otherwise the flag is ignored.
>
> The syscall enforces that the caller has CAP_SYS_PTRACE to prevent
> misuse of this feature.

What supposed to happen if the target process intents to use uffd itself?

--
Thanks,

David / dhildenb

\
 
 \ /
  Last update: 2021-09-27 11:30    [W:0.098 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site