Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flatpak-run-wayland: Change security-context sandbox engine name #5558

Merged
merged 1 commit into from
Oct 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
flatpak-run-wayland: Change security-context sandbox engine name
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
commit 8802d7250f36f9aa6f281e06b08339e9a14f6754
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