On Saturday, February 09, 2013 02:29:25 AM vi0oss wrote:
> http://en.wikipedia.org/wiki/Stdarg.h ->
> 
> "providing variadic API functions without also providing equivalent
> functions accepting va_list instead is considered a bad programming
> practice."
> 
> 
> Now thinking whether to stack "if(count==N) seccomp_rule_add(cxt, ac,
> sy, arg[0], ..., argv[N-1])" lines or to just workaround API and hack up
> _seccomp_rule_add to be available for me...
> 
> (writing a simple command-line libseccomp tool: syscall_limiter)

I generally stick to the policy of if you don't have a use for it, don't 
include it; especially when it comes to "forever" things like APIs.  
Personally I haven't had a need for a va_list version of the API so I've spent 
my time working on other things which I do need.

I'll add your request to the todo list pile, but if it is important to you and 
you want to see it added to the library quickly I would encourage you to send 
a patch ...

-- 
paul moore
security and virtualization @ redhat


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
libseccomp-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libseccomp-discuss

Reply via email to