sgx_linux_x64_driver_2.11.0_4505f07.bin
Backtick shell command-substitution syntaxMake install clean command
SHA-256492e0f091759ff4ba3c421d2fb72f505000e6f16c63f0d4cf3d374944ae0e4af
MaleculeH₆(CrDbF₆Os₂Po₅)Md₂(Pt₃)
Evidence
1#!/usr/bin/env bash
2#
3# Copyright (C) 2011-2020 Intel Corporation. All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions
7# are met:
8#
9# * Redistributions of source code must retain the above copyright
10# notice, this list of conditions and the following disclaimer.
11# * Redistributions in binary form must repr …
15:52… names of its
16# contributors may be used to endorse or promote products derived
17# from this software without specific prior written permission.
18#
19# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20# "AS IS" AND ANY EXPR …
⋯6 lines
35PKG_NAME="Intel SGX Driver"
36
37if test $(id -u) -ne 0; then
38 echo "Root privilege is required to install $PKG_NAME."
39 exit 4
40fi
41
42PATH=/usr/bin:/bin
43umask 022
44
45DRIVERPKG=`mktemp -t sgx-driver-pkg.XXXXXX`
46DRIVER_TEMP_FOLDER=`mktemp -d sgx-driver-XXXXXX -p /tmp`
47trap "rm -fr $DRIVERPKG $DRIVER_TEMP_FOLDER 2>/dev/null; /bin/sed -i '/^isgx$/d' /etc/modules; exit 3" HUP INT QUIT TERM EXIT
48
49# The number of lines in this script (plus 1). Using this number to
50# calculate the start address of the payload.
51NR_SCRIPT_LINES=93
52
53# Run /usr/bin/md5sum on the binary payload to get the MD5 check sum.
54CHKSUM=5a82a8d27649c09e04c8982f7e35c18f
55
56# Get …
61:6… -n "Verifying the integrity of the install package ..."
62if test $(md5sum $DRIVERPKG | awk '{print $1}') != $CHKSUM; then
63 echo " The install package appears to be corrupted."
64 exit 1
65fi
66echo " done."
67
68echo "Installing $PKG_NAME ..."
69tar zxf $DRIVERPKG -C $DRIVER_TEMP_FOLDER >/dev/null 2>&1
70retcode=$? # Save the return code
71
⋯8 lines
80pushd $DRIVER_TEMP_FOLDER
81
82source scripts/installConfig
83make install
84
85popd
86
87${SGX_PACKAGES_PATH}/${DRIVER_PKG_NAME}/scripts/install.sh
88
89rm -fr ${DRIVER_TEMP_FOLDER}
90
91trap - EXIT
92exit 0
93��������<kW�ȶ�5�5�3��ADtڱ�D��+�K@��gVVH
94�& �Ν>���]��$[�ϙu�%U���v�W��N,����W�F�����{���v���W�]��mTj��*��~u��|M��k��G�+���A�������
i��{Ϻ���,�Z�ZݮUj�8�a֛��X�S&�m���Ի�fYDjZ~�Y��1�§�r��.<�������=����/�OV0%��������\ӚX�U"�Gɜz3+�I�{k��!�����ƶ�O�sM�1-\�\6��;�![�|�N"��X��&ЁWD���[�
95u⸁e�@X>��Y�e⥙���[3��0�A�0�ux�!�0]c1�N�G����Gfz@=K����ن�d� )L$b�Zl5"w�E�V�XB���?D
96bp����dLѐ@ �PDŽQ�6<�܀�,�F�c�L`���w'�'4��ʈ?�,���<4/���sQ���LQ��;^J�����w���9��I�4{���rz6$g�vK�D�`�;(ǣao��ג
97k_�)�{E������7 J��V��Hݡ"�%�t��QK鞖� ��p���2�a���.$�ґ�3�����2�bO�a����G"}i0T���4 �Ѡ�Se�µ�ٖ���*@��rwH�3��N�
98hz�]y�$E%�2�)�e$�Dm)�9D�����@`�]<j_n*�t"�D��bU��L��ԑNA�£���i�ru��cu�GC���z-�qU\(MY=$�ʔ6Red�%
%F�����>�T�iO���`�*�n6��|J��������f���
99�.�>�����,Ә��PAs�a(�"Q����+���S�۔q��x …
99:297… ����Jc���˚8�wR��p.�r{ �e "L ]��}O�����7�r����p4C7�41h�F`'�ogz��E���(��$��ʮ(��߶g��#�,���}*�C�@fvlk���¦>�qJ�M.X���w��6��e� p4?�d&]��}�#�C �nb.� XV$!�e ����vz-
�Pρ��Ö��c��B��`�9��mI�)�6�k(��
�HN�'��ʀl���ΔB���Pc����SЯERek"��Muą�b�֛�-��V������߿�!�� V�
Rfs
GX) …