File indexing completed on 2024-12-01 13:34:04

0001 /**
0002  * Copyright © 2014 Red Hat, Inc
0003  * SPDX-License-Identifier: LGPL-2.1-or-later
0004  */
0005 
0006 #include "flatpakcommon.h"
0007 
0008 /* Same order as enum */
0009 namespace FlatpakStrings
0010 {
0011 
0012 const char *flatpak_policy[] = {
0013     "none",
0014     "see",
0015     "talk",
0016     "own",
0017     nullptr,
0018 };
0019 
0020 const char *flatpak_context_shares[] = {
0021     "network",
0022     "ipc",
0023     nullptr,
0024 };
0025 
0026 const char *flatpak_context_sockets[] = {
0027     "x11",
0028     "wayland",
0029     "pulseaudio",
0030     "session-bus",
0031     "system-bus",
0032     "fallback-x11",
0033     "ssh-auth",
0034     "pcsc",
0035     "cups",
0036     "gpg-agent",
0037     nullptr,
0038 };
0039 
0040 const char *flatpak_context_devices[] = {
0041     "dri",
0042     "all",
0043     "kvm",
0044     "shm",
0045     nullptr,
0046 };
0047 
0048 const char *flatpak_context_features[] = {
0049     "devel",
0050     "multiarch",
0051     "bluetooth",
0052     "canbus",
0053     "per-app-dev-shm",
0054     nullptr,
0055 };
0056 
0057 const char *flatpak_context_special_filesystems[] = {
0058     "home",
0059     "host",
0060     "host-etc",
0061     "host-os",
0062     "host-reset",
0063     nullptr,
0064 };
0065 
0066 } // namespace