On Wednesday, October 02, 2013 08:48:18 PM Joe MacDonald wrote:
> I'm not sure that there's a huge win or loss either way, though I can
> certainly see your point of view.

Okay, lets punt on this idea then for the time being.

> As it turns out the whole reason I started down this path is from a
> packaging point of view.  I'm using libseccomp with some Yocto/OE
> configurations and they've got an infrastructure for doing package
> regression testing by using the packages' own self-testing.

Can you elaborate a bit more?  RPM based packages have a self-test mechanism 
that kicks in during build time and I believe Debian has something similar, 
what does Yocto/OE have?

FWIW, I currently have some patches queued up which will enable a "check" 
target in the top level makefile which will run the regression tests and 
return an error code based on pass/fail.  The idea is to make the RPM/Deb 
based package self-tests a bit easier.  Once I resolve a few other things I'll 
be pushing these patches to the repository.

> Looking at what libseccomp includes, I think it would fit well with
> that model and help me identify regressions that may either be due to
> packaging or cross-compilation that I wouldn't be able to (easily)
> find otherwise.

Are these done at package build time or by an admin during normal runtime?

> They're not the sort of thing that would ever be installed by default in any
> regular build, but something that could be brought in for special case
> testing and, as in my case, a possible validation step before calling it
> done.

Hmmm, pointer to more information please.
 
> The existing tests include, for example, bash and dbus self-tests,
> both of which I think fall into the same category as you've said the
> libseccomp tests land in, but I could very well be mistaken here as
> I've only really been following along libseccomp development until
> now, not using it much.

-- 
paul moore
security and virtualization @ redhat


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
libseccomp-discuss mailing list
libseccomp-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libseccomp-discuss

Reply via email to