Linux 2.9 Open Source Gold Release

Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
This commit is contained in:
Li, Xun
2020-03-10 09:36:44 +08:00
parent e0a51c4974
commit 4589daddd5
2442 changed files with 29332 additions and 489455 deletions
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2011-2019 Intel Corporation. All rights reserved.
* Copyright (C) 2011-2020 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
+1 -1
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2011-2019 Intel Corporation. All rights reserved.
* Copyright (C) 2011-2020 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2011-2019 Intel Corporation. All rights reserved.
* Copyright (C) 2011-2020 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2011-2019 Intel Corporation. All rights reserved.
* Copyright (C) 2011-2020 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2011-2019 Intel Corporation. All rights reserved.
* Copyright (C) 2011-2020 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2011-2019 Intel Corporation. All rights reserved.
* Copyright (C) 2011-2020 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
+4 -6
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2011-2019 Intel Corporation. All rights reserved.
# Copyright (C) 2011-2020 Intel Corporation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@@ -29,20 +29,18 @@
#
#
SGX_SDK ?= /opt/intel/sgxsdk
App_Objects := App/sample.o App/enclave_entry.o
sample: $(App_Objects)
@$(CXX) $^ -o $@ -z noexecstack -L. -lsgx_enclave_common
@$(CXX) $^ -o $@ -z noexecstack -lsgx_enclave_common
@echo "LINK => $@"
App/%.o: App/%.cpp
@$(CXX) -c $< -o $@ -I./Include -I$(SGX_SDK)/include
@$(CXX) -c $< -o $@ -I./Include
@echo "GEN => $@"
App/%.o: App/%.S
@$(CC) -c $< -o $@ -I./Include -I$(SGX_SDK)/include
@$(CC) -c $< -o $@ -I./Include
@echo "GEN => $@"
.PHONY: clean
+3 -5
View File
@@ -10,15 +10,13 @@ The project demonstrates how to use these Enclave Common Loader Layer APIs:
------------------------------------
How to Build/Execute the Sample Code
------------------------------------
1. Install Intel(R) Software Guard Extensions (Intel(R) SGX) PSW and Intel(R) SGX SDK for Linux* OS
2. Make sure your environment is set:
$ source ${sgx-sdk-install-path}/environment
3. Build the project with the prepared Makefile:
1. Install Intel(R) Software Guard Extensions (Intel(R) SGX) Enclave Common Loader and its development package for Linux* OS
2. Build the project with the prepared Makefile:
a. Build the project
$ make
b. Clean the project
$ make clean
c. Re-build the project
$ make rebuild
4. Execute the binary directly:
3. Execute the binary directly:
$ ./sample