Elliott Hughes 
							
						 
					 
					
						
						
							
						
						db18cbdd85 
					 
					
						
						
							
							am  d5b14e35: am  faf361a6: am  2fc3e1ef: am  b2c5bd54: Merge "ARM: warn about atexit() calls from legacy shared libraries"  
						
						... 
						
						
						
						* commit 'd5b14e35521ee6a038714c42ec523dcfe183b65b':
  ARM: warn about atexit() calls from legacy shared libraries 
						
						
					 
					
						2012-09-05 10:36:09 -07:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						faf361a6ac 
					 
					
						
						
							
							am  2fc3e1ef: am  b2c5bd54: Merge "ARM: warn about atexit() calls from legacy shared libraries"  
						
						... 
						
						
						
						* commit '2fc3e1efda003d9eb110c3fc08bb32f29c6e8a4b':
  ARM: warn about atexit() calls from legacy shared libraries 
						
						
					 
					
						2012-09-05 10:32:25 -07:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						b2c5bd543d 
					 
					
						
						
							
							Merge "ARM: warn about atexit() calls from legacy shared libraries"  
						
						
						
						
					 
					
						2012-09-05 10:18:43 -07:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						ec0d2a86b7 
					 
					
						
						
							
							am  340ff83f: am  ac3e35cd: am  a76f2eca: am  26f2e4a1: Merge "ARM: make CRT_LEGACY_WORKAROUND work as intended"  
						
						... 
						
						
						
						* commit '340ff83f9878a478cfa4b5aaaf4260f96304c416':
  ARM: make CRT_LEGACY_WORKAROUND work as intended 
						
						
					 
					
						2012-09-05 10:06:25 -07:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						ac3e35cd8f 
					 
					
						
						
							
							am  a76f2eca: am  26f2e4a1: Merge "ARM: make CRT_LEGACY_WORKAROUND work as intended"  
						
						... 
						
						
						
						* commit 'a76f2ecaa203bd8b5cc2ca157f06c0d2de66a52f':
  ARM: make CRT_LEGACY_WORKAROUND work as intended 
						
						
					 
					
						2012-09-05 10:01:48 -07:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						26f2e4a163 
					 
					
						
						
							
							Merge "ARM: make CRT_LEGACY_WORKAROUND work as intended"  
						
						
						
						
					 
					
						2012-09-05 09:43:35 -07:00 
						 
				 
			
				
					
						
							
							
								Ian Rogers 
							
						 
					 
					
						
						
							
						
						48468f258a 
					 
					
						
						
							
							am  64f4e714: am  f71d757f: am  7310a1c4: am  82978cae: Merge "Avoid malloc lock while calling pthread_atfork."  
						
						... 
						
						
						
						* commit '64f4e714186ff69016abcb241fd912ed8ef8472a':
  Avoid malloc lock while calling pthread_atfork. 
						
						
					 
					
						2012-09-05 07:56:21 -07:00 
						 
				 
			
				
					
						
							
							
								Ian Rogers 
							
						 
					 
					
						
						
							
						
						f71d757f6e 
					 
					
						
						
							
							am  7310a1c4: am  82978cae: Merge "Avoid malloc lock while calling pthread_atfork."  
						
						... 
						
						
						
						* commit '7310a1c4326bc875aeea2ce091a4b6558d183b2d':
  Avoid malloc lock while calling pthread_atfork. 
						
						
					 
					
						2012-09-05 07:52:12 -07:00 
						 
				 
			
				
					
						
							
							
								Ian Rogers 
							
						 
					 
					
						
						
							
						
						82978cae4e 
					 
					
						
						
							
							Merge "Avoid malloc lock while calling pthread_atfork."  
						
						
						
						
					 
					
						2012-09-05 07:41:32 -07:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						3ee5775a0f 
					 
					
						
						
							
							am  9deb460a: am  ab558163: am  b9f0a6eb: am  be19a367: Merge "termios: add tcdrain"  
						
						... 
						
						
						
						* commit '9deb460a26b8d5f6c74b5935e35b6f419775a1e5':
  termios: add tcdrain 
						
						
					 
					
						2012-09-04 18:18:01 -07:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						ab558163a3 
					 
					
						
						
							
							am  b9f0a6eb: am  be19a367: Merge "termios: add tcdrain"  
						
						... 
						
						
						
						* commit 'b9f0a6eb75aa8f1eec95fb5718d84cef1d0f61b8':
  termios: add tcdrain 
						
						
					 
					
						2012-09-04 18:13:50 -07:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						be19a36717 
					 
					
						
						
							
							Merge "termios: add tcdrain"  
						
						
						
						
					 
					
						2012-09-04 17:52:40 -07:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						6b08ed7937 
					 
					
						
						
							
							am  fe7ac11a: am  f34c6d77: am  bc374078: am  5ff23471: Merge "Add getsid system call to bionic"  
						
						... 
						
						
						
						* commit 'fe7ac11afa1c3a64c12e7e632e12b5c853ca3d89':
  Add getsid system call to bionic 
						
						
					 
					
						2012-09-04 16:52:05 -07:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						f34c6d7796 
					 
					
						
						
							
							am  bc374078: am  5ff23471: Merge "Add getsid system call to bionic"  
						
						... 
						
						
						
						* commit 'bc3740787ac4108c2e0e247bc7ca2ea66329c5ab':
  Add getsid system call to bionic 
						
						
					 
					
						2012-09-04 16:47:44 -07:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						5ff2347130 
					 
					
						
						
							
							Merge "Add getsid system call to bionic"  
						
						
						
						
					 
					
						2012-09-04 16:36:27 -07:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						5f517ce256 
					 
					
						
						
							
							am  ad639c1d: am  877ad30f: am  507bcabb: am  e03ab936: Merge "Add missing MALLOC_FAILURE_ACTION calls to dlmalloc."  
						
						... 
						
						
						
						* commit 'ad639c1d2bf0c12a77c24a3247cedf86cc719d6e':
  Add missing MALLOC_FAILURE_ACTION calls to dlmalloc. 
						
						
					 
					
						2012-09-04 16:05:33 -07:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						877ad30fd6 
					 
					
						
						
							
							am  507bcabb: am  e03ab936: Merge "Add missing MALLOC_FAILURE_ACTION calls to dlmalloc."  
						
						... 
						
						
						
						* commit '507bcabb3565d20541242ad61f987bc1a6483ba1':
  Add missing MALLOC_FAILURE_ACTION calls to dlmalloc. 
						
						
					 
					
						2012-09-04 16:00:20 -07:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						63deae5e4f 
					 
					
						
						
							
							Add missing MALLOC_FAILURE_ACTION calls to dlmalloc.  
						
						... 
						
						
						
						Without these, sometimes malloc(3) returns NULL without setting errno.
Change-Id: I4708c3f675bf2c878ddcaf012fde7848b255826b 
						
						
					 
					
						2012-09-04 15:42:23 -07:00 
						 
				 
			
				
					
						
							
							
								Vitaly Wool 
							
						 
					 
					
						
						
							
						
						954923858b 
					 
					
						
						
							
							termios: add tcdrain  
						
						... 
						
						
						
						Change-Id: I05c0007f7bcc6ef5295c32f86fafbf1ad31e07fa 
						
						
					 
					
						2012-09-04 14:11:28 +02:00 
						 
				 
			
				
					
						
							
							
								Irina Tirdea 
							
						 
					 
					
						
						
							
						
						1ad10a566e 
					 
					
						
						
							
							Add getsid system call to bionic  
						
						... 
						
						
						
						Add getsid() system call to bionic for
all architectures. This is needed for various tools
(e.g. perf).
Adding the getsid system call was done in 3 steps:
() add getsid system call (function name and syscall
number) to libc/SYSCALLS.TXT
() generate all necessary headers by calling
libc/tools/gensyscalls.py. This patch is adding
the generated files since the build system
does not call gensyscalls.py.
() add the system call signature to libc/include/unistd.h
Change-Id: Id69a257e13ec02e1a44085a6b217a3f19ab025b1
Signed-off-by: Irina Tirdea <irina.tirdea@intel.com > 
						
						
					 
					
						2012-09-03 01:38:34 +03:00 
						 
				 
			
				
					
						
							
							
								Kirill Artamonov 
							
						 
					 
					
						
						
							
						
						3e2d2936b0 
					 
					
						
						
							
							Avoid malloc lock while calling pthread_atfork.  
						
						... 
						
						
						
						Expecting the memory in a forked child process to be sane wrt threading
is a bad idea. An example of a problem is when the parent process has
the malloc lock and a child process is forked. The malloc lock in the
child will appear locked by a thread that doesn't exist.
This change aims to make bionic more compatible with glibc by reseting
the malloc lock in the child forked process, as well as holding it
during the fork. This is a feature in dlmalloc 2.8.6 called
LOCK_AT_FORK. In general this feature isn't necessary as a forked
process will then exec. Some bad applications rely on being able to use
features like malloc before the exec and having multiple threads running
in the parent program. This isn't a problem with glibc and this patch
makes it not a problem for bionic.
Unfortunately for use in bionic, LOCK_AT_FORK has an issue as internally
it uses pthread_atfork that in bionic uses malloc. This leads to the
LOCK_AT_FORK initialization deadlocking with pthread_atfork's call to
malloc due to the malloc lock. This change moves the pthread_atfork logic
in LOCK_AT_FORK to be called without the malloc lock held.
Change-Id: Id68175a564a6abb936ee4488b44d9479f7311f69 
						
						
					 
					
						2012-08-31 11:11:40 -07:00 
						 
				 
			
				
					
						
							
							
								Ian Rogers 
							
						 
					 
					
						
						
							
						
						a4e3391db2 
					 
					
						
						
							
							am  5b0e2de6: am  b9ad1a1e: am  6abab301: am  6fe901ef: Merge "Upgrade to dlmalloc 2.8.6."  
						
						... 
						
						
						
						* commit '5b0e2de6aef96e10c26034d9b447208a56df82d9':
  Upgrade to dlmalloc 2.8.6. 
						
						
					 
					
						2012-08-31 09:03:23 -07:00 
						 
				 
			
				
					
						
							
							
								Ian Rogers 
							
						 
					 
					
						
						
							
						
						b9ad1a1e00 
					 
					
						
						
							
							am  6abab301: am  6fe901ef: Merge "Upgrade to dlmalloc 2.8.6."  
						
						... 
						
						
						
						* commit '6abab301db84af7c98a4873fbf49997078aa19cc':
  Upgrade to dlmalloc 2.8.6. 
						
						
					 
					
						2012-08-31 08:58:33 -07:00 
						 
				 
			
				
					
						
							
							
								Ian Rogers 
							
						 
					 
					
						
						
							
						
						6fe901ef38 
					 
					
						
						
							
							Merge "Upgrade to dlmalloc 2.8.6."  
						
						
						
						
					 
					
						2012-08-31 08:42:41 -07:00 
						 
				 
			
				
					
						
							
							
								Ian Rogers 
							
						 
					 
					
						
						
							
						
						c6d95add30 
					 
					
						
						
							
							Upgrade to dlmalloc 2.8.6.  
						
						... 
						
						
						
						This fixes a bug and enables the use of MORECORE_CONTIGUOUS.
Change-Id: Ia7c5d32bdc46e99b3ecb92ee94d1f702c4385d5d 
						
						
					 
					
						2012-08-29 18:18:29 -07:00 
						 
				 
			
				
					
						
							
							
								Nick Kralevich 
							
						 
					 
					
						
						
							
						
						35c3408b0d 
					 
					
						
						
							
							am  29e52652: am  fe7d7d46: am  92133ca4: am  17d9be8a: Merge "disable _FORTIFY_SOURCE under clang"  
						
						... 
						
						
						
						* commit '29e526527c10f92d0a563d1cdec5f4eab0b33875':
  disable _FORTIFY_SOURCE under clang 
						
						
					 
					
						2012-08-29 14:11:52 -07:00 
						 
				 
			
				
					
						
							
							
								Nick Kralevich 
							
						 
					 
					
						
						
							
						
						fe7d7d4693 
					 
					
						
						
							
							am  92133ca4: am  17d9be8a: Merge "disable _FORTIFY_SOURCE under clang"  
						
						... 
						
						
						
						* commit '92133ca427b9c697d5afb59b74cb2cff50840c8e':
  disable _FORTIFY_SOURCE under clang 
						
						
					 
					
						2012-08-29 14:06:57 -07:00 
						 
				 
			
				
					
						
							
							
								Nick Kralevich 
							
						 
					 
					
						
						
							
						
						17d9be8ad7 
					 
					
						
						
							
							Merge "disable _FORTIFY_SOURCE under clang"  
						
						
						
						
					 
					
						2012-08-29 13:54:49 -07:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						5fe555ecac 
					 
					
						
						
							
							am  b3732862: am  8900e2de: am  e5b85f45: am  0d7177c0: Merge "Clean up warnings in the malloc_debug_* files."  
						
						... 
						
						
						
						* commit 'b37328627be403b9c2a2896765a7bc7a357cb073':
  Clean up warnings in the malloc_debug_* files. 
						
						
					 
					
						2012-08-29 13:23:34 -07:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						8900e2de45 
					 
					
						
						
							
							am  e5b85f45: am  0d7177c0: Merge "Clean up warnings in the malloc_debug_* files."  
						
						... 
						
						
						
						* commit 'e5b85f45f9b23b4adbea5a9bb0bc29099880ed69':
  Clean up warnings in the malloc_debug_* files. 
						
						
					 
					
						2012-08-29 13:19:58 -07:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						0d7177c0d4 
					 
					
						
						
							
							Merge "Clean up warnings in the malloc_debug_* files."  
						
						
						
						
					 
					
						2012-08-29 13:08:50 -07:00 
						 
				 
			
				
					
						
							
							
								Nick Kralevich 
							
						 
					 
					
						
						
							
						
						829c089f83 
					 
					
						
						
							
							disable _FORTIFY_SOURCE under clang  
						
						... 
						
						
						
						Clang and _FORTIFY_SOURCE are just plain incompatible with
each other.  First of all, clang doesn't understand the
__attribute__((gnu_inline)) header. Second of all,
Clang doesn't have support for __builtin_va_arg_pack()
and __builtin_va_arg_pack_len() (see
http://clang.llvm.org/docs/UsersManual.html#c_unimpl_gcc )
Until we can resolve these issues, don't even try using
_FORTIFY_SOURCE under clang.
Change-Id: I81c2b8073bb3276fa9a4a6b93c427b641038356a 
						
						
					 
					
						2012-08-29 12:47:41 -07:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						c4d1fecc10 
					 
					
						
						
							
							Clean up warnings in the malloc_debug_* files.  
						
						... 
						
						
						
						Also clean up cpplint.py-detected lint.
Change-Id: Ia18e89c4c6878764f8d7ed34b8247e7a8d8fe88b 
						
						
					 
					
						2012-08-29 12:08:13 -07:00 
						 
				 
			
				
					
						
							
							
								Ian Rogers 
							
						 
					 
					
						
						
							
						
						72758a138e 
					 
					
						
						
							
							am  71258e0d: am  15afed42: Merge "Revert "Revert "Restore posix_memalign""" into jb-mr1-dev  
						
						... 
						
						
						
						* commit '71258e0d207b9b51f1295808837df95e4dd2711a':
  Revert "Revert "Restore posix_memalign"" 
						
						
					 
					
						2012-08-29 08:57:50 -07:00 
						 
				 
			
				
					
						
							
							
								Ian Rogers 
							
						 
					 
					
						
						
							
						
						31abfc3a98 
					 
					
						
						
							
							am  1df8fe33: am  f71fa083: Merge "Revert "Revert "Upgrade to dlmalloc 2.8.5.""" into jb-mr1-dev  
						
						... 
						
						
						
						* commit '1df8fe33d59df1be3b1d33db033e379a32416a68':
  Revert "Revert "Upgrade to dlmalloc 2.8.5."" 
						
						
					 
					
						2012-08-29 08:57:49 -07:00 
						 
				 
			
				
					
						
							
							
								Ian Rogers 
							
						 
					 
					
						
						
							
						
						15afed42ca 
					 
					
						
						
							
							Merge "Revert "Revert "Restore posix_memalign""" into jb-mr1-dev  
						
						
						
						
					 
					
						2012-08-29 08:53:41 -07:00 
						 
				 
			
				
					
						
							
							
								Ian Rogers 
							
						 
					 
					
						
						
							
						
						f71fa0830a 
					 
					
						
						
							
							Merge "Revert "Revert "Upgrade to dlmalloc 2.8.5.""" into jb-mr1-dev  
						
						
						
						
					 
					
						2012-08-29 08:53:26 -07:00 
						 
				 
			
				
					
						
							
							
								Iliyan Malchev 
							
						 
					 
					
						
						
							
						
						230752b861 
					 
					
						
						
							
							am  7e585192: am  66edcd9d: msm_ion: switch to using legacy_ion.h  
						
						... 
						
						
						
						* commit '7e5851922ce5430ea55e3c9325386846fbedf16c':
  msm_ion: switch to using legacy_ion.h 
						
						
					 
					
						2012-08-29 01:39:28 -07:00 
						 
				 
			
				
					
						
							
							
								Iliyan Malchev 
							
						 
					 
					
						
						
							
						
						e59f4c31cb 
					 
					
						
						
							
							am  ba13ae76: am  5f1d206d: add legacy_ion.h  
						
						... 
						
						
						
						* commit 'ba13ae767207d50dd2214cd5e8a941ab4da74d56':
  add legacy_ion.h 
						
						
					 
					
						2012-08-29 01:39:28 -07:00 
						 
				 
			
				
					
						
							
							
								Iliyan Malchev 
							
						 
					 
					
						
						
							
						
						66edcd9dad 
					 
					
						
						
							
							msm_ion: switch to using legacy_ion.h  
						
						... 
						
						
						
						Change-Id: I0fa64cb9684062f371bd21a1f94f6c7dad8d854d
Signed-off-by: Iliyan Malchev <malchev@google.com > 
						
						
					 
					
						2012-08-29 01:31:34 -07:00 
						 
				 
			
				
					
						
							
							
								Iliyan Malchev 
							
						 
					 
					
						
						
							
						
						5f1d206de3 
					 
					
						
						
							
							add legacy_ion.h  
						
						... 
						
						
						
						legacy_ion.h is a pre android-3.4 copy of the ion.h header, for backwards
compatibility
Change-Id: Iaf2f1659f19a3b55334df929d9500069bf8acbdd
Signed-off-by: Iliyan Malchev <malchev@google.com > 
						
						
					 
					
						2012-08-29 01:24:49 -07:00 
						 
				 
			
				
					
						
							
							
								Ian Rogers 
							
						 
					 
					
						
						
							
						
						e0d680176f 
					 
					
						
						
							
							Revert "Revert "Restore posix_memalign""  
						
						... 
						
						
						
						This reverts commit 78a3069f82 
						
						
					 
					
						2012-08-28 16:36:08 -07:00 
						 
				 
			
				
					
						
							
							
								Ian Rogers 
							
						 
					 
					
						
						
							
						
						2c344d3631 
					 
					
						
						
							
							Revert "Revert "Upgrade to dlmalloc 2.8.5.""  
						
						... 
						
						
						
						This reverts commit f72ee26927 
						
						
					 
					
						2012-08-28 15:53:10 -07:00 
						 
				 
			
				
					
						
							
							
								Nick Kralevich 
							
						 
					 
					
						
						
							
						
						9416782be5 
					 
					
						
						
							
							am  2868bbab: am  4f90a093: am  d3d09f7d: am  069c64cd: Merge "ARM: make sure __on_dlclose() actually gets called"  
						
						... 
						
						
						
						* commit '2868bbabf3a3146e682f314794b8803bfd60963b':
  ARM: make sure __on_dlclose() actually gets called 
						
						
					 
					
						2012-08-28 13:46:31 -07:00 
						 
				 
			
				
					
						
							
							
								Nick Kralevich 
							
						 
					 
					
						
						
							
						
						4f90a0932c 
					 
					
						
						
							
							am  d3d09f7d: am  069c64cd: Merge "ARM: make sure __on_dlclose() actually gets called"  
						
						... 
						
						
						
						* commit 'd3d09f7d75726dbe7cd9dfae211427f8bebe1397':
  ARM: make sure __on_dlclose() actually gets called 
						
						
					 
					
						2012-08-28 13:41:10 -07:00 
						 
				 
			
				
					
						
							
							
								Nick Kralevich 
							
						 
					 
					
						
						
							
						
						97b9643c5b 
					 
					
						
						
							
							am  036fa6e6: am  54662dd4: am  1389db8b: am  e026b1d8: Merge "ARM: remove dummy entries from .so init_array/fini_array"  
						
						... 
						
						
						
						* commit '036fa6e66958a05fbde9fddefc5fc8e31741fe80':
  ARM: remove dummy entries from .so init_array/fini_array 
						
						
					 
					
						2012-08-28 13:09:40 -07:00 
						 
				 
			
				
					
						
							
							
								Nick Kralevich 
							
						 
					 
					
						
						
							
						
						54662dd4de 
					 
					
						
						
							
							am  1389db8b: am  e026b1d8: Merge "ARM: remove dummy entries from .so init_array/fini_array"  
						
						... 
						
						
						
						* commit '1389db8b94ca0cff4744dc070d99f48c6cf53b07':
  ARM: remove dummy entries from .so init_array/fini_array 
						
						
					 
					
						2012-08-28 13:04:47 -07:00 
						 
				 
			
				
					
						
							
							
								Nick Kralevich 
							
						 
					 
					
						
						
							
						
						069c64cdf2 
					 
					
						
						
							
							Merge "ARM: make sure __on_dlclose() actually gets called"  
						
						
						
						
					 
					
						2012-08-28 13:04:22 -07:00 
						 
				 
			
				
					
						
							
							
								Nick Kralevich 
							
						 
					 
					
						
						
							
						
						953de64819 
					 
					
						
						
							
							am  88160880: am  3ffdef19: am  c7d9c400: am  c410a961: Merge "libc: remove ctors/dtors sections"  
						
						... 
						
						
						
						* commit '88160880953e01f4fa7523938b6448f194f598a0':
  libc: remove ctors/dtors sections 
						
						
					 
					
						2012-08-28 13:02:10 -07:00 
						 
				 
			
				
					
						
							
							
								Nick Kralevich 
							
						 
					 
					
						
						
							
						
						e026b1d89a 
					 
					
						
						
							
							Merge "ARM: remove dummy entries from .so init_array/fini_array"  
						
						
						
						
					 
					
						2012-08-28 12:49:46 -07:00