On Thursday, July 07, 2011 08:04:37 Bernd Schmidt wrote: > This fixes a problem identified by Mark Salter on C6X big-endian > systems. We should not use "unsigned short int mode"; the proper type is > in theory mode_t, but here we need to use kernel_mode_t since this > structure is used for communication with the kernel, and some targets > have a 16-bit kernel_mode_t and 32-bit mode_t.
my concern here would be for big endian arches where kernel_mode_t is not a short. i think that would break the ABI for them if they're using the common ipc.h ? > Please also compare linux-2.6/include/asm-generic/ipcbuf.h, which uses > the same definition for mode/pad1 as the one introduced by the patch. right, but many of the ports predate the asm-generic code :). -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
