Daniel Micay 
								
							 
						 
						
							
							
							
							
								
							
							
								e03579253a 
								
							 
						 
						
							
							
								
								preserve PROT_MTE when releasing memory  
							
							 
							
							
							
						 
						
							2024-10-12 03:19:16 -04:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Daniel Micay 
								
							 
						 
						
							
							
							
							
								
							
							
								aa950244f8 
								
							 
						 
						
							
							
								
								reuse code for memory_map_mte  
							
							 
							
							... 
							
							
							
							This drops the separate error message since that doesn't seem useful. 
							
						 
						
							2024-10-12 03:18:36 -04:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Dmitry Muhomor 
								
							 
						 
						
							
							
							
							
								
							
							
								e3686ae457 
								
							 
						 
						
							
							
								
								add support for Arm MTE memory tagging  
							
							 
							
							... 
							
							
							
							- tag slab allocations with [1..14] tags
- tag freed slab allocations with the "15" tag value to detect accesses to freed slab memory
- when generating tag value for a slab slot, always exclude most recent tag value for that slot
(to make use-after-free detection more reliable) and most recent tag values of its immediate
neighbors (to detect linear overflows and underflows) 
							
						 
						
							2023-10-30 14:20:53 -04:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									jvoisin 
								
							 
						 
						
							
							
							
							
								
							
							
								b511696c55 
								
							 
						 
						
							
							
								
								clean up includes and remove non-portable includes  
							
							 
							
							... 
							
							
							
							This marginally increases the portability of hardened_malloc,
eg. on OSX. 
							
						 
						
							2022-02-07 07:14:51 -05:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Daniel Micay 
								
							 
						 
						
							
							
							
							
								
							
							
								1d15d34c7e 
								
							 
						 
						
							
							
								
								return errors from memory_set_name too  
							
							 
							
							
							
						 
						
							2021-03-22 14:19:02 -04:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Daniel Micay 
								
							 
						 
						
							
							
							
							
								
							
							
								29ffcdf810 
								
							 
						 
						
							
							
								
								portable error reporting for memory API  
							
							 
							
							
							
						 
						
							2021-03-22 13:59:16 -04:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Daniel Micay 
								
							 
						 
						
							
							
							
							
								
							
							
								b84af9b499 
								
							 
						 
						
							
							
								
								add wrapper for madvise  
							
							 
							
							
							
						 
						
							2021-03-22 12:24:26 -04:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Daniel Micay 
								
							 
						 
						
							
							
							
							
								
							
							
								a32e26b8e9 
								
							 
						 
						
							
							
								
								avoid trying to use mremap outside of Linux  
							
							 
							
							
							
						 
						
							2019-07-05 21:59:44 -04:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Daniel Micay 
								
							 
						 
						
							
							
							
							
								
							
							
								c9df70d934 
								
							 
						 
						
							
							
								
								add support for labelling memory regions  
							
							 
							
							
							
						 
						
							2019-02-13 13:34:33 -05:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Daniel Micay 
								
							 
						 
						
							
							
							
							
								
							
							
								0b963078d5 
								
							 
						 
						
							
							
								
								guard metadata with Memory Protection Keys (MPK)  
							
							 
							
							
							
						 
						
							2018-10-23 01:11:31 -04:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Daniel Micay 
								
							 
						 
						
							
							
							
							
								
							
							
								54c78fe1c2 
								
							 
						 
						
							
							
								
								distinguish between mmap / mremap errors  
							
							 
							
							
							
						 
						
							2018-10-10 19:05:35 -04:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Daniel Micay 
								
							 
						 
						
							
							
							
							
								
							
							
								eb7ced7781 
								
							 
						 
						
							
							
								
								implement in-place growth of large allocations  
							
							 
							
							
							
						 
						
							2018-10-06 13:24:22 -04:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Daniel Micay 
								
							 
						 
						
							
							
							
							
								
							
							
								00b2613e16 
								
							 
						 
						
							
							
								
								add mmap MAP_FIXED wrapper for dropping slabs  
							
							 
							
							
							
						 
						
							2018-08-29 13:04:52 -04:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Daniel Micay 
								
							 
						 
						
							
							
							
							
								
							
							
								d779d41721 
								
							 
						 
						
							
							
								
								wrap more memory mapping implementation details  
							
							 
							
							
							
						 
						
							2018-08-29 10:57:42 -04:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Daniel Micay 
								
							 
						 
						
							
							
							
							
								
							
							
								1cb28531a8 
								
							 
						 
						
							
							
								
								add wrapper for mremap with sanity check  
							
							 
							
							
							
						 
						
							2018-08-29 10:43:54 -04:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Daniel Micay 
								
							 
						 
						
							
							
							
							
								
							
							
								58d929c0f0 
								
							 
						 
						
							
							
								
								split out low-level memory mapping wrappers  
							
							 
							
							
							
						 
						
							2018-08-29 00:53:38 -04:00