flatpak-run.c (flatpak-1.9.1.tar.xz) | : | flatpak-run.c (flatpak-1.9.2.tar.xz) | ||
---|---|---|---|---|
skipping to change at line 3583 | skipping to change at line 3583 | |||
gboolean use_ld_so_cache = TRUE; | gboolean use_ld_so_cache = TRUE; | |||
gboolean sandboxed = (flags & FLATPAK_RUN_FLAG_SANDBOX) != 0; | gboolean sandboxed = (flags & FLATPAK_RUN_FLAG_SANDBOX) != 0; | |||
gboolean parent_expose_pids = (flags & FLATPAK_RUN_FLAG_PARENT_EXPOSE_PIDS) != 0; | gboolean parent_expose_pids = (flags & FLATPAK_RUN_FLAG_PARENT_EXPOSE_PIDS) != 0; | |||
struct stat s; | struct stat s; | |||
if (!check_sudo (error)) | if (!check_sudo (error)) | |||
return FALSE; | return FALSE; | |||
app_id = flatpak_decomposed_dup_id (app_ref); | app_id = flatpak_decomposed_dup_id (app_ref); | |||
app_arch = flatpak_decomposed_dup_id (app_ref); | app_arch = flatpak_decomposed_dup_arch (app_ref); | |||
/* Check the user is allowed to run this flatpak. */ | /* Check the user is allowed to run this flatpak. */ | |||
if (!check_parental_controls (app_ref, app_deploy, cancellable, error)) | if (!check_parental_controls (app_ref, app_deploy, cancellable, error)) | |||
return FALSE; | return FALSE; | |||
/* Construct the bwrap context. */ | /* Construct the bwrap context. */ | |||
bwrap = flatpak_bwrap_new (NULL); | bwrap = flatpak_bwrap_new (NULL); | |||
flatpak_bwrap_add_arg (bwrap, flatpak_get_bwrap ()); | flatpak_bwrap_add_arg (bwrap, flatpak_get_bwrap ()); | |||
if (app_deploy == NULL) | if (app_deploy == NULL) | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |