[CRIU] [PATCH 19/20] x86: fixed the definition of the syscall sys_getpgid --- it actually has one parameter.
Pavel Emelyanov
xemul at parallels.com
Wed Dec 12 11:09:46 EST 2012
On 12/12/2012 05:34 PM, alekskartashov at parallels.com wrote:
> From: Alexander Kartashov <alekskartashov at parallels.com>
>
>
> Signed-off-by: Alexander Kartashov <alekskartashov at parallels.com>
> ---
> arch/x86/syscall-x86-64.def | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/x86/syscall-x86-64.def b/arch/x86/syscall-x86-64.def
> index 7121e60..70d707d 100644
> --- a/arch/x86/syscall-x86-64.def
> +++ b/arch/x86/syscall-x86-64.def
> @@ -50,7 +50,7 @@ __NR_readlink 89 sys_readlink (const char *path, char *buf, int bufsize)
> __NR_getgroups 115 sys_getgroups (int gsize, unsigned int *groups)
> __NR_setresuid 117 sys_setresuid (int uid, int euid, int suid)
> __NR_setresgid 119 sys_setresgid (int gid, int egid, int sgid)
> -__NR_getpgid 121 sys_getpgid (void)
> +__NR_getpgid 121 sys_getpgid (pid_t pid)
> __NR_setfsuid 122 sys_setfsuid (int fsuid)
> __NR_setfsgid 123 sys_setfsgid (int fsgid)
> __NR_getsid 124 sys_getsid (void)
>
This should be one of the first patches, and include the callers' fixes as well.
More information about the CRIU
mailing list