Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							28c29c8896 
							
						 
					 
					
						
						
							
							Add new fields for config file to enable EDMM  
						
						 
						
						
						
						
					 
					
						2023-11-07 09:26:20 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Qi Zheng 
							
						 
					 
					
						
						
						
						
							
						
						
							f6bb38e3e8 
							
						 
					 
					
						
						
							
							[tools] Support different OS for init aecs  
						
						 
						
						
						
						
					 
					
						2023-08-16 18:22:24 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Zheng, Qi 
							
						 
					 
					
						
						
						
						
							
						
						
							e6563e7fe3 
							
						 
					 
					
						
						
							
							Update occlum new/init for aecs init  
						
						 
						
						
						
						
					 
					
						2023-06-08 09:55:00 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Zheng, Qi 
							
						 
					 
					
						
						
						
						
							
						
						
							a096d176c9 
							
						 
					 
					
						
						
							
							Update occlum new/init/build for grpc_ratls init  
						
						 
						
						
						
						
					 
					
						2023-06-08 09:55:00 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Zheng, Qi 
							
						 
					 
					
						
						
						
						
							
						
						
							2347951743 
							
						 
					 
					
						
						
							
							Combine two config json files as one  
						
						 
						
						
						
						
					 
					
						2023-05-30 10:16:48 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							5174feae15 
							
						 
					 
					
						
						
							
							[hyper mode] Add support for the package command  
						
						 
						
						
						
						
					 
					
						2023-02-08 16:39:41 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							d63b3c561c 
							
						 
					 
					
						
						
							
							Improve the usability of occlum start/exec/stop cmd  
						
						 
						
						
						
						
					 
					
						2022-12-11 19:33:04 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Zheng, Qi 
							
						 
					 
					
						
						
						
						
							
						
						
							f101421d37 
							
						 
					 
					
						
						
							
							[tools] Add helper command to print mrsigner and mrenclave  
						
						 
						
						
						
						
					 
					
						2022-10-18 23:58:16 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							7772411378 
							
						 
					 
					
						
						
							
							Fix aesm check failure on SGX v1 machine  
						
						 
						
						
						
						
					 
					
						2022-04-14 16:26:03 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Zheng, Qi 
							
						 
					 
					
						
						
						
						
							
						
						
							cd5c913dc7 
							
						 
					 
					
						
						
							
							[tools] Checking aesm service is not necessary for SGX2  
						
						 
						
						
						
						
					 
					
						2022-03-22 18:00:00 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							66d1ebe918 
							
						 
					 
					
						
						
							
							[hyper mode] Add compile support  
						
						 
						
						
						
						
					 
					
						2022-03-19 15:32:45 +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  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Zheng, Qi 
							
						 
					 
					
						
						
						
						
							
						
						
							f73d417847 
							
						 
					 
					
						
						
							
							Make it accordance for occlum package name and extracted dir name  
						
						 
						
						... 
						
						
						
						For example, in occlum_instance dir, do "occlum package occlum_test".
After extracting the occlum_test.tar.gz, we will get "occlum_test"
instead of "occlum_instance".
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com> 
						
						
					 
					
						2021-08-11 20:01:56 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Zheng, Qi 
							
						 
					 
					
						
						
						
						
							
						
						
							05d4c7d7db 
							
						 
					 
					
						
						
							
							Add similation and debug mode occlum package check and support  
						
						 
						
						... 
						
						
						
						Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com> 
						
						
					 
					
						2021-08-07 20:44:19 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							42bed8d338 
							
						 
					 
					
						
						
							
							Remove the mount config for tmp dir  
						
						 
						
						
						
						
					 
					
						2021-08-03 19:45:56 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							1c625f53b8 
							
						 
					 
					
						
						
							
							Remove the cpu online file from image  
						
						 
						
						
						
						
					 
					
						2021-07-14 11:00:42 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								zongmin.gu 
							
						 
					 
					
						
						
						
						
							
						
						
							437b6245d3 
							
						 
					 
					
						
						
							
							Check AESM status with aesm socket file  
						
						 
						
						
						
						
					 
					
						2021-06-03 10:54:37 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							2a45fdd3b0 
							
						 
					 
					
						
						
							
							Fix occlum build "-f" option mistakenly rebuild other targets  
						
						 
						
						... 
						
						
						
						Remove "--always-remake" option and add "--no-builtin-rules" to avoid
mistakenly rebuild unwanted targets.
Fixed issue #430  
						
						
					 
					
						2021-05-17 12:05:36 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							64a980f529 
							
						 
					 
					
						
						
							
							Add time syscall and default localtime support  
						
						 
						
						
						
						
					 
					
						2021-03-26 16:56:57 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							d81511ec8c 
							
						 
					 
					
						
						
							
							Polish the docs and usage for the encrypted image  
						
						 
						
						
						
						
					 
					
						2021-03-11 11:34:53 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							73dc43e03f 
							
						 
					 
					
						
						
							
							Ignore AESM status for simulation mode  
						
						 
						
						
						
						
					 
					
						2021-03-02 16:31:13 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							c3a02ffc28 
							
						 
					 
					
						
						
							
							Add support for the encrypted fs image  
						
						 
						
						
						
						
					 
					
						2021-03-01 16:45:01 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							0b51d83811 
							
						 
					 
					
						
						
							
							Add ProcFS  
						
						 
						
						
						
						
					 
					
						2021-01-20 12:42:00 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							d6cd89f03b 
							
						 
					 
					
						
						
							
							Add DevFS for device files  
						
						 
						
						
						
						
					 
					
						2021-01-20 11:40:39 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							c27825c436 
							
						 
					 
					
						
						
							
							Add the check for AESM service before run  
						
						 
						
						
						
						
					 
					
						2021-01-08 13:23:36 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							7c07457d1e 
							
						 
					 
					
						
						
							
							Enhance the check before running an instance  
						
						 
						
						
						
						
					 
					
						2021-01-08 13:23:36 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							81c53a7097 
							
						 
					 
					
						
						
							
							Fix the "occlum init" command's failure on CentOS  
						
						 
						
						
						
						
					 
					
						2020-12-19 19:53:31 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							22b02850a3 
							
						 
					 
					
						
						
							
							Add Glibc as an optional libc and fix test cases  
						
						 
						
						
						
						
					 
					
						2020-12-16 19:21:22 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							ea64939cac 
							
						 
					 
					
						
						
							
							Fix json parse debuggable flag  
						
						 
						
						
						
						
					 
					
						2020-12-02 13:29:41 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							4269395f1d 
							
						 
					 
					
						
						
							
							Remove python from Occlum commands  
						
						 
						
						
						
						
					 
					
						2020-10-10 14:59:42 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							5e1635e2b8 
							
						 
					 
					
						
						
							
							Change the calling interface with sefs-cli  
						
						 
						
						
						
						
					 
					
						2020-09-25 16:34:07 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							668b825ef4 
							
						 
					 
					
						
						
							
							Remove OCCLUM_RELEASE_ENCLAVE env from user commands  
						
						 
						
						... 
						
						
						
						Also fix a bug for deployment environment. 
						
						
					 
					
						2020-09-18 12:39:12 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							bfc0576ee7 
							
						 
					 
					
						
						
							
							Add "occlum package" command  
						
						 
						
						
						
						
					 
					
						2020-09-18 12:39:12 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							ec9ffed1b0 
							
						 
					 
					
						
						
							
							Add "occlum mount" command to mount the secure FS  
						
						 
						
						
						
						
					 
					
						2020-09-18 12:39:12 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								He Sun 
							
						 
					 
					
						
						
						
						
							
						
						
							44583e15be 
							
						 
					 
					
						
						
							
							Add default /etc/hosts during occlum init  
						
						 
						
						
						
						
					 
					
						2020-09-18 12:39:12 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							617f75904f 
							
						 
					 
					
						
						
							
							Install occlum needed sgx-sdk tools to occlum dir  
						
						 
						
						... 
						
						
						
						When installers are used, sgx-sdk of Occlum version could have conflicts with official sgx-sdk.
This patch will make sure Occlum command use Occlum specific sgx-sdk.
Also add symbolic links to PAL library of hardware mode when installing. 
						
						
					 
					
						2020-09-18 12:39:12 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							66e5cefec2 
							
						 
					 
					
						
						
							
							Add "occlum new" command  
						
						 
						
						
						
						
					 
					
						2020-08-15 19:12:39 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							85501d8993 
							
						 
					 
					
						
						
							
							Improve implementation for occlum build  
						
						 
						
						... 
						
						
						
						This commit mainly accomplish two things:
1. Use makefile to manage dependencies for `occlum build`, which can save lots of time
2. Take dirs `build`, `run` outside from `.occlum`. Remove env var "OCCLUM_INSTANCE_DIR" 
						
						
					 
					
						2020-08-15 19:12:39 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							3f6bcec1c5 
							
						 
					 
					
						
						
							
							Substitute ramFS with a temporary SEFS at "/tmp"  
						
						 
						
						
						
						
					 
					
						2020-08-15 19:12:39 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							259c485427 
							
						 
					 
					
						
						
							
							Use new build directory arch  
						
						 
						
						
						
						
					 
					
						2020-08-11 13:47:17 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								LI Qing 
							
						 
					 
					
						
						
						
						
							
						
						
							572873d9a4 
							
						 
					 
					
						
						
							
							Enable UnionFS  
						
						 
						
						
						
						
					 
					
						2020-07-23 21:40:34 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							406f30ec7a 
							
						 
					 
					
						
						
							
							Polish build and install process  
						
						 
						
						... 
						
						
						
						Remove redundent files and make processes for SGX simulation mode and hardware mode. 
						
						
					 
					
						2020-07-08 11:51:33 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							6909629241 
							
						 
					 
					
						
						
							
							Add Occlum version for dynamic libraries  
						
						 
						
						
						
						
					 
					
						2020-06-22 07:36:03 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								He Sun 
							
						 
					 
					
						
						
						
						
							
						
						
							28440b0d69 
							
						 
					 
					
						
						
							
							Build in the MAC of the occlum configuration file with objcopy  
						
						 
						
						... 
						
						
						
						1. Objcopy the MAC of Occlum.json to libocclum-libos.so before signature
during occlum build.
2. Remove the files and codes no longer used. 
						
						
					 
					
						2020-06-13 03:33:32 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								zongmin.gu 
							
						 
					 
					
						
						
						
						
							
						
						
							942321363d 
							
						 
					 
					
						
						
							
							Combine the enclave configuration into the occlum configuration file  
						
						 
						
						... 
						
						
						
						Update the occlum.json to align with the gen_enclave_conf design.
Below is the two updated structures:
   "metadata": {
        "product_id": 0,
        "version_number": 0,
        "debuggable": true
    },
    "resource_limits": {
        "max_num_of_threads": 32,
        "kernel_space_heap_size": "32MB",
        "kernel_space_stack_size": "1MB",
        "user_space_size": "256MB"
    } 
						
						
					 
					
						2020-06-05 11:03:47 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Zongmin 
							
						 
					 
					
						
						
						
						
							
						
						
							0c3466f4ad 
							
						 
					 
					
						
						
							
							Add three new occlum commands: start, exec and stop  
						
						 
						
						... 
						
						
						
						Usage:
//start the occlum server
occlum start
//execute the command inside occlum
occlum exec [cmd] [-- <args>]
//stop the occlum server
occlum stop 
						
						
					 
					
						2020-05-15 03:02:42 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							255f277f30 
							
						 
					 
					
						
						
							
							Build Occlum tools in SGX simulation mode by default  
						
						 
						
						
						
						
					 
					
						2020-05-15 03:02:42 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Zongmin 
							
						 
					 
					
						
						
						
						
							
						
						
							a6d97d5b4f 
							
						 
					 
					
						
						
							
							Update the sdk version to 2.9.1  
						
						 
						
						... 
						
						
						
						Fix std::alloc::Alloc not found
The lastest Rust changes the trait to std::alloc::AllocRef.
Update the docker files to support sgx 2.9.1
Remove the compilerRT dependency for rust sdk update 
						
						
					 
					
						2020-05-15 03:02:42 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Hui, Chunyang 
							
						 
					 
					
						
						
						
						
							
						
						
							6a17e6292c 
							
						 
					 
					
						
						
							
							Add support for user specified instance dir name  
						
						 
						
						... 
						
						
						
						The default instance dir of Occlum is ".occlum". User now can specify the name
by declaring environment variable "OCCLUM_INSTANCE_DIR" 
						
						
					 
					
						2020-05-15 02:59:16 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tate, Hongliang Tian 
							
						 
					 
					
						
						
						
						
							
						
						
							60b1e2c28d 
							
						 
					 
					
						
						
							
							Make the command line tool more robust  
						
						 
						
						... 
						
						
						
						The CLI tool is robust in the sense that it can handle the execution of
init/build/run/gdb commands in any order (as long as the commands are invoked
sequentially, not concurrently). 
						
						
					 
					
						2020-04-02 10:51:03 +08:00