Skip to content

Commit

Permalink
Fix the signature inconsistency issue in Gramine
Browse files Browse the repository at this point in the history
  • Loading branch information
huangxu17 committed Apr 16, 2024
1 parent f905579 commit 59ba856
Showing 1 changed file with 115 additions and 4 deletions.
119 changes: 115 additions & 4 deletions sgx/gramine/CI-Examples/generate-token/python.manifest.template
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ sgx.trusted_files = [
"file:/usr/local/lib/libz.so.1.2.11",
"file:/usr/local/lib/pkgconfig/",
"file:/usr/local/lib/x86_64-linux-gnu/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/libtensorflow_framework.so.2",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/_api/__init__.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/_api/v2/__init__.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/_api/v2/__internal__/",
Expand Down Expand Up @@ -210,16 +209,87 @@ sgx.trusted_files = [
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/_api/v2/types/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/_api/v2/version/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/_api/v2/xla/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/compiler/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/core/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/compiler/__init__.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/compiler/jit/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/compiler/mlir/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/compiler/tf2tensorrt/__init__.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/compiler/tf2tensorrt/ops/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/compiler/tf2tensorrt/utils/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/compiler/tf2xla/__init__.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/compiler/tf2xla/python/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/compiler/xla/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/core/__init__.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/core/debug/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/core/example/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/core/framework/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/core/grappler/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/core/lib/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/core/profiler/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/core/protobuf/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/core/util/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/core/kernels/__init__.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/core/kernels/boosted_trees/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/include/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/keras/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/tools/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/lite/experimental/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/lite/toco/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/lite/__init__.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/xla_aot_runtime_src/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/__init__.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/autograph/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/compat/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/compiler/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/data/__init__.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/data/benchmarks/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/data/experimental/__init__.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/data/experimental/kernel_tests/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/data/experimental/ops/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/data/experimental/service/__init__.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/data/experimental/service/server_lib.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/data/kernel_tests/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/data/ops/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/data/util/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/debug/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/distribute/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/dlpack/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/estimator/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/feature_column/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/grappler/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/kernel_tests/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/layers/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/lib/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/module/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/platform/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/profiler/__init__.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/profiler/model_analyzer.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/profiler/option_builder.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/profiler/profiler.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/profiler/profiler_client.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/profiler/profiler_v2.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/profiler/tfprof_logger.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/profiler/trace.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/profiler/traceme.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/profiler/internal/__init__.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/profiler/internal/flops_registry.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/pywrap_mlir.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/pywrap_tensorflow.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/pywrap_tfe.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/saved_model/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/summary/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/tf2.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/tools/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/tpu/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/types/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/user_ops/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/util/",
"file:/usr/local/lib/python3.6/dist-packages/pyspark/",
"file:/usr/local/lib/python3.6/dist-packages/Cython/",
"file:/usr/local/lib/python3.6/dist-packages/numpy/",
Expand Down Expand Up @@ -366,6 +436,47 @@ sgx.allowed_files = [
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/__init__.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/lite/python/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/_api/v2/v2.py",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/libtensorflow_framework.so.2",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/compiler/tf2tensorrt/_pywrap_py_utils.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/compiler/tf2xla/ops/",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/core/kernels/libtfkernel_sobol_op.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_dtypes.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_op_def_registry.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_op_def_util.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_python_memory_checker_helper.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_bfloat16.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_checkpoint_reader.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_debug_events_writer.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_device_lib.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_events_writer.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_file_io.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_kernel_registry.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_mlir.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_parallel_device.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_py_exception_registry.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_py_func.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_python_api_dispatcher.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_python_op_gen.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_quantize_training.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_record_io.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_stacktrace_handler.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_stat_summarizer.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_tensor_float_32_execution.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_tensorflow_internal.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_tf_cluster.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_tf_item.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_tf_optimizer.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_tf_session.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_tfe.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_tfprof.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_toco_api.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_transform_graph.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_util_port.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_pywrap_utils.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/_tf_stack.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/data/experimental/service/_pywrap_server_lib.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/profiler/internal/_pywrap_profiler.so",
"file:/usr/local/lib/python3.6/dist-packages/tensorflow/python/profiler/internal/_pywrap_traceme.so",
"file:/usr/local/lib/python3.6/dist-packages/wrapt/",
"file:/usr/local/lib/python3.6/dist-packages/Cython-0.29.36.dist-info/",
"file:/usr/local/lib/python3.6/dist-packages/Deprecated-1.2.14.dist-info/",
Expand Down

0 comments on commit 59ba856

Please sign in to comment.