Messages in this thread | | | From | Arnd Bergmann <> | Subject | Re: SYSV IPC broken for no-legacy syscall kernels (was Re: [RFC PATCH v1 26/31] ARC: Build system: Makefiles, Kconfig, Linker script) | Date | Mon, 11 Mar 2013 14:50:11 +0000 |
| |
On Monday 11 March 2013, Vineet Gupta wrote: > The question is what should the msgctl(2) ABI be w.r.t. @cmd arg. Does it need to > be of type 0x01NN (i.e. IPC_64 ORed) or should it be be 0xNN. If it's 0x01NN, > then ARCH_WANT_IPC_PARSE_VERSION is needed in Kconfig, otherwise, I need to fix > uClibc. > > The reason for confusion seems to be a comment in existing uapi/linux/ipc.h which > seems to suggest that IPC_OLD is 0 and IPC_64 is newer version.
Modern architecture ports should ignore this flag and always use the IPC_64 API, there is no reason to maintain backwards compatibility with old binaries.
Arnd
| |