qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3] linux-user: improve target_to_host_sock_type


From: Petar Jovanovic
Subject: Re: [Qemu-devel] [PATCH v3] linux-user: improve target_to_host_sock_type conversion
Date: Tue, 2 Jul 2013 21:43:06 +0000

________________________________________
From: Peter Maydell address@hidden
Sent: Tuesday, July 02, 2013 6:34 PM
To: Petar Jovanovic
Cc: Petar Jovanovic; address@hidden; address@hidden; address@hidden; 
address@hidden
Subject: Re: [PATCH v3] linux-user: improve target_to_host_sock_type conversion

>> What values are you refering to?

> arch/sparc/include/uapi/asm/fcntl.h:#define O_CLOEXEC   0x400000
> arch/alpha/include/asm/socket.h:#define SOCK_NONBLOCK   0x40000000
> arch/mips/include/uapi/asm/fcntl.h:#define O_NONBLOCK   0x0080
> arch/sparc/include/uapi/asm/fcntl.h:#define O_NONBLOCK  0x4000

I see, there have been some exceptions.
I had to make some calls as the kernel itself is inconsistent, and I hoped
that consistency over socket.h would be helpful.

Regards,
Petar




reply via email to

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