Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Commit

Permalink
fixup! [Examples] Add SQLite
Browse files Browse the repository at this point in the history
Signed-off-by: Paweł Marczewski <[email protected]>
  • Loading branch information
pwmarcz committed Jul 19, 2021
1 parent 9c5e1f1 commit 3b67e5d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Examples/sqlite/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
OUTPUT
/OUTPUT
/scripts/testdir/*
!/scripts/testdir/.dummy
2 changes: 0 additions & 2 deletions Examples/sqlite/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ sqlite3.manifest: manifest.template
-Darch_libdir=$(ARCH_LIBDIR) \
$< >$@

# Generating the SGX-specific manifest (*.manifest.sgx), the enclave signature,
# and the token for enclave initialization.
sqlite3.manifest.sgx: sqlite3.manifest
graphene-sgx-sign \
--key $(SGX_SIGNER_KEY) \
Expand Down
4 changes: 4 additions & 0 deletions Examples/sqlite/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,7 @@ That means it is safe to access the same database file from multiple processes,
but only within a **single Graphene instance**. In other words, a multi-process
Graphene application is OK, but multiple Graphene instances should not access
the same database file concurrently.

Note that in a production setup, the database should be either mounted as a
protected file, or from tmpfs, which would make it impossible to access from
multiple Graphene instances anyway.

0 comments on commit 3b67e5d

Please sign in to comment.