Skip to content

Commit

Permalink
[Examples] pytorch: Fix accessing /etc/fstab
Browse files Browse the repository at this point in the history
This makes /etc/fstab accessible when running in SGX mode, which was
missed when we updated PyTorch recently.
  • Loading branch information
AI-Memory authored and mkow committed Sep 14, 2020
1 parent 877dae6 commit 56b329d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Examples/pytorch/pytorch.manifest.template
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ sgx.allowed_files.hosts = file:/etc/hosts
sgx.allowed_files.gaiconf = file:/etc/gai.conf
sgx.allowed_files.resolv = file:/etc/resolv.conf

# System's file system table
sgx.allowed_files.fstab = file:/etc/fstab

# Graphene optionally provides patched OpenMP runtime library that runs faster
# inside SGX enclaves (execute `make -C LibOS gcc` to generate it). Uncomment
# the lines below to use the patched library. PyTorch's SGX perf overhead
Expand Down

0 comments on commit 56b329d

Please sign in to comment.