Re: [PATCH v4 0/3] powerpc: Enable seccomp filter support

2015-03-25 Thread Michael Ellerman
On Mon, 2015-03-23 at 13:44 +0200, Purcareata Bogdan wrote:
 On 27.02.2015 22:54, Benjamin Herrenschmidt wrote:
  On Fri, 2015-02-27 at 09:28 +0200, Purcareata Bogdan wrote:
  Ping?
 
  What is the ping for ?
 
  Ben.
 
 Hello Ben,
 
 I just wanted to check with you what's the current status of these 
 patches. I noticed in patchwork [1][2][3] that the patches are marked as 
 non-applicable.
 
 As of today, I cloned Michael Ellerman's tree [4], applied the patches 
 on the master branch, compiled and tested. Tests pass both with the 
 libseccomp regression suite and my LXC tests.
 
 Is there a specific tree I should send them against, or on another 
 mailing list? Is there any other reason the patches are not applicable?

I just haven't had time to review them properly.

Because you're touching the syscall path for all powerpc platforms it needs
more scrutiny than the average patch.

It should still make 4.1, probably :)

cheers



___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH v4 0/3] powerpc: Enable seccomp filter support

2015-03-23 Thread Purcareata Bogdan

On 27.02.2015 22:54, Benjamin Herrenschmidt wrote:

On Fri, 2015-02-27 at 09:28 +0200, Purcareata Bogdan wrote:

Ping?


What is the ping for ?

Ben.


Hello Ben,

I just wanted to check with you what's the current status of these 
patches. I noticed in patchwork [1][2][3] that the patches are marked as 
non-applicable.


As of today, I cloned Michael Ellerman's tree [4], applied the patches 
on the master branch, compiled and tested. Tests pass both with the 
libseccomp regression suite and my LXC tests.


Is there a specific tree I should send them against, or on another 
mailing list? Is there any other reason the patches are not applicable?


[1] https://patchwork.ozlabs.org/patch/440827/
[2] https://patchwork.ozlabs.org/patch/440828/
[3] https://patchwork.ozlabs.org/patch/440829/
[4] git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux.git

Thank you,
Bogdan P.


On 18.02.2015 10:16, Bogdan Purcareata wrote:

Add the missing pieces in order to enable SECCOMP_FILTER on PowerPC
architectures, and enable this support.

Testing has been pursued using libseccomp with the latest ppc support patches
[1][2], on Freescale platforms for both ppc and ppc64. Support on ppc64le has
also been tested, courtesy of Mike Strosaker.

[1] https://groups.google.com/forum/#!topic/libseccomp/oz42LfMDsxg
[2] https://groups.google.com/forum/#!topic/libseccomp/TQWfCt_nD7c

v4:
- rebased on top of 3.19

v3:
- keep setting ENOSYS in syscall entry assembly when syscall tracing is disabled

v2:
- move setting ENOSYS from syscall entry assembly to do_syscall_trace_enter

Bogdan Purcareata (3):
powerpc: Don't force ENOSYS as error on syscall fail
powerpc: Relax secure computing on syscall entry trace
powerpc: Enable HAVE_ARCH_SECCOMP_FILTER

   arch/powerpc/Kconfig   | 1 +
   arch/powerpc/kernel/entry_32.S | 7 ++-
   arch/powerpc/kernel/entry_64.S | 5 +++--
   arch/powerpc/kernel/ptrace.c   | 8 ++--
   4 files changed, 16 insertions(+), 5 deletions(-)





___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH v4 0/3] powerpc: Enable seccomp filter support

2015-03-09 Thread Purcareata Bogdan

On 27.02.2015 22:54, Benjamin Herrenschmidt wrote:

On Fri, 2015-02-27 at 09:28 +0200, Purcareata Bogdan wrote:

Ping?


What is the ping for ?

Ben.


Making sure the patches are not lost on the mailing lists :) Didn't 
receive any feedback on v4 and just wanted to check if there's anything 
more I can do.


Thank you,
Bogdan P.


On 18.02.2015 10:16, Bogdan Purcareata wrote:

Add the missing pieces in order to enable SECCOMP_FILTER on PowerPC
architectures, and enable this support.

Testing has been pursued using libseccomp with the latest ppc support patches
[1][2], on Freescale platforms for both ppc and ppc64. Support on ppc64le has
also been tested, courtesy of Mike Strosaker.

[1] https://groups.google.com/forum/#!topic/libseccomp/oz42LfMDsxg
[2] https://groups.google.com/forum/#!topic/libseccomp/TQWfCt_nD7c

v4:
- rebased on top of 3.19

v3:
- keep setting ENOSYS in syscall entry assembly when syscall tracing is disabled

v2:
- move setting ENOSYS from syscall entry assembly to do_syscall_trace_enter

Bogdan Purcareata (3):
powerpc: Don't force ENOSYS as error on syscall fail
powerpc: Relax secure computing on syscall entry trace
powerpc: Enable HAVE_ARCH_SECCOMP_FILTER

   arch/powerpc/Kconfig   | 1 +
   arch/powerpc/kernel/entry_32.S | 7 ++-
   arch/powerpc/kernel/entry_64.S | 5 +++--
   arch/powerpc/kernel/ptrace.c   | 8 ++--
   4 files changed, 16 insertions(+), 5 deletions(-)





___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH v4 0/3] powerpc: Enable seccomp filter support

2015-02-27 Thread Benjamin Herrenschmidt
On Fri, 2015-02-27 at 09:28 +0200, Purcareata Bogdan wrote:
 Ping?

What is the ping for ?

Ben.

 On 18.02.2015 10:16, Bogdan Purcareata wrote:
  Add the missing pieces in order to enable SECCOMP_FILTER on PowerPC
  architectures, and enable this support.
 
  Testing has been pursued using libseccomp with the latest ppc support 
  patches
  [1][2], on Freescale platforms for both ppc and ppc64. Support on ppc64le 
  has
  also been tested, courtesy of Mike Strosaker.
 
  [1] https://groups.google.com/forum/#!topic/libseccomp/oz42LfMDsxg
  [2] https://groups.google.com/forum/#!topic/libseccomp/TQWfCt_nD7c
 
  v4:
  - rebased on top of 3.19
 
  v3:
  - keep setting ENOSYS in syscall entry assembly when syscall tracing is 
  disabled
 
  v2:
  - move setting ENOSYS from syscall entry assembly to do_syscall_trace_enter
 
  Bogdan Purcareata (3):
 powerpc: Don't force ENOSYS as error on syscall fail
 powerpc: Relax secure computing on syscall entry trace
 powerpc: Enable HAVE_ARCH_SECCOMP_FILTER
 
arch/powerpc/Kconfig   | 1 +
arch/powerpc/kernel/entry_32.S | 7 ++-
arch/powerpc/kernel/entry_64.S | 5 +++--
arch/powerpc/kernel/ptrace.c   | 8 ++--
4 files changed, 16 insertions(+), 5 deletions(-)
 


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH v4 0/3] powerpc: Enable seccomp filter support

2015-02-26 Thread Purcareata Bogdan

Ping?

On 18.02.2015 10:16, Bogdan Purcareata wrote:

Add the missing pieces in order to enable SECCOMP_FILTER on PowerPC
architectures, and enable this support.

Testing has been pursued using libseccomp with the latest ppc support patches
[1][2], on Freescale platforms for both ppc and ppc64. Support on ppc64le has
also been tested, courtesy of Mike Strosaker.

[1] https://groups.google.com/forum/#!topic/libseccomp/oz42LfMDsxg
[2] https://groups.google.com/forum/#!topic/libseccomp/TQWfCt_nD7c

v4:
- rebased on top of 3.19

v3:
- keep setting ENOSYS in syscall entry assembly when syscall tracing is disabled

v2:
- move setting ENOSYS from syscall entry assembly to do_syscall_trace_enter

Bogdan Purcareata (3):
   powerpc: Don't force ENOSYS as error on syscall fail
   powerpc: Relax secure computing on syscall entry trace
   powerpc: Enable HAVE_ARCH_SECCOMP_FILTER

  arch/powerpc/Kconfig   | 1 +
  arch/powerpc/kernel/entry_32.S | 7 ++-
  arch/powerpc/kernel/entry_64.S | 5 +++--
  arch/powerpc/kernel/ptrace.c   | 8 ++--
  4 files changed, 16 insertions(+), 5 deletions(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH v4 0/3] powerpc: Enable seccomp filter support

2015-02-18 Thread Bogdan Purcareata
Add the missing pieces in order to enable SECCOMP_FILTER on PowerPC
architectures, and enable this support.

Testing has been pursued using libseccomp with the latest ppc support patches
[1][2], on Freescale platforms for both ppc and ppc64. Support on ppc64le has
also been tested, courtesy of Mike Strosaker.

[1] https://groups.google.com/forum/#!topic/libseccomp/oz42LfMDsxg
[2] https://groups.google.com/forum/#!topic/libseccomp/TQWfCt_nD7c

v4:
- rebased on top of 3.19

v3:
- keep setting ENOSYS in syscall entry assembly when syscall tracing is disabled

v2:
- move setting ENOSYS from syscall entry assembly to do_syscall_trace_enter

Bogdan Purcareata (3):
  powerpc: Don't force ENOSYS as error on syscall fail
  powerpc: Relax secure computing on syscall entry trace
  powerpc: Enable HAVE_ARCH_SECCOMP_FILTER

 arch/powerpc/Kconfig   | 1 +
 arch/powerpc/kernel/entry_32.S | 7 ++-
 arch/powerpc/kernel/entry_64.S | 5 +++--
 arch/powerpc/kernel/ptrace.c   | 8 ++--
 4 files changed, 16 insertions(+), 5 deletions(-)

-- 
2.1.4

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev