________________________________________ From: Peter Maydell [peter.mayd...@linaro.org] Sent: Tuesday, July 02, 2013 6:34 PM To: Petar Jovanovic Cc: Petar Jovanovic; qemu-devel@nongnu.org; aurel...@aurel32.net; riku.voi...@linaro.org; r...@twiddle.net 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