On Thu, Dec 08, 2016 at 02:04:19PM -0800, Andrey Vagin wrote:
> >
> > Index: linux-pcs7.git/kernel/seccomp.c
> > ===
> > --- linux-pcs7.git.orig/kernel/seccomp.c
> > +++ linux-pcs7.git/kernel/seccomp.c
> > @@ -54,6 +54,9 @@
> >
On Wed, Dec 07, 2016 at 08:29:22PM +0300, Cyrill Gorcunov wrote:
> The vanilla kernel is quite reworked in filter management, in particular
> the filters passed into sockets or seccomp are saved in the userspace form
> as struct bpf_prog::orig_prog. We can't port all the patches right now,
> lets
Andrey, i'm committing this, but please, review anyway.
--
Best regards,
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
On 12/07/2016 08:29 PM, Cyrill Gorcunov wrote:
The vanilla kernel is quite reworked in filter management, in particular
the filters passed into sockets or seccomp are
The vanilla kernel is quite reworked in filter management, in particular
the filters passed into sockets or seccomp are saved in the userspace form
as struct bpf_prog::orig_prog. We can't port all the patches right now,
lets rather do a trick for seccomp sake and simply carry a copy inside
struct