[CRIU] [PATCH v2] parasite-syscall: make code_syscall local

Cyrill Gorcunov gorcunov at gmail.com
Thu Mar 17 08:10:21 PDT 2016


On Thu, Mar 17, 2016 at 04:36:15PM +0300, Dmitry Safonov wrote:
> On 03/17/2016 04:33 PM, Cyrill Gorcunov wrote:
> >On Thu, Mar 17, 2016 at 04:30:26PM +0300, Pavel Emelyanov wrote:
> >>Cyrill?
> >Will review today. Dmitry, CC me explicitly please on such things,
> >I simply may miss them in my mbox.
> Yeah, sorry, missed CC, will do.

Please provide code_syscall_size in arguments as well, and add

__parasite_execute_syscall
	...
	BUG_ON(sizeof(code_orig) != @code_syscall_size);
	...

where @code_syscall_size comes from argument.

	Cyrill


More information about the CRIU mailing list