This is the final Python bindings patchset for libseccomp, you'll see this
in the git repo shortly.  Comments, feedback, patches, etc. are all still
welcome but I think it is time to get something pushed to the repo; I'm
not going to cut a new release right away so we still have some time to
tweak it if needed.

Changes since the last version are pretty minor: some stylistic changes
based on David's feedback and the regression test wrapper now prints the
test mode (c/python) along with the test output.

Thanks to everyone who helped out with these bindings, and the start of my
Python education :)

---

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            |  546 +++++++++++++++++++++++++++++++++++++
 src/python/setup.py               |   45 +++
 tests/.gitignore                  |    1 
 tests/01-allow.py                 |   40 +++
 tests/02-basic.py                 |   44 +++
 tests/03-basic-chains.py          |   45 +++
 tests/04-multilevel-chains.py     |   56 ++++
 tests/05-long-jumps.py            |   56 ++++
 tests/06-actions.py               |   45 +++
 tests/07-db-bug-looping.py        |   45 +++
 tests/08-subtree-checks.py        |  122 ++++++++
 tests/09-syscall-priority-pre.py  |   47 +++
 tests/10-syscall-priority-post.py |   47 +++
 tests/11-basic-errors.py          |   86 ++++++
 tests/12-basic-masked-ops.c       |    3 
 tests/12-basic-masked-ops.py      |   61 ++++
 tests/13-attrs.py                 |   49 +++
 tests/14-reset.py                 |   43 +++
 tests/15-resolver.py              |   45 +++
 tests/16-arch-basic.py            |   51 +++
 tests/17-arch-merge.py            |   55 ++++
 tests/regression                  |   46 ++-
 tests/util.c                      |    4 
 tests/util.py                     |   56 ++++
 30 files changed, 1849 insertions(+), 21 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
 create mode 100755 tests/05-long-jumps.py
 create mode 100755 tests/06-actions.py
 create mode 100755 tests/07-db-bug-looping.py
 create mode 100755 tests/08-subtree-checks.py
 create mode 100755 tests/09-syscall-priority-pre.py
 create mode 100755 tests/10-syscall-priority-post.py
 create mode 100755 tests/11-basic-errors.py
 create mode 100755 tests/12-basic-masked-ops.py
 create mode 100755 tests/13-attrs.py
 create mode 100755 tests/14-reset.py
 create mode 100755 tests/15-resolver.py
 create mode 100755 tests/16-arch-basic.py
 create mode 100755 tests/17-arch-merge.py
 create mode 100644 tests/util.py

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
libseccomp-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libseccomp-discuss

Reply via email to