mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #4590] [MERGED] Read mount id also on legacy kernels #5199
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#5199
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/4590
Author: @smitsohu
Created: 10/5/2021
Status: ✅ Merged
Merged: 10/6/2021
Merged by: @smitsohu
Base:
master← Head:mountid📝 Commits (2)
84d5469simplify recursive remountinga78d014mountinfo: get mount id from failed call to name_to_handle_at📊 Changes
3 files changed (+63 additions, -48 deletions)
View changed files
📝
src/firejail/firejail.h(+1 -1)📝
src/firejail/fs.c(+17 -21)📝
src/firejail/mountinfo.c(+45 -26)📄 Description
Recursive remounting (
noexec,read-only,read-write) currently needs a mount id. So far this id could not be obtained on kernels before 3.15.Add support for recursive remounting also on legacy kernels, like frequently found on mobile devices. Should help SailfishOS community ports.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.