qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Implement msg* syscalls


From: Aurelien Jarno
Subject: Re: [Qemu-devel] [PATCH] Implement msg* syscalls
Date: Mon, 13 Oct 2008 23:09:39 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Applied, thanks.

On Mon, Oct 13, 2008 at 01:10:31PM +0300, Kirill A. Shutemov wrote:
> Signed-off-by: Kirill A. Shutemov <address@hidden>
> ---
>  linux-user/syscall.c |   21 +++++++++++++++++++++
>  1 files changed, 21 insertions(+), 0 deletions(-)
> 
> diff --git a/linux-user/syscall.c b/linux-user/syscall.c
> index 7e67093..cf0834f 100644
> --- a/linux-user/syscall.c
> +++ b/linux-user/syscall.c
> @@ -4829,6 +4829,27 @@ abi_long do_syscall(void *cpu_env, int num, abi_long 
> arg1,
>       ret = do_ipc(arg1, arg2, arg3, arg4, arg5, arg6);
>       break;
>  #endif
> +
> +#ifdef TARGET_NR_msgctl
> +    case TARGET_NR_msgctl:
> +        ret = do_msgctl(arg1, arg2, arg3);
> +        break;
> +#endif
> +#ifdef TARGET_NR_msgget
> +    case TARGET_NR_msgget:
> +        ret = get_errno(msgget(arg1, arg2));
> +        break;
> +#endif
> +#ifdef TARGET_NR_msgrcv
> +    case TARGET_NR_msgrcv:
> +        ret = do_msgrcv(arg1, arg2, arg3, arg4, arg5);
> +        break;
> +#endif
> +#ifdef TARGET_NR_msgsnd
> +    case TARGET_NR_msgsnd:
> +        ret = do_msgsnd(arg1, arg2, arg3, arg4);
> +        break;
> +#endif
>      case TARGET_NR_fsync:
>          ret = get_errno(fsync(arg1));
>          break;
> -- 
> 1.5.6.5.GIT
> 
> 
> 
> 

-- 
  .''`.  Aurelien Jarno             | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   address@hidden         | address@hidden
   `-    people.debian.org/~aurel32 | www.aurel32.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]