Skip to content

Commit 12223e5

Browse files
committed
Linux 2.3.1 Open Source Gold Release
Bug fixes Signed-off-by: Li, Xun <[email protected]>
1 parent c08051e commit 12223e5

File tree

18 files changed

+28
-179
lines changed

18 files changed

+28
-179
lines changed

README.md

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,10 @@ To build the Intel(R) SGX PSW installer, enter the following command:
137137
```
138138
$ make deb_sgx_enclave_common_pkg
139139
```
140-
You can find the generated Intel(R) SGX PSW installer ``libsgx-enclave-common_${version}-${revision}_amd64.deb`` located under `linux/installer/deb/libsgx-enclave-common`, where `${version}` refers to the version number and the `${revision}` refers to the revision number of the package.
141-
**Note**: On Ubuntu 18.04, besides the Intel(R) SGX PSW installer, the above command generates another debug symbol package named ``libsgx-enclave-common-dbgsym_${version}-${revision}_amd64.ddeb`` for debug purpose. On Ubuntu 16.04, if you want to keep debug symbols in the Intel(R) SGX PSW installer, before building the Intel(R) SGX PSW, you need to export an environment variable to ensure the debug symbols not stripped:
140+
You can find the generated Intel(R) SGX PSW installer ``libsgx-enclave-common_${version}-${revision}_${arch}.deb`` located under `linux/installer/deb/libsgx-enclave-common`, where `${version}` refers to the version number and the `${arch}` refers to the platform.
141+
**Note**: On Ubuntu 18.04, besides the Intel(R) SGX PSW installer, the above command generates another debug symbol package named ``libsgx-enclave-common-dbgsym_${version}-${revision}_${arch}.ddeb`` for debug purpose. On Ubuntu 16.04, if you want to keep debug symbols in the Intel(R) SGX PSW installer, before building the Intel(R) SGX PSW, you need to export an environment variable to ensure the debug symbols not stripped:
142142
```
143-
$ export DEB_BUILD_OPTIONS="nostrip"
143+
$export DEB_BUILD_OPTIONS="nostrip"
144144
```
145145
**Note**: The above command builds the Intel(R) SGX PSW with default configuration firstly and then generates the target PSW Installer. To build the Intel(R) SGX PSW Installer without optimization and with full debug information kept in the tools and libraries, enter the following command:
146146
```
@@ -158,12 +158,6 @@ To build the Intel(R) SGX PSW installer, enter the following command:
158158
```
159159
$ make psw_install_pkg DEBUG=1
160160
```
161-
To build the Intel(R) SGX PSW development installer, enter the following command:
162-
- On Ubuntu 16.04 and Ubuntu 18.04:
163-
```
164-
$ make deb_sgx_enclave_common_dev_pkg
165-
```
166-
You can find the generated Intel(R) SGX PSW development installer ``libsgx-enclave-common-dev_${version}-${revision}_${arch}.deb`` located under `linux/installer/deb/libsgx-enclave-common-dev`.
167161

168162
Install the Intel(R) SGX SDK
169163
------------------------
@@ -298,12 +292,12 @@ To install the Intel(R) SGX PSW, invoke the installer with root privilege:
298292
- On Ubuntu 16.04 and Ubuntu 18.04:
299293
```
300294
$ cd linux/installer/deb/libsgx-enclave-common
301-
$ sudo dpkg -i ./libsgx-enclave-common_${version}-${revision}_amd64.deb
295+
$ sudo dpkg -i ./libsgx-enclave-common_${version}-${revision}_${arch}.deb
302296
```
303297
**NOTE**: To debug with sgx-gdb on Ubuntu 16.04, you need to ensure the Intel(R) SGX PSW is built under the condition that the environment variable ``DEB_BUILD_OPTIONS="nostrip"`` is set. On Ubuntu 18.04, you need to install the debug package by entering the following command:
304298
```
305299
$ cd linux/installer/deb/libsgx-enclave-common
306-
$ sudo dpkg -i ./libsgx-enclave-common-dbgsym_${version}-${revision}_amd64.ddeb
300+
$ sudo dpkg -i ./libsgx-enclave-common-dbgsym_${version}-${revision}_${arch}.ddeb
307301
```
308302
- On Red Hat Enterprise Linux 7.4 and CentOS 7.5:
309303
- On Fedora 27:

common/inc/internal/mini_snprintf.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@
5252
#include <stdarg.h>
5353
#include <limits.h>
5454

55-
#include "sl_util.h"
56-
5755
/*===========================================================================
5856
* Interface
5957
*===========================================================================*/

common/inc/internal/se_version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2929
*
3030
*/
31-
#define STRFILEVER "2.3.100.46354"
31+
#define STRFILEVER "2.3.101.46683"
3232
#define COPYRIGHT "Copyright (C) 2018 Intel Corporation"
3333

3434
#define URTS_VERSION "1.0.101.0"

common/inc/sgx_uswitchless.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
#include "sgx_error.h"
7373
#include "sgx_eid.h"
7474
#include "sgx_defs.h"
75+
#include "sgx_urts.h"
7576

7677
/*
7778
* A worker can be either trusted (executed inside enclave) or untrusted

download_prebuilt.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@
3333

3434
top_dir=`dirname $0`
3535
out_dir=$top_dir
36-
optlib_name=optimized_libs_2.3.tar.gz
37-
ae_file_name=prebuilt_ae_2.3.tar.gz
38-
checksum_file=SHA256SUM_prebuilt_2.3.txt
39-
server_url_path=https://download.01.org/intel-sgx/linux-2.3/
36+
optlib_name=optimized_libs_2.3.1.tar.gz
37+
ae_file_name=prebuilt_ae_2.3.1.tar.gz
38+
checksum_file=SHA256SUM_prebuilt_2.3.1.txt
39+
server_url_path=https://download.01.org/intel-sgx/linux-2.3.1/
4040
server_optlib_url=$server_url_path/$optlib_name
4141
server_ae_url=$server_url_path/$ae_file_name
4242
server_checksum_url=$server_url_path/$checksum_file

linux/installer/bin/build-installpkg.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ BUILD_DIR=${ROOT_DIR}/build/linux
5757
# Get the architecture of the build from generated binary
5858
get_arch()
5959
{
60-
local a=$(readelf -h $BUILD_DIR/sgx_sign | sed -n '2p' | awk '{print $6}')
60+
local a=$(readelf -h $BUILD_DIR/sgx_sign | sed -n '2p' | awk '/:/{print $6}')
6161
test $a = 02 && echo 'x86_64' || echo 'x86'
6262
}
6363

linux/installer/common/libsgx-enclave-common/createTarball.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ rm -fr ${INSTALL_PATH}
4747
# Get the architecture of the build from generated binary
4848
get_arch()
4949
{
50-
local a=$(readelf -h $(find ${BUILD_DIR} -name "*.so*" |head -n 1) | sed -n '2p' | awk '{print $6}')
50+
local a=$(readelf -h $(find ${BUILD_DIR} -name "*.so*" |head -n 1) | sed -n '2p' | awk '/:/{print $6}')
5151
test $a = 02 && echo 'x64' || echo 'x86'
5252
}
5353

linux/installer/common/psw/createTarball.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ rm -fr ${INSTALL_PATH}
4747
# Get the architecture of the build from generated binary
4848
get_arch()
4949
{
50-
local a=$(readelf -h $BUILD_DIR/sgx_sign | sed -n '2p' | awk '{print $6}')
50+
local a=$(readelf -h $BUILD_DIR/sgx_sign | sed -n '2p' | awk '/:/{print $6}')
5151
test $a = 02 && echo 'x64' || echo 'x86'
5252
}
5353

linux/installer/common/sdk/createTarball.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ rm -fr ${INSTALL_PATH}
4747
# Get the architecture of the build from generated binary
4848
get_arch()
4949
{
50-
local a=$(readelf -h $BUILD_DIR/sgx_sign | sed -n '2p' | awk '{print $6}')
50+
local a=$(readelf -h $BUILD_DIR/sgx_sign | sed -n '2p' | awk '/:/{print $6}')
5151
test $a = 02 && echo 'x64' || echo 'x86'
5252
}
5353

psw/ae/aesm_service/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ COMMON_SRC += ./source/qe/QEClass.cpp \
193193
./source/pse_op/pse_op_psda_ocall.cpp \
194194
./source/pse_op/pse_op_vmc_sqlite_ocall.cpp \
195195
upse.cpp \
196-
upse_iclsInit.cpp \
197196
helper.cpp \
198197
sigma_helper.cpp \
199198
interface_ocsp.cpp \

0 commit comments

Comments
 (0)