[CRIU] [PATCH v2 0/3] vzct: c/r kernel.core_pattern sysctl

Cyrill Gorcunov gorcunov at virtuozzo.com
Fri Feb 26 02:17:02 PST 2016


On Fri, Feb 26, 2016 at 01:06:21PM +0300, Pavel Tikhomirov wrote:
> >So probably worth to think if some of arguments might be needed
> >in future?
> 
> To be able to pass data from criu to plugin and vice versa, we can use NULL
> terminated (void *args[]) array to pass variable amount of arguments to
> plugin hook. Other possibility is using va_arg for plugin functions. Please,
> let me know which way is preferable. Or may be we have some other option?

Yes, I think va_arg might be better here. xemul@?


More information about the CRIU mailing list