bionic/libc
Philip Hatcher 9ded07cff6 bionic: make epoll_event structure packed
Description: In the kernel the epoll_event structure is packed
in 64 bit kernel builds to allow the structure to be more easily
compatible with 32 bit user space.  As a result, when user space
is 64-bit the structure must be packed as well.

Add unit test to show the ptr alignment issue.

Change-Id: I2c4848d5e38a357219091f350f9b6e3da05090da
Signed-off-by: Philip Hatcher <philip.hatcher@intel.com>
Signed-off-by: Fengwei Yin <fengwei.yin@intel.com>
Reviewed-by: Hazarika, Prodyut <prodyut.hazarika@intel.com>
Tested-by: Hazarika, Prodyut <prodyut.hazarika@intel.com>
2014-05-05 19:48:55 -07:00
..
arch-arm LP64 shouldn't include the non-standard <time64.h> cruft. 2014-04-22 13:55:58 -07:00
arch-arm64 Clean up <machine/ieee.h>. 2014-04-16 16:31:17 -07:00
arch-common/bionic Fixes for __cxa_finalize 2014-05-05 11:36:57 -07:00
arch-mips LP64 shouldn't include the non-standard <time64.h> cruft. 2014-04-22 13:55:58 -07:00
arch-mips64 Clean up <machine/ieee.h>. 2014-04-16 16:31:17 -07:00
arch-x86 LP64 shouldn't include the non-standard <time64.h> cruft. 2014-04-22 13:55:58 -07:00
arch-x86_64 Clean up <machine/ieee.h>. 2014-04-16 16:31:17 -07:00
bionic Fix iswctype. 2014-05-02 16:25:59 -07:00
dns bionic: Replace iface with opaque netid in resolver. 2014-04-01 16:25:49 -04:00
include bionic: make epoll_event structure packed 2014-05-05 19:48:55 -07:00
kernel Keep the kernel header scrubber's data structures in sync. 2014-05-01 10:27:49 -07:00
private Allow liblog to pass failure reasons to debuggerd. 2014-04-23 14:52:49 -07:00
stdio Merge "Disable %n in printf and vfwprintf." 2014-05-05 21:49:22 +00:00
stdlib Fixes for __cxa_finalize 2014-05-05 11:36:57 -07:00
tools Update the NOTICE files and improve the script slightly. 2014-05-05 16:23:15 -07:00
tzcode Remove the non-standard time64 stuff for LP64. 2014-05-05 17:14:02 -07:00
unistd Reimplement clock(3) and switch to OpenBSD time(3). 2014-03-11 13:37:11 -07:00
upstream-dlmalloc Fix build warning of initialization but no use. 2012-09-06 09:59:13 -07:00
upstream-freebsd Merge "Switch to current upstream OpenBSD wsetup.c." 2014-05-05 21:33:22 +00:00
upstream-netbsd Clean up and document our hacks for building BSD source. 2014-04-21 17:13:46 -07:00
upstream-openbsd Sync with upstream OpenBSD. 2014-05-05 14:57:23 -07:00
zoneinfo Upgrade to tzdata2014b. 2014-04-02 14:43:27 -07:00
Android.mk Merge "Switch to current upstream OpenBSD wsetup.c." 2014-05-05 21:33:22 +00:00
crt.mk Reconfig libc's Android.mk to build for multilib 2014-02-12 13:58:34 -08:00
MODULE_LICENSE_BSD auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
NOTICE Update the NOTICE files and improve the script slightly. 2014-05-05 16:23:15 -07:00
SYSCALLS.TXT Implement _Exit(3). 2014-04-08 17:16:13 -07:00