Re: [PATCH v2 4/4] samples: Add example of using PTRACE_GETFD in conjunction with user trap
From: Tycho Andersen
Date: Tue Dec 10 2019 - 10:35:58 EST
On Tue, Dec 10, 2019 at 12:10:52PM +0100, Christian Brauner wrote:
>
> #define SECCOMP_IOCTL_NOTIF_SET_FD SECCOMP_IOWR(4, <sensible struct>)
There's even some code already for this one:
https://lore.kernel.org/linux-fsdevel/20180927151119.9989-6-tycho@xxxxxxxx/
Tycho