diff options
author | Alexander Larsson <alexl@redhat.com> | 2018-05-28 14:08:01 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-05-28 13:06:50 +0000 |
commit | dcca240beed31cde0540ce910a0c2f8e513e0563 (patch) | |
tree | 58cc9f443295d935da5bd4baf43f19e282824504 /common/flatpak-run-private.h | |
parent | 53285fd1eea2c818ee4d54a43ee2f4cec67ef8d9 (diff) | |
download | flatpak-dcca240beed31cde0540ce910a0c2f8e513e0563.tar.gz |
run: Break out generation of run flags from context to helper
This also adds a call to this from flatpak build, although it is
not (yet) strictly necessary as all the flags it sets so far
are always set when building. This may change in the future though.
Closes: #1721
Approved by: alexlarsson
Diffstat (limited to 'common/flatpak-run-private.h')
-rw-r--r-- | common/flatpak-run-private.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/common/flatpak-run-private.h b/common/flatpak-run-private.h index 740d293f..ce7c851c 100644 --- a/common/flatpak-run-private.h +++ b/common/flatpak-run-private.h @@ -103,26 +103,6 @@ gboolean flatpak_run_in_transient_unit (const char *app_id, #define FLATPAK_METADATA_KEY_REF "ref" #define FLATPAK_METADATA_KEY_TAG "tag" - -typedef enum { - FLATPAK_RUN_FLAG_DEVEL = (1 << 0), - FLATPAK_RUN_FLAG_BACKGROUND = (1 << 1), - FLATPAK_RUN_FLAG_LOG_SESSION_BUS = (1 << 2), - FLATPAK_RUN_FLAG_LOG_SYSTEM_BUS = (1 << 3), - FLATPAK_RUN_FLAG_NO_SESSION_HELPER = (1 << 4), - FLATPAK_RUN_FLAG_MULTIARCH = (1 << 5), - FLATPAK_RUN_FLAG_WRITABLE_ETC = (1 << 6), - FLATPAK_RUN_FLAG_NO_SESSION_BUS_PROXY = (1 << 7), - FLATPAK_RUN_FLAG_NO_SYSTEM_BUS_PROXY = (1 << 8), - FLATPAK_RUN_FLAG_SET_PERSONALITY = (1 << 9), - FLATPAK_RUN_FLAG_FILE_FORWARDING = (1 << 10), - FLATPAK_RUN_FLAG_DIE_WITH_PARENT = (1 << 11), - FLATPAK_RUN_FLAG_LOG_A11Y_BUS = (1 << 12), - FLATPAK_RUN_FLAG_NO_A11Y_BUS_PROXY = (1 << 13), - FLATPAK_RUN_FLAG_SANDBOX = (1 << 14), - FLATPAK_RUN_FLAG_NO_DOCUMENTS_PORTAL = (1 << 15), -} FlatpakRunFlags; - gboolean flatpak_run_add_extension_args (FlatpakBwrap *bwrap, GKeyFile *metakey, const char *full_ref, |