Hey paul!

Great idea, I was wondering why libseccomp dont have the binding but 
hopefully you made it! greate news I allways use swig as glue between 
languages due to the simplify of integration.

I will checkout your last version as fast I have time!

Regards,
Luis


On 08/10/12 22:23, Paul Moore wrote:
> A first draft of Python bindings for libseccomp.  Buyer beware, when I
> say "draft" I'm not kidding; this is my first endeavor with Python and
> I'm sure there are a number of areas where I've done something stupid.
>
> Demonstrations of my stupidity are of course very welcome :)  Just a
> mention up front that I am not going to be in a position to respond to
> much email, if any, for the next couple of weeks (starting in a few
> hours) so while I appreciate your feedback, I probably won't be able
> to respond (or put out a v2 patchset) for a while.
>
> Also, you'll note that the tests, patch 3/3, are incomplete with only
> the first four converted into Python; this will obviously be fixed in
> later versions, but I wanted to get this patch out sooner rather than
> later so everyone could take a look.
>
> Thanks,
> -Paul
>
> P.S. Dan and David, in case you're not already aware, the libseccomp
> git repository (what these patches are based on) can be found at the
> links below:
>
>   * git://git.code.sf.net/p/libseccomp/libseccom
>   * http://sourceforge.net/p/libseccomp/libseccomp
>
>
> ---
>
> Paul Moore (3):
>        api: add Python bindings via Cython
>        tests: add basic support for python tests
>        tests: add python versions of the existing tests
>
>
>   configure                     |   25 ++
>   macros.mk                     |   32 ++-
>   src/Makefile                  |   26 ++
>   src/python/.gitignore         |    2
>   src/python/Makefile           |   54 ++++
>   src/python/libseccomp.pxd     |   93 ++++++++
>   src/python/seccomp.pyx        |  506 
> +++++++++++++++++++++++++++++++++++++++++
>   src/python/setup.py           |   45 ++++
>   tests/01-allow.py             |   45 ++++
>   tests/02-basic.py             |   49 ++++
>   tests/03-basic-chains.py      |   50 ++++
>   tests/04-multilevel-chains.py |   61 +++++
>   tests/regression              |   42 +++
>   13 files changed, 1012 insertions(+), 18 deletions(-)
>   create mode 100644 src/python/.gitignore
>   create mode 100644 src/python/Makefile
>   create mode 100644 src/python/libseccomp.pxd
>   create mode 100644 src/python/seccomp.pyx
>   create mode 100644 src/python/setup.py
>   create mode 100755 tests/01-allow.py
>   create mode 100755 tests/02-basic.py
>   create mode 100755 tests/03-basic-chains.py
>   create mode 100755 tests/04-multilevel-chains.py
>
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> libseccomp-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libseccomp-discuss


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
libseccomp-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libseccomp-discuss

Reply via email to