[CRIU] [PATCH] x86: syscall -- Drop redundant _sys_ part from definition

Cyrill Gorcunov gorcunov at gmail.com
Tue Apr 7 05:53:24 PDT 2015


On Tue, Apr 07, 2015 at 03:42:58PM +0300, Pavel Emelyanov wrote:
> > The constants are used directly in generates asm file so it doesn't matter HOW
> > you name it (even __NR_1 and etc). We don't use these __NR_restart_syscall
> > in C code so the change here is simply to use names close to ones used in
> > the kernel.
> 
> Why do we need these constants at all then?

Because it is human readable and allows us to be in sync with kernel code.


More information about the CRIU mailing list