Policy lists¶
The exact lists appjail enforces, taken from its source when this page was generated. Why each exists is explained on the page linked under each heading.
Paths that are never granted¶
Explained in the filesystem view. Paths below the home directory
are written without ~/; a folder that contains one of the secret paths is refused too.
| Refused | In every mode | Read-write only |
|---|---|---|
credentials and secrets (grants.SECRET_HOME_DIRS) |
.ssh, .gnupg, .aws, .kube, .docker, .password-store, .netrc, .config/gcloud, .config/gh, .config/Bitwarden, .local/share/keyrings, .local/share/gnome-keyring, .git-credentials, .pki, .bash_history, .zsh_history, .zhistory, .python_history, .lesshst, .psql_history, .mysql_history, .node_repl_history, .local/share/fish, .mozilla, .thunderbird, .mail, .gnupg2, .var, .config/google-chrome, .config/chromium, .config/BraveSoftware, .config/vivaldi, .config/microsoft-edge, .config/opera, .config/mozilla, .cache/mozilla, .local/share/kwalletd, .local/share/Trash, .npmrc, .yarnrc, .yarnrc.yml, .pypirc, .cargo/credentials, .cargo/credentials.toml, .gem/credentials, .m2/settings.xml, .gradle/gradle.properties, .config/rclone, .azure, .oci, .config/doctl, .config/hub, .config/glab-cli, .terraform.d, .config/op, .config/1Password, .1password, .config/keepassxc, .local/share/keepassxc, .config/KeePass, .config/Signal |
|
file names like keys and password databases (grants.SECRET_SUFFIXES) |
*.kdbx, *.kdb, *.key, *.pem, *.p12, *.pfx |
|
too broad (grants.BROAD_HOME_DIRS) |
.config, .local, .local/share, .local/state, .cache, the home directory and its parents, / |
|
system trees (grants.SYSTEM_PATHS) |
/etc, /dev, /proc, /sys, /run, /boot, /root, /usr, /bin, /sbin, /lib, /lib32, /lib64, except mount points of your own removable media, /run/media/USER/LABEL, and what is inside them |
|
shared temporary directories, as folders (grants.SHARED_DIRS) |
/tmp, /var/tmp |
|
code that runs outside the jail later (grants.PERSIST_HOME_DIRS) |
.local/bin, .config/autostart, .config/systemd, .config/environment.d, .config/fish, .local/share/applications, .local/share/systemd, .local/share/dbus-1, .bashrc.d, .profile.d, .config/plasma-workspace, .config/Code, .config/nvim, .config/zsh, .local/lib, .local/share/thumbnailers, .local/share/kio/servicemenus, .local/share/kservices5, .local/share/nautilus/scripts, .local/share/nemo/actions, .local/share/nemo/scripts, .local/share/icons, .icons, .cargo/bin, .vim, .emacs.d, .config/tmux |
|
startup files (grants.PERSIST_HOME_FILES) |
.bashrc, .bash_profile, .bash_login, .bash_logout, .profile, .zshrc, .zshenv, .zprofile, .zlogin, .xprofile, .xinitrc, .xsession, .xsessionrc, .pam_environment, .gitconfig, .npmrc, .pypirc, .netrc, .vimrc, .config/git/config, .tmux.conf, .emacs, .inputrc |
|
the look of your other apps (grants.APPEARANCE_HOME_DIRS) |
.config/gtk-2.0, .gtkrc-2.0, .config/gtk-3.0, .config/gtk-4.0, .local/share/themes, .themes, .config/fontconfig, .local/share/fonts, .fonts, .config/kdeglobals, .config/qt5ct, .config/qt6ct, .config/Kvantum |
D-Bus names¶
Explained in D-Bus and the filtering proxy.
| List | Names |
|---|---|
refused, with every name below them (grants.DBUS_BLOCKED) |
org.freedesktop.DBus, org.freedesktop.systemd1, org.freedesktop.Flatpak, org.freedesktop.impl, org.gnome.Shell, org.gnome.SessionManager, org.kde.KWin, org.kde.klauncher5, org.kde.klauncher6, org.freedesktop.portal, ca.desrt.dconf, org.gtk.vfs, org.gnome.Mutter, org.freedesktop.a11y, org.gnome.ScreenSaver, org.kde.kglobalaccel, org.kde.keyboard, org.cinnamon.Muffin, org.Cinnamon, org.cinnamon.Screenshot, org.cinnamon.ScreenSaver, org.kde.plasmashell, org.kde.klipper |
allowed with a warning: stored secrets (grants.DBUS_SENSITIVE) |
org.freedesktop.secrets, org.gnome.keyring, org.kde.kwalletd5, org.kde.kwalletd6 |
cannot be owned (grants.DBUS_NO_OWN) |
org.freedesktop.*, org.gnome.*, org.kde.*, org.a11y.*, com.canonical.*, org.ayatana.*, org.gtk.*, ca.desrt.* |
may be owned all the same (grants.DBUS_OWN_OK) |
org.freedesktop.StatusNotifierItem*, org.kde.StatusNotifierItem* |
| a wildcard needs at least | 3 name parts before .* |
Confined services (dbusproxy.CONFINED): only these interfaces, on this object path, plus org.freedesktop.DBus.Properties, org.freedesktop.DBus.Introspectable, org.freedesktop.DBus.Peer.
| Name | Interfaces | Object path |
|---|---|---|
org.freedesktop.Notifications |
org.freedesktop.Notifications |
/org/freedesktop/Notifications |
org.gtk.Notifications |
org.gtk.Notifications |
/org/gtk/Notifications |
org.freedesktop.secrets |
org.freedesktop.Secret.Service, org.freedesktop.Secret.Collection, org.freedesktop.Secret.Item, org.freedesktop.Secret.Session, org.freedesktop.Secret.Prompt |
/org/freedesktop/secrets/* |
org.kde.StatusNotifierWatcher |
org.kde.StatusNotifierWatcher |
/StatusNotifierWatcher |
org.mpris.MediaPlayer2.* |
org.mpris.MediaPlayer2, org.mpris.MediaPlayer2.Player, org.mpris.MediaPlayer2.TrackList, org.mpris.MediaPlayer2.Playlists |
/org/mpris/MediaPlayer2 |
Environment variables¶
Explained in the manifest. Names the [env] table refuses.
| List | Names |
|---|---|
set by appjail itself (grants.ENV_REFUSED) |
PATH, HOME, USER, LOGNAME, SHELL, LANG, TZ, XDG_RUNTIME_DIR, APPDIR, APPIMAGE_EXTRACT_AND_RUN, TMPDIR, DISPLAY, WAYLAND_DISPLAY, XDG_SESSION_TYPE, GDK_BACKEND, QT_QPA_PLATFORM, MOZ_ENABLE_WAYLAND, ELECTRON_OZONE_PLATFORM_HINT, SDL_VIDEODRIVER, DBUS_SESSION_BUS_ADDRESS, PULSE_SERVER, GTK_USE_PORTAL |
loader, interpreter and plugin hooks, not exhaustive (grants.ENV_REFUSED_HOOKS) |
BASH_ENV, ENV, NODE_OPTIONS, NODE_PATH, ELECTRON_RUN_AS_NODE, JAVA_TOOL_OPTIONS, _JAVA_OPTIONS, JDK_JAVA_OPTIONS, GTK_MODULES, GTK3_MODULES, GTK_PATH, GIO_EXTRA_MODULES, GIO_MODULE_DIR, GDK_PIXBUF_MODULE_FILE, GDK_PIXBUF_MODULEDIR, QT_PLUGIN_PATH, QT_QPA_PLATFORM_PLUGIN_PATH, LIBGL_DRIVERS_PATH, GBM_BACKENDS_PATH, __EGL_VENDOR_LIBRARY_FILENAMES, __EGL_VENDOR_LIBRARY_DIRS, GCONV_PATH |
any name starting with (grants.ENV_REFUSED_PREFIXES) |
LD_*, PYTHON*, PERL*, RUBY*, LUA_*, GST_PLUGIN*, VK_* |
| limits | 32 entries, names up to 64 characters, values up to 1024 characters |
Portal interfaces¶
Explained in portals. Names are the part after org.freedesktop.portal..
| Set | Interfaces |
|---|---|
with portals = true (grants.PORTAL_SAFE), plus the document portal |
FileChooser, Notification, Settings, Trash, Print, Inhibit, NetworkMonitor, ProxyResolver, Secret, Realtime, MemoryMonitor, PowerProfileMonitor |
opt-in, named in portal_interfaces (grants.PORTAL_OPT_IN) |
OpenURI, Email, Screenshot, ScreenCast, RemoteDesktop, GlobalShortcuts, InputCapture, Camera, Location, Account, Wallpaper, Background, Usb |
never (grants.PORTAL_NEVER) |
Flatpak, DynamicLauncher |
permission-store tables cleared by remove (portal.STORE_TABLES) |
background, desktop-used-apps, devices, gamemode, global-shortcuts, inhibit, input-capture, location, notifications, realtime, remote-desktop, screencast, screenshot, usb, wallpaper |
Wayland interfaces¶
Explained in Wayland. A socket that lists a privileged interface, or one
in neither table, refuses a windowed app without full_wayland.
| Privileged kind | Lets a client | Interfaces |
|---|---|---|
| capture | capture the screen | zwlr_screencopy_manager_v1, ext_image_copy_capture_manager_v1, zwlr_export_dmabuf_manager_v1, hyprland_toplevel_export_manager_v1, zkde_screencast_unstable_v1, weston_capture_v1 |
| input | type or click for other apps, or take over the keyboard | zwlr_virtual_pointer_manager_v1, zwp_virtual_keyboard_manager_v1, zwp_input_method_manager_v2, zwp_input_method_v1, zwp_input_panel_v1, org_kde_kwin_fake_input, zwlr_input_inhibit_manager_v1, hyprland_global_shortcuts_manager_v1, zwf_shell_manager_v2, ext_transient_seat_manager_v1, hyprland_focus_grab_manager_v1 |
| clipboard | read and replace the clipboard without having the focus | zwlr_data_control_manager_v1, ext_data_control_manager_v1 |
| windows | see or control other apps' windows, see which apps start, change the screen layout or the lock screen, or make the shell call a D-Bus service or open an icon file of the app's choosing | zwlr_foreign_toplevel_manager_v1, ext_foreign_toplevel_list_v1, org_kde_plasma_window_management, zwlr_layer_shell_v1, org_kde_plasma_shell, weston_desktop_shell, zwlr_output_manager_v1, zwlr_output_power_manager_v1, zwlr_gamma_control_manager_v1, kde_output_management_v2, kde_output_management_v1, ext_session_lock_manager_v1, ext_workspace_manager_v1, zcosmic_workspace_manager_v1, hyprland_toplevel_mapping_manager_v1, hyprland_ctm_control_manager_v1, hyprland_lock_notifier_v1, kde_lockscreen_overlay_v1, org_kde_plasma_activation_feedback, org_kde_kwin_appmenu_manager, xapp_shell_v1 |
| desktop | switch the screens off, change their brightness, the virtual desktops or the screen edges, or read the lock keys | org_kde_kwin_dpms_manager, kde_external_brightness_v1, org_kde_plasma_virtual_desktop_management, kde_screen_edge_manager_v1, org_kde_kwin_keystate |
Allowed (wayland.RATIONALE), with why each is not privileged. Basis: own: acts only on the client's own surfaces, buffers or settings; focus: acts only while the client has the focus, or on an input serial it was given; token: needs a token or handle that another client or the compositor handed over; facts: describes the hardware, the outputs or the settings; changes nothing; limit: accepted limit, decided (docs/decisions/desktop/wayland-allowlist.md). Read says where the protocol was read.
| Interface | Basis | Read | Why |
|---|---|---|---|
ext_background_effect_manager_v1 |
own | wayland-protocols | blur behind the client's own translucent surface |
ext_foreign_toplevel_image_capture_source_manager_v1 |
own | wayland-protocols | names a window as a capture source; capturing needs the copy manager, which is privileged |
ext_idle_notifier_v1 |
limit | wayland-protocols | tells whether the user is idle: a privacy signal, no request acts on anything |
ext_output_image_capture_source_manager_v1 |
own | wayland-protocols | names an output as a capture source; capturing needs the copy manager, which is privileged |
frog_color_management_factory_v1 |
own | frog-color-management-v1.xml (KWin 6.3.6) | colour management of the client's own surface; the preferred metadata is a fact about its output |
gtk_primary_selection_device_manager |
focus | gtk-shell.xml, gtk-primary-selection.xml, gtk-text-input.xml (Mutter 48.7, Muffin 6.4.1 sources) | GTK's own version of the primary selection: only the client with the keyboard focus receives the offer |
gtk_shell1 |
limit | gtk-shell.xml, gtk-primary-selection.xml, gtk-text-input.xml (Mutter 48.7, Muffin 6.4.1 sources) | own windows, but any client can take the keyboard focus (present, or notify_launch and request_focus, with no token) and GNOME Shell calls a D-Bus name the client picks |
gtk_text_input_manager |
focus | gtk-shell.xml, gtk-primary-selection.xml, gtk-text-input.xml (Mutter 48.7, Muffin 6.4.1 sources) | GTK's own version of text input: enable, disable and surrounding text of the focused client |
hyprland_surface_manager_v1 |
own | hyprland-surface-v1.xml (hyprland-protocols 0.7.1) and Hyprland 0.55.2 source | opacity and visible region of the client's own surface (set_opacity, set_visible_region) |
kde_output_device_registry_v2 |
limit | plasma-wayland-protocols | the list of outputs, as kde_output_device_v2 describes them |
kde_output_device_v2 |
limit | plasma-wayland-protocols | describes the outputs, with their EDID and serial numbers: a hardware fingerprint |
kde_output_order_v1 |
facts | plasma-wayland-protocols | the order of the outputs; events only |
org_kde_kwin_idle |
limit | plasma-wayland-protocols | idle notification; simulate_user_activity resets the idle timer, as an idle inhibitor already can |
org_kde_kwin_server_decoration_manager |
own | plasma-wayland-protocols | the decoration mode of the client's own window |
org_kde_kwin_server_decoration_palette_manager |
own | plasma-wayland-protocols | the title-bar colours of the client's own window |
org_kde_kwin_shadow_manager |
own | plasma-wayland-protocols | the shadow of the client's own surface |
wl_compositor |
own | core | creates the client's surfaces |
wl_data_device_manager |
focus | core | selection and drag-and-drop reach the focused client; reading the clipboard needs a paste |
wl_drm |
own | wayland-drm.xml (Mesa 26.1.6, KWin 6.3.6) and live on KWin and Hyprland | Mesa's buffer sharing: the device name, and buffers the client makes from its own dmabuf; a buffer by flink name is refused (KWin, Hyprland, tried) |
wl_fixes |
own | core | destroys the client's own registry |
wl_output |
facts | core | geometry, make, model and scale of the outputs |
wl_seat |
focus | core | input goes to the focused client only |
wl_shell |
own | core | the deprecated shell: the client's own windows |
wl_shm |
own | core | the client's own shared-memory buffers |
wl_subcompositor |
own | core | sub-surfaces of the client's own surfaces |
wp_alpha_modifier_v1 |
own | wayland-protocols | the opacity of the client's own surface |
wp_color_manager_v1 |
limit | wayland-protocols | colour of the client's own surface, and the colour profile (ICC) of the outputs: a hardware fingerprint |
wp_color_representation_manager_v1 |
own | wayland-protocols | how the client's own buffer is interpreted |
wp_commit_timing_manager_v1 |
own | wayland-protocols | timing of the client's own commits |
wp_content_type_manager_v1 |
own | wayland-protocols | a hint about the client's own surface |
wp_cursor_shape_manager_v1 |
focus | wayland-protocols | the cursor shape while the client has the pointer |
wp_drm_lease_device_v1 |
limit | wayland-protocols | sends the client an unprivileged DRM file descriptor (a render node on GNOME) without the gpu permission; leasing a display needs an output the desktop does not use |
wp_fifo_manager_v1 |
own | wayland-protocols | presentation order of the client's own commits |
wp_fractional_scale_manager_v1 |
facts | wayland-protocols | the preferred scale of the client's own surface |
wp_linux_drm_syncobj_manager_v1 |
own | wayland-protocols | synchronisation of the client's own buffers |
wp_pointer_warp_v1 |
focus | wayland-protocols | moves the pointer within the client's focused surface, on a serial |
wp_presentation |
facts | wayland-protocols | timing of the client's own frames |
wp_security_context_manager_v1 |
own | wayland-protocols | can only make another socket that is more restricted |
wp_single_pixel_buffer_manager_v1 |
own | wayland-protocols | a buffer of the client |
wp_tearing_control_manager_v1 |
own | wayland-protocols | a hint about the client's own surface |
wp_viewporter |
own | wayland-protocols | crops and scales the client's own surface |
xdg_activation_v1 |
token | wayland-protocols | needs a serial of the client or a token it was handed; the compositor may ignore it |
xdg_session_manager_v1 |
token | wayland-protocols | the client's own toplevels, restored through a session token the compositor makes |
xdg_system_bell_v1 |
own | wayland-protocols | rings the system bell |
xdg_toplevel_drag_manager_v1 |
focus | wayland-protocols | attaches the client's window to a drag it started |
xdg_toplevel_icon_manager_v1 |
own | wayland-protocols | the icon of the client's own window |
xdg_toplevel_tag_manager_v1 |
own | wayland-protocols | a tag and description of the client's own window |
xdg_wm_base |
own | wayland-protocols | makes the client's surfaces windows |
xdg_wm_dialog_v1 |
own | wayland-protocols | marks the client's own dialog modal |
xwayland_shell_v1 |
own | wayland-protocols | pairs the client's surface with an X11 window; compositors hide it from clients but Xwayland |
zwp_idle_inhibit_manager_v1 |
limit | wayland-protocols | keeps the screen from blanking or locking while the client's surface is visible |
zwp_input_timestamps_manager_v1 |
focus | wayland-protocols | timestamps of the input the client receives |
zwp_keyboard_shortcuts_inhibit_manager_v1 |
focus | wayland-protocols | receives the desktop's shortcuts while focused |
zwp_linux_dmabuf_v1 |
own | wayland-protocols | the client's own GPU buffers; feedback names the device, it does not open it |
zwp_linux_explicit_synchronization_v1 |
own | wayland-protocols | synchronisation of the client's own buffers |
zwp_pointer_constraints_v1 |
focus | wayland-protocols | locks or confines the pointer while the client has the focus |
zwp_pointer_gestures_v1 |
focus | wayland-protocols | gestures on the client's focused surface |
zwp_primary_selection_device_manager_v1 |
focus | wayland-protocols | the primary selection reaches the focused client |
zwp_relative_pointer_manager_v1 |
focus | wayland-protocols | relative motion while the client has the pointer |
zwp_tablet_manager_v2 |
focus | wayland-protocols | tablet input while the client has the focus |
zwp_text_input_manager_v1 |
focus | wayland-protocols | the input method of the focused client |
zwp_text_input_manager_v2 |
focus | plasma-wayland-protocols | the input method of the focused client |
zwp_text_input_manager_v3 |
focus | wayland-protocols | the input method of the focused client |
zxdg_decoration_manager_v1 |
own | wayland-protocols | the decoration mode of the client's own window |
zxdg_exporter_v1 |
token | wayland-protocols | gives out a handle to the client's own window |
zxdg_exporter_v2 |
token | wayland-protocols | gives out a handle to the client's own window |
zxdg_importer_v1 |
token | wayland-protocols | needs a handle another client exported |
zxdg_importer_v2 |
token | wayland-protocols | needs a handle another client exported |
zxdg_output_manager_v1 |
facts | wayland-protocols | names and logical layout of the outputs |
zxdg_shell_v6 |
own | wayland-protocols | the unstable xdg shell: the client's own windows |
System calls¶
Explained in seccomp.
| Rule | System calls |
|---|---|
always refused, EPERM (seccomp.ALWAYS) |
_sysctl, acct, add_key, bpf, create_module, delete_module, fanotify_init, finit_module, get_kernel_syms, get_mempolicy, init_module, ioperm, iopl, kexec_file_load, kexec_load, keyctl, lookup_dcookie, mbind, migrate_pages, move_pages, name_to_handle_at, nfsservctl, open_by_handle_at, perf_event_open, process_vm_readv, process_vm_writev, ptrace, query_module, quotactl, reboot, request_key, set_mempolicy, swapoff, swapon, syslog, uselib, userfaultfd |
ioctl refused, EPERM |
TIOCSTI, TIOCLINUX |
socket, socketpair: only these families, else EAFNOSUPPORT |
AF_UNSPEC, AF_UNIX, AF_INET, AF_INET6, AF_NETLINK |
personality: only the default and the query, else EPERM |
PER_LINUX, 0xffffffff |
answered ENOSYS (seccomp.IO_URING) |
io_uring_enter, io_uring_register, io_uring_setup |
refused without userns, EPERM (seccomp.NAMESPACE) |
chroot, fsconfig, fsmount, fsopen, fspick, mount, mount_setattr, move_mount, open_tree, pivot_root, setns, umount2, unshare, clone with a new-namespace flag; clone3 answers ENOSYS |
| any architecture but x86-64, the x32 ABI | process killed / EPERM |