mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #4095] [MERGED] make appimage mounts private to sandbox #5028
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#5028
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/4095
Author: @smitsohu
Created: 3/13/2021
Status: ✅ Merged
Merged: 3/14/2021
Merged by: @netblue30
Base:
master← Head:appimage📝 Commits (2)
a22c5b0make appimage mounts private to sandboxae1d534appimage: calculate elf offset from file descriptor📊 Changes
13 files changed (+67 additions, -126 deletions)
View changed files
📝
src/firejail/appimage.c(+42 -87)📝
src/firejail/appimage_size.c(+8 -14)📝
src/firejail/cmdline.c(+4 -12)📝
src/firejail/firejail.h(+3 -3)📝
src/firejail/fs.c(+0 -2)📝
src/firejail/main.c(+1 -1)📝
src/firejail/sandbox.c(+2 -0)📝
test/appimage/appimage-args.exp(+1 -1)📝
test/appimage/appimage-trace.exp(+2 -2)📝
test/appimage/appimage-v1.exp(+1 -1)📝
test/appimage/appimage-v2.exp(+1 -1)📝
test/appimage/appimage.sh(+1 -1)📝
test/appimage/filename.exp(+1 -1)📄 Description
Mount AppImage on
/run/firejail/appimagein the sandbox process, rather than on a subdirectory in the main process. This way the mount is destroyed automatically when the sandbox terminates, and it is private to the sandbox and not a global resource (except for root, who can always peek into the loop device).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.