|
|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Monday 20 February 2012, H. Peter Anvin wrote: > We are using __u64 as x86-32 compatible since we are sharing most of the > really complex path (like ioctl) with i386 much more so than x86-64. So > it is defined in userspace as: > > typedef unsigned long long __u64 __attribute__((aligned(4))); > > __aligned_u64 obviously is naturally aligned, which matches uint64_t is > userspace. Has someone audited the interfaces to check if there are data structures that use a plain signed or unsigned "long long" instead of __s64/__u64 in places where i386 differs from the other compat implementations? I found DRM_IOCTL_UPDATE_DRAW, but there could be more like this one. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Kernel] [Kernel Newbies] [x86 Platform Driver] [Share Photos] [Security] [Netfilter] [Bugtraq] [Linux FS] [Photo] [Yosemite] [Yosemite Discussion] [MIPS Linux] [ARM Linux] [Linux Security] [Linux RAID] [Samba] [Video 4 Linux] [Device Mapper] [Linux Resources]
![]() |