Christopher Ferris 
							
						 
					 
					
						
						
							
						
						e3bc225413 
					 
					
						
						
							
							am  a626e4d8: am  26f0e54a: Merge "Script to grab uapi headers from android kernel."  
						
						... 
						
						
						
						* commit 'a626e4d8bc3d59cc328942fc30ffc04981b154ed':
  Script to grab uapi headers from android kernel. 
						
						
					 
					
						2013-11-21 18:43:58 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						68a4187c4a 
					 
					
						
						
							
							am  50f6b836: am  fa7b48bf: Merge "Regenerate uapi header files."  
						
						... 
						
						
						
						* commit '50f6b8363e1429316311450f2a3041040977d67c':
  Regenerate uapi header files. 
						
						
					 
					
						2013-11-21 18:43:57 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						81768e18bb 
					 
					
						
						
							
							am  5e818b33: am  880d0e6c: Merge "Remove hidden __reboot from header"  
						
						... 
						
						
						
						* commit '5e818b331430c34c42259a1405a75cc4106a27d0':
  Remove hidden __reboot from header 
						
						
					 
					
						2013-11-21 18:43:51 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						8acd5dd2f8 
					 
					
						
						
							
							am  84336795: am  eec57b37: Merge "Add support for the ternary operator to the header scrubber."  
						
						... 
						
						
						
						* commit '843367953f40ee84bcc53e08a60c82215303e1fb':
  Add support for the ternary operator to the header scrubber. 
						
						
					 
					
						2013-11-21 18:43:48 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						5a2526ac62 
					 
					
						
						
							
							am  cb478f23: am  d4143c8e: Merge "Fix useconds_t for LP64."  
						
						... 
						
						
						
						* commit 'cb478f23cc3765e3193beaf83fb35dd2d353d301':
  Fix useconds_t for LP64. 
						
						
					 
					
						2013-11-21 18:43:47 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						03adedfc3c 
					 
					
						
						
							
							am  a18a01f5: am  15a64948: Merge "Remove obsolete kernel/arch-mips headers."  
						
						... 
						
						
						
						* commit 'a18a01f553ce5350923c470c144dca87dfc8e992':
  Remove obsolete kernel/arch-mips headers. 
						
						
					 
					
						2013-11-21 18:43:47 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						b749a010a3 
					 
					
						
						
							
							am  8637bb53: am  b135f6e5: Merge "Remove the unused arch-x86 and arch-x86-64 kernel headers."  
						
						... 
						
						
						
						* commit '8637bb5345bce20374ed345490d6de80cb874554':
  Remove the unused arch-x86 and arch-x86-64 kernel headers. 
						
						
					 
					
						2013-11-21 18:43:46 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						a38dcc0210 
					 
					
						
						
							
							am  70d37e34: am  ca045a19: Merge "Switch to upstream sleep(3) and usleep(3)."  
						
						... 
						
						
						
						* commit '70d37e343aa0c8c771e01259377c98958fbfd3ee':
  Switch to upstream sleep(3) and usleep(3). 
						
						
					 
					
						2013-11-21 17:15:03 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						3bc173dfad 
					 
					
						
						
							
							am  7c883327: am  556c7402: am  39bc7ecd: Merge "Fix <signal.h> for mips uapi."  
						
						... 
						
						
						
						* commit '7c88332701cc9aa2ed95148bed40f50c54adb36b':
  Fix <signal.h> for mips uapi. 
						
						
					 
					
						2013-11-21 17:12:04 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						7c88332701 
					 
					
						
						
							
							am  556c7402: am  39bc7ecd: Merge "Fix <signal.h> for mips uapi."  
						
						... 
						
						
						
						* commit '556c740298a07e586c423480328231cfd50966b6':
  Fix <signal.h> for mips uapi. 
						
						
					 
					
						2013-11-21 17:07:47 -08:00 
						 
				 
			
				
					
						
							
							
								Christopher Ferris 
							
						 
					 
					
						
						
							
						
						26f0e54ae0 
					 
					
						
						
							
							Merge "Script to grab uapi headers from android kernel."  
						
						
						
						
					 
					
						2013-11-21 22:20:14 +00:00 
						 
				 
			
				
					
						
							
							
								Christopher Ferris 
							
						 
					 
					
						
						
							
						
						e994d41578 
					 
					
						
						
							
							Script to grab uapi headers from android kernel.  
						
						... 
						
						
						
						Change-Id: Ia140e3ab27fbfee6b02f04c085f3e0e351bbe68d 
						
						
					 
					
						2013-11-21 14:09:54 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						8cb52b056c 
					 
					
						
						
							
							Regenerate uapi header files.  
						
						... 
						
						
						
						Change-Id: Idc934ed8ae17aba3300e4022e9b42177b0907e9d 
						
						
					 
					
						2013-11-21 13:43:23 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						880d0e6c64 
					 
					
						
						
							
							Merge "Remove hidden __reboot from header"  
						
						
						
						
					 
					
						2013-11-21 20:37:26 +00:00 
						 
				 
			
				
					
						
							
							
								Pavel Chupin 
							
						 
					 
					
						
						
							
						
						811cba00af 
					 
					
						
						
							
							Remove hidden __reboot from header  
						
						... 
						
						
						
						This change is required:
https://android-review.googlesource.com/#/c/70570 
Change-Id: Idb991f96a424aa5b0f9e06d9fb787fe8c8530750
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com > 
						
						
					 
					
						2013-11-22 00:19:34 +04:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						1198fd3864 
					 
					
						
						
							
							Add support for the ternary operator to the header scrubber.  
						
						... 
						
						
						
						Used in various uapi headers.
Change-Id: Id0f862d2adc7ddc9727e8a29160d5435f8d547c3 
						
						
					 
					
						2013-11-21 11:12:34 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						b55bc155f6 
					 
					
						
						
							
							am  0b4ca7e3: am  004ecb39: am  db1dec1e: Merge "Clean up pthread_internal_t."  
						
						... 
						
						
						
						* commit '0b4ca7e3ce59e6993b47cb7856e74c3c46b44c9b':
  Clean up pthread_internal_t. 
						
						
					 
					
						2013-11-21 10:15:35 -08:00 
						 
				 
			
				
					
						
							
							
								Christopher Ferris 
							
						 
					 
					
						
						
							
						
						96a2e56fad 
					 
					
						
						
							
							am  47580cc0: am  3c6d1b88: am  2a34009f: Merge "Add .cfi_startproc/.cfi_endproc to ENTRY/END."  
						
						... 
						
						
						
						* commit '47580cc01768dcb67ab152915a2e78a98e36b463':
  Add .cfi_startproc/.cfi_endproc to ENTRY/END. 
						
						
					 
					
						2013-11-21 10:15:34 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						07f35d9596 
					 
					
						
						
							
							am  3eb08b0e: am  f4e03b03: am  bf652a5f: Merge "Provide <sys/user.h>."  
						
						... 
						
						
						
						* commit '3eb08b0e298e5b283add3a6a1abf0026d7cbcd98':
  Provide <sys/user.h>. 
						
						
					 
					
						2013-11-21 10:15:33 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						0b4ca7e3ce 
					 
					
						
						
							
							am  004ecb39: am  db1dec1e: Merge "Clean up pthread_internal_t."  
						
						... 
						
						
						
						* commit '004ecb39e1cc0aed57b6185d4adf015b61b2d0c6':
  Clean up pthread_internal_t. 
						
						
					 
					
						2013-11-21 10:12:26 -08:00 
						 
				 
			
				
					
						
							
							
								Christopher Ferris 
							
						 
					 
					
						
						
							
						
						47580cc017 
					 
					
						
						
							
							am  3c6d1b88: am  2a34009f: Merge "Add .cfi_startproc/.cfi_endproc to ENTRY/END."  
						
						... 
						
						
						
						* commit '3c6d1b887692ecc7198e5292d49e3635b68fa95c':
  Add .cfi_startproc/.cfi_endproc to ENTRY/END. 
						
						
					 
					
						2013-11-21 10:12:25 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						3eb08b0e29 
					 
					
						
						
							
							am  f4e03b03: am  bf652a5f: Merge "Provide <sys/user.h>."  
						
						... 
						
						
						
						* commit 'f4e03b03656527caf88b9e582ab5ca19ae697700':
  Provide <sys/user.h>. 
						
						
					 
					
						2013-11-21 10:12:24 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						d4143c8e4c 
					 
					
						
						
							
							Merge "Fix useconds_t for LP64."  
						
						
						
						
					 
					
						2013-11-21 17:05:04 +00:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						15a6494856 
					 
					
						
						
							
							Merge "Remove obsolete kernel/arch-mips headers."  
						
						
						
						
					 
					
						2013-11-21 17:04:44 +00:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						b135f6e58c 
					 
					
						
						
							
							Merge "Remove the unused arch-x86 and arch-x86-64 kernel headers."  
						
						
						
						
					 
					
						2013-11-21 17:04:24 +00:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						9c67d4307c 
					 
					
						
						
							
							Fix useconds_t for LP64.  
						
						... 
						
						
						
						Change-Id: I869e60484999c1feda3dcdb86bee5b5373e6b3df 
						
						
					 
					
						2013-11-21 08:55:46 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						0e309c87ab 
					 
					
						
						
							
							am  0df47ece: am  d5a59aa7: am  1b2d214b: Merge "Clean up forking and cloning."  
						
						... 
						
						
						
						* commit '0df47ece78b2e596dde3a2369b44917842bbbd4b':
  Clean up forking and cloning. 
						
						
					 
					
						2013-11-21 08:12:58 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						7a7429b4f7 
					 
					
						
						
							
							am  67026112: am  8154f010: am  318e86ed: Merge "bionic: call stdio cleanup on exit"  
						
						... 
						
						
						
						* commit '67026112a00b94f9d13c3adea2ffbb4fb83d55c5':
  bionic: call stdio cleanup on exit 
						
						
					 
					
						2013-11-21 08:12:57 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						9280a859a6 
					 
					
						
						
							
							am  86ae0ff1: am  044d4655: am  303fe0cb: Merge "Fix pthread_join."  
						
						... 
						
						
						
						* commit '86ae0ff135456b2b695f49cf40ccc4e8ebc60f51':
  Fix pthread_join. 
						
						
					 
					
						2013-11-21 08:12:56 -08:00 
						 
				 
			
				
					
						
							
							
								Christopher Ferris 
							
						 
					 
					
						
						
							
						
						54b98c638a 
					 
					
						
						
							
							am  37e5c6ba: am  750668f5: am  862faa12: Merge "Pull in cleaned version.h header."  
						
						... 
						
						
						
						* commit '37e5c6ba89b9daca67b1c09e2b73b4c6eac805a5':
  Pull in cleaned version.h header. 
						
						
					 
					
						2013-11-21 08:12:55 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						0a0fb39e8a 
					 
					
						
						
							
							am  a8276f64: am  18368fc8: am  f246c589: Merge "Clean up the pthread_create trampoline."  
						
						... 
						
						
						
						* commit 'a8276f64b203a01d1b393a11dc9c492d1a6557e3':
  Clean up the pthread_create trampoline. 
						
						
					 
					
						2013-11-21 08:12:54 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						6442706d42 
					 
					
						
						
							
							am  00f25edc: am  5b524852: am  645d4269: Merge "Switch pthread_create over to __bionic_clone."  
						
						... 
						
						
						
						* commit '00f25edccace521bc4cbc3cfe3d05e8e1a9b6652':
  Switch pthread_create over to __bionic_clone. 
						
						
					 
					
						2013-11-21 08:12:53 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						0df47ece78 
					 
					
						
						
							
							am  d5a59aa7: am  1b2d214b: Merge "Clean up forking and cloning."  
						
						... 
						
						
						
						* commit 'd5a59aa767d4d87738b53995d73461be2778b9ee':
  Clean up forking and cloning. 
						
						
					 
					
						2013-11-21 08:10:07 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						67026112a0 
					 
					
						
						
							
							am  8154f010: am  318e86ed: Merge "bionic: call stdio cleanup on exit"  
						
						... 
						
						
						
						* commit '8154f010a1c017b56ec7de3014e3ddf958f92536':
  bionic: call stdio cleanup on exit 
						
						
					 
					
						2013-11-21 08:10:03 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						86ae0ff135 
					 
					
						
						
							
							am  044d4655: am  303fe0cb: Merge "Fix pthread_join."  
						
						... 
						
						
						
						* commit '044d4655b7c06c9d5988f7dc604e59f76e098f5d':
  Fix pthread_join. 
						
						
					 
					
						2013-11-21 08:10:02 -08:00 
						 
				 
			
				
					
						
							
							
								Christopher Ferris 
							
						 
					 
					
						
						
							
						
						37e5c6ba89 
					 
					
						
						
							
							am  750668f5: am  862faa12: Merge "Pull in cleaned version.h header."  
						
						... 
						
						
						
						* commit '750668f5abd9813bea6f33cb84d941ae306afea8':
  Pull in cleaned version.h header. 
						
						
					 
					
						2013-11-21 08:09:59 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						a8276f64b2 
					 
					
						
						
							
							am  18368fc8: am  f246c589: Merge "Clean up the pthread_create trampoline."  
						
						... 
						
						
						
						* commit '18368fc8e696c54adbd1537bf2d7c5c217210957':
  Clean up the pthread_create trampoline. 
						
						
					 
					
						2013-11-21 08:09:46 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						00f25edcca 
					 
					
						
						
							
							am  5b524852: am  645d4269: Merge "Switch pthread_create over to __bionic_clone."  
						
						... 
						
						
						
						* commit '5b5248526b0295e54f51dcc2fec6c1d8e5a3b9e2':
  Switch pthread_create over to __bionic_clone. 
						
						
					 
					
						2013-11-21 08:09:43 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						b867fd6825 
					 
					
						
						
							
							Remove obsolete kernel/arch-mips headers.  
						
						... 
						
						
						
						Bug: 11559337
Change-Id: I70e205ff1f5acd07fddd7d82367e818b13847acd 
						
						
					 
					
						2013-11-20 18:09:34 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						ab61eb366a 
					 
					
						
						
							
							Switch to upstream sleep(3) and usleep(3).  
						
						... 
						
						
						
						Also fix the signature of usleep, and the definition of useconds_t which
should be unsigned, as the 'u' in its name implies.
This patch also cleans up the existing FreeBSD hacks by moving the libm
stuff from <sys/cdefs.h> to a libm-private header, and adding comments
about the hacks we use to build FreeBSD source.
Change-Id: Ibe5067a380502df94a0a3a7901969b35411085b6 
						
						
					 
					
						2013-11-20 16:24:16 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						d8482b6c7e 
					 
					
						
						
							
							Fix <signal.h> for mips uapi.  
						
						... 
						
						
						
						Bug: 11559337
Change-Id: I4c6080f162d74ee78c81d698c7b50470b0e09586 
						
						
					 
					
						2013-11-20 12:51:52 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						db1dec1ed4 
					 
					
						
						
							
							Merge "Clean up pthread_internal_t."  
						
						
						
						
					 
					
						2013-11-20 01:23:33 +00:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						cef3faec0e 
					 
					
						
						
							
							Clean up pthread_internal_t.  
						
						... 
						
						
						
						Bug: 11755300
Change-Id: Ib509e8c5ec6b23513aa78b5ac5141d7c34ce2dc8 
						
						
					 
					
						2013-11-19 17:22:22 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						5cb66cfdc2 
					 
					
						
						
							
							Remove the unused arch-x86 and arch-x86-64 kernel headers.  
						
						... 
						
						
						
						x86-64 already used uapi headers, and x86 can too now.
Bug: 11559337
Change-Id: I1196d2500f06ad40f2488b96fc8ccc7e02c7d5c0 
						
						
					 
					
						2013-11-19 16:57:42 -08:00 
						 
				 
			
				
					
						
							
							
								Christopher Ferris 
							
						 
					 
					
						
						
							
						
						507cfe2e10 
					 
					
						
						
							
							Add .cfi_startproc/.cfi_endproc to ENTRY/END.  
						
						... 
						
						
						
						Bug: 10414953
Change-Id: I711718098b9f3cc0ba8277778df64557e9c7b2a0 
						
						
					 
					
						2013-11-19 16:31:24 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						e888de81df 
					 
					
						
						
							
							Provide <sys/user.h>.  
						
						... 
						
						
						
						strace wants this, for example.
Change-Id: Icb4d64bde392abbc091fa3375a4fa19b2707b12c 
						
						
					 
					
						2013-11-19 15:32:31 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						36d6188f8c 
					 
					
						
						
							
							Clean up forking and cloning.  
						
						... 
						
						
						
						The kernel now maintains the pthread_internal_t::tid field for us,
and __clone was only used in one place so let's inline it so we don't
have to leave such a dangerous function lying around. Also rename
files to match their content and remove some useless #includes.
Change-Id: I24299fb4a940e394de75f864ee36fdabbd9438f9 
						
						
					 
					
						2013-11-19 14:08:54 -08:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						318e86ed88 
					 
					
						
						
							
							Merge "bionic: call stdio cleanup on exit"  
						
						
						
						
					 
					
						2013-11-19 04:01:55 +00:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						303fe0cb38 
					 
					
						
						
							
							Merge "Fix pthread_join."  
						
						
						
						
					 
					
						2013-11-19 03:49:00 +00:00 
						 
				 
			
				
					
						
							
							
								Elliott Hughes 
							
						 
					 
					
						
						
							
						
						877ec6d904 
					 
					
						
						
							
							Fix pthread_join.  
						
						... 
						
						
						
						Let the kernel keep pthread_internal_t::tid updated, including
across forks and for the main thread. This then lets us fix
pthread_join to only return after the thread has really exited.
Also fix the thread attributes of the main thread so we don't
unmap the main thread's stack (which is really owned by the
dynamic linker and contains things like environment variables),
which fixes crashes when joining with an exited main thread
and also fixes problems reported publicly with accessing environment
variables after the main thread exits (for which I've added a new
unit test).
In passing I also fixed a bug where if the clone(2) inside
pthread_create(3) fails, we'd unmap the child's stack and TLS (which
contains the mutex) and then try to unlock the mutex. Boom! It wasn't
until after I'd uploaded the fix for this that I came across a new
public bug reporting this exact failure.
Bug: 8206355
Bug: 11693195
Bug: https://code.google.com/p/android/issues/detail?id=57421 
Bug: https://code.google.com/p/android/issues/detail?id=62392 
Change-Id: I2af9cf6e8ae510a67256ad93cad891794ed0580b 
						
						
					 
					
						2013-11-18 19:48:11 -08:00