Skip to content

Commit

Permalink
flatpak-run-wayland: Change security-context sandbox engine name
Browse files Browse the repository at this point in the history
To align with work in D-Bus, the security-context's sandbox engine names
are now supposed to follow the reverse-DNS style.

This change should be fine because there has not been a release of
flatpak with security-context support, yet.
  • Loading branch information
swick authored and smcv committed Oct 24, 2023
1 parent c2045cb commit 08090f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/flatpak-run-wayland.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ flatpak_run_add_wayland_security_context_args (FlatpakBwrap *bwrap,
security_context = wp_security_context_manager_v1_create_listener (security_context_manager,
listen_fd,
sync_fd);
wp_security_context_v1_set_sandbox_engine (security_context, "flatpak");
wp_security_context_v1_set_sandbox_engine (security_context, "org.flatpak");
wp_security_context_v1_set_app_id (security_context, app_id);
wp_security_context_v1_set_instance_id (security_context, instance_id);
wp_security_context_v1_commit (security_context);
Expand Down

0 comments on commit 08090f9

Please sign in to comment.