Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							ca930d19b2 
							
						 
					 
					
						
						
							
							Use special exception register and Replace sgx_tprotect_rsrv_mem with low leve API  
						
						
						
						
					 
					
						2024-03-06 15:59:26 +08:00 
						 
				 
			
				
					
						
							
							
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							d416c8b1d1 
							
						 
					 
					
						
						
							
							Fix permission violation check for mmap and mprotect  
						
						
						
						
					 
					
						2024-03-06 15:59:26 +08:00 
						 
				 
			
				
					
						
							
							
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							a99c63e21d 
							
						 
					 
					
						
						
							
							Fix mmap file flush exceeding the file length  
						
						
						
						
					 
					
						2024-03-06 15:59:26 +08:00 
						 
				 
			
				
					
						
							
							
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							1e8c5a6d0a 
							
						 
					 
					
						
						
							
							Add AMX and EDMM as feature in Occlum.json  
						
						
						
						
					 
					
						2024-03-06 15:59:26 +08:00 
						 
				 
			
				
					
						
							
							
								ClawSeven 
							
						 
					 
					
						
						
						
						
							
						
						
							e96a1348e5 
							
						 
					 
					
						
						
							
							[test] Implement ut for sigsuspend  
						
						
						
						
					 
					
						2024-03-06 15:59:26 +08:00 
						 
				 
			
				
					
						
							
							
								ClawSeven 
							
						 
					 
					
						
						
						
						
							
						
						
							d6741c0096 
							
						 
					 
					
						
						
							
							[test] Implement unit test for pselect  
						
						
						
						
					 
					
						2024-03-06 15:59:26 +08:00 
						 
				 
			
				
					
						
							
							
								Shaowei Song 
							
						 
					 
					
						
						
						
						
							
						
						
							9ed1778866 
							
						 
					 
					
						
						
							
							[config] Add "feature" field to Occlum.json  
						
						
						
						
					 
					
						2024-03-06 15:59:26 +08:00 
						 
				 
			
				
					
						
							
							
								Qi Zheng 
							
						 
					 
					
						
						
						
						
							
						
						
							95eac28425 
							
						 
					 
					
						
						
							
							[test] SIGSTKSZ is not constant in glibc>2.34  
						
						
						
						
					 
					
						2024-03-06 15:59:26 +08:00 
						 
				 
			
				
					
						
							
							
								Qi Zheng 
							
						 
					 
					
						
						
						
						
							
						
						
							19104ed3e7 
							
						 
					 
					
						
						
							
							[tests] Fix shm test build failure in alios  
						
						
						
						
					 
					
						2023-11-08 15:38:14 +08:00 
						 
				 
			
				
					
						
							
							
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							6bf849634d 
							
						 
					 
					
						
						
							
							Add testcase for recursive exception handling  
						
						
						
						
					 
					
						2023-11-07 09:26:20 +08:00 
						 
				 
			
				
					
						
							
							
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							6da887d069 
							
						 
					 
					
						
						
							
							Add testcases for #PF handling  
						
						
						
						
					 
					
						2023-11-07 09:26:20 +08:00 
						 
				 
			
				
					
						
							
							
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							28c29c8896 
							
						 
					 
					
						
						
							
							Add new fields for config file to enable EDMM  
						
						
						
						
					 
					
						2023-11-07 09:26:20 +08:00 
						 
				 
			
				
					
						
							
							
								Shaowei Song 
							
						 
					 
					
						
						
						
						
							
						
						
							b0de80bd50 
							
						 
					 
					
						
						
							
							[vm] Support shared memory (POSIX)  
						
						
						
						
					 
					
						2023-06-22 15:20:29 +08:00 
						 
				 
			
				
					
						
							
							
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							fa3f2fb3cc 
							
						 
					 
					
						
						
							
							Add capabilites of executing extra commands in make test  
						
						
						
						
					 
					
						2023-06-22 15:20:29 +08:00 
						 
				 
			
				
					
						
							
							
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							72aaa47445 
							
						 
					 
					
						
						
							
							Fix cpuid test failure on HyperEnclave  
						
						
						
						
					 
					
						2023-06-17 16:05:19 +08:00 
						 
				 
			
				
					
						
							
							
								Zheng, Qi 
							
						 
					 
					
						
						
						
						
							
						
						
							9727eda0fe 
							
						 
					 
					
						
						
							
							[test] Update Occlum.json for unit test  
						
						
						
						
					 
					
						2023-05-30 10:16:48 +08:00 
						 
				 
			
				
					
						
							
							
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							d4b38f8ec0 
							
						 
					 
					
						
						
							
							[test] Fix false alarm for cpuid test  
						
						... 
						
						
						
						For new x86 processors, CPUID leaf 1FH is introduced as the
V2 Extended Topology Enumeration and is a prefered superset to leaf 0BH.
Add extra case to skip the EDX check because the corresponding value is
related with logical processor (x2APIC ID). 
						
						
					 
					
						2023-05-10 15:34:38 +08:00 
						 
				 
			
				
					
						
							
							
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							0b0fed947c 
							
						 
					 
					
						
						
							
							Fix wait4 failure of child process created with vfork  
						
						
						
						
					 
					
						2023-04-27 13:12:38 +08:00 
						 
				 
			
				
					
						
							
							
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							492814132a 
							
						 
					 
					
						
						
							
							Fix potential server test failure  
						
						... 
						
						
						
						Due to scheduling, the client could attempt to connect to the server
before the server starts to accept. Make the client retry multiple
times before returning with error. 
						
						
					 
					
						2023-03-17 14:47:22 +08:00 
						 
				 
			
				
					
						
							
							
								Zheng, Qi 
							
						 
					 
					
						
						
						
						
							
						
						
							500ca21d52 
							
						 
					 
					
						
						
							
							[libos] Fix bug of sigtimedwait for timeout NULL  
						
						
						
						
					 
					
						2023-02-15 17:07:13 +08:00 
						 
				 
			
				
					
						
							
							
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							fb12642254 
							
						 
					 
					
						
						
							
							Fix brk not reset memory  
						
						
						
						
					 
					
						2023-01-06 22:56:41 +08:00 
						 
				 
			
				
					
						
							
							
								Zheng, Qi 
							
						 
					 
					
						
						
						
						
							
						
						
							7de4a2b3cd 
							
						 
					 
					
						
						
							
							[libos] Add sgx_get_key ioctl command  
						
						
						
						
					 
					
						2023-01-03 17:55:23 +08:00 
						 
				 
			
				
					
						
							
							
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							08b3dc7268 
							
						 
					 
					
						
						
							
							Update internal config tool for EDMM support  
						
						
						
						
					 
					
						2022-12-23 18:33:53 +08:00 
						 
				 
			
				
					
						
							
							
								Zheng, Qi 
							
						 
					 
					
						
						
						
						
							
						
						
							69cc20d703 
							
						 
					 
					
						
						
							
							[test] No need build Occlum to make test  
						
						
						
						
					 
					
						2022-12-05 20:09:03 +08:00 
						 
				 
			
				
					
						
							
							
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							0f789b49bc 
							
						 
					 
					
						
						
							
							Fix exit_group not interrupt wait4  
						
						
						
						
					 
					
						2022-11-15 18:01:46 +08:00 
						 
				 
			
				
					
						
							
							
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							64c75e6d40 
							
						 
					 
					
						
						
							
							Add partial support for '/proc/stat' and '/proc/[pid]/stat'  
						
						
						
						
					 
					
						2022-11-06 20:56:29 +08:00 
						 
				 
			
				
					
						
							
							
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							96166dadc2 
							
						 
					 
					
						
						
							
							Add setpriority and getpriority syscall  
						
						
						
						
					 
					
						2022-10-26 13:00:19 +08:00 
						 
				 
			
				
					
						
							
							
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							4c3ca79134 
							
						 
					 
					
						
						
							
							Make vfork stop parent child threads  
						
						... 
						
						
						
						When vfork is called and the current process has other running child threads,
for Linux, the other threads remain running. For Occlum, this behavior is
different. All the other threads will be frozen until the vfork returns
or execve is called in the child process.
The reason is that since Occlum doesn't support fork, many applications will
use vfork to replace fork. For multi-threaded applications, if vfork doesn't
stop other child threads, the application will be more likely to fail because
the child process directly uses the VM and the file table of the parent process. 
						
						
					 
					
						2022-10-18 21:57:57 +08:00 
						 
				 
			
				
					
						
							
							
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							51eb43eb90 
							
						 
					 
					
						
						
							
							Fix epoll_ctl not waking up epoll_wait  
						
						... 
						
						
						
						Co-authored-by: rduan@apache.org  
						
						
					 
					
						2022-09-22 15:11:31 +08:00 
						 
				 
			
				
					
						
							
							
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							171faccea7 
							
						 
					 
					
						
						
							
							[libos] Fix munmap conflict chunk range and vma range  
						
						
						
						
					 
					
						2022-09-06 12:57:16 +08:00 
						 
				 
			
				
					
						
							
							
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							6cb9ca7e44 
							
						 
					 
					
						
						
							
							Add sendmsg/recvmsg support for unix domain socket  
						
						
						
						
					 
					
						2022-08-23 20:37:57 +08:00 
						 
				 
			
				
					
						
							
							
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							71c4937b45 
							
						 
					 
					
						
						
							
							Fix listening socket epoll_wait not waken by connect  
						
						
						
						
					 
					
						2022-08-23 20:37:57 +08:00 
						 
				 
			
				
					
						
							
							
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							f87ee7c7a4 
							
						 
					 
					
						
						
							
							Support munmap multiple single VMA chunks with remaining ranges  
						
						
						
						
					 
					
						2022-08-23 16:58:03 +08:00 
						 
				 
			
				
					
						
							
							
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							54de00a3bc 
							
						 
					 
					
						
						
							
							Fix the issue when path is suffixed by "/"  
						
						
						
						
					 
					
						2022-08-15 09:21:52 +08:00 
						 
				 
			
				
					
						
							
							
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							d1acb84362 
							
						 
					 
					
						
						
							
							Add support for /proc/self(pid)/maps  
						
						
						
						
					 
					
						2022-08-08 08:40:52 +08:00 
						 
				 
			
				
					
						
							
							
								zhubojun 
							
						 
					 
					
						
						
						
						
							
						
						
							b65cb4e017 
							
						 
					 
					
						
						
							
							[tools] Support configuring PKU in Occlum.json  
						
						
						
						
					 
					
						2022-07-17 17:12:14 +08:00 
						 
				 
			
				
					
						
							
							
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							1dc2b517fc 
							
						 
					 
					
						
						
							
							Fix the issue about fsync on hostfs's dir  
						
						... 
						
						
						
						There are no sync methods about untrusted dir, so we do nothing. 
						
						
					 
					
						2022-07-13 13:42:51 +08:00 
						 
				 
			
				
					
						
							
							
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							a3e2f54a6d 
							
						 
					 
					
						
						
							
							Disable DCAP of ioctl test in hyper mode  
						
						
						
						
					 
					
						2022-07-06 15:31:56 +08:00 
						 
				 
			
				
					
						
							
							
								zhubojun 
							
						 
					 
					
						
						
						
						
							
						
						
							78450e58f8 
							
						 
					 
					
						
						
							
							[test] Add test for SHM  
						
						
						
						
					 
					
						2022-04-28 20:05:50 +08:00 
						 
				 
			
				
					
						
							
							
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							3e15eb059c 
							
						 
					 
					
						
						
							
							Add support for mmap spans over two chunks with MAP_FIXED  
						
						
						
						
					 
					
						2022-03-30 17:38:37 +08:00 
						 
				 
			
				
					
						
							
							
								zhubojun 
							
						 
					 
					
						
						
						
						
							
						
						
							df36a6bbbb 
							
						 
					 
					
						
						
							
							[test] Add test case for UTIME  
						
						
						
						
					 
					
						2022-03-22 17:59:00 +08:00 
						 
				 
			
				
					
						
							
							
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							66d1ebe918 
							
						 
					 
					
						
						
							
							[hyper mode] Add compile support  
						
						
						
						
					 
					
						2022-03-19 15:32:45 +08:00 
						 
				 
			
				
					
						
							
							
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							f611e9c008 
							
						 
					 
					
						
						
							
							[hyper mode] Dismiss the valiadation of QE report  
						
						
						
						
					 
					
						2022-03-19 15:32:45 +08:00 
						 
				 
			
				
					
						
							
							
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							e735cf00fb 
							
						 
					 
					
						
						
							
							[test] Fix the errors in cpuid test  
						
						
						
						
					 
					
						2022-03-19 15:32:45 +08:00 
						 
				 
			
				
					
						
							
							
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							d0f6c9b6b6 
							
						 
					 
					
						
						
							
							Add test case for FLOCK  
						
						
						
						
					 
					
						2022-03-09 16:00:23 +08:00 
						 
				 
			
				
					
						
							
							
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							91f025f1c8 
							
						 
					 
					
						
						
							
							Rename the flock test case to posix_flock  
						
						
						
						
					 
					
						2022-03-09 16:00:23 +08:00 
						 
				 
			
				
					
						
							
							
								zongmin.gu 
							
						 
					 
					
						
						
						
						
							
						
						
							c58f61c56e 
							
						 
					 
					
						
						
							
							Enable simulation interrupt mode support  
						
						
						
						
					 
					
						2021-12-14 10:58:09 +08:00 
						 
				 
			
				
					
						
							
							
								Zheng, Qi 
							
						 
					 
					
						
						
						
						
							
						
						
							7db9d9b955 
							
						 
					 
					
						
						
							
							Add SGX KSS support  
						
						... 
						
						
						
						Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com> 
						
						
					 
					
						2021-12-06 15:46:34 +08:00 
						 
				 
			
				
					
						
							
							
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							e75c10ba79 
							
						 
					 
					
						
						
							
							Add the mount test case in make test  
						
						
						
						
					 
					
						2021-12-02 16:24:15 +08:00 
						 
				 
			
				
					
						
							
							
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							7bc2c336b6 
							
						 
					 
					
						
						
							
							Add mount and umount syscall  
						
						
						
						
					 
					
						2021-11-29 15:11:37 +08:00