mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #3772] [MERGED] use openat2 syscall when available #4879
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#4879
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/3772
Author: @smitsohu
Created: 11/24/2020
Status: ✅ Merged
Merged: 12/7/2020
Merged by: @netblue30
Base:
master← Head:smitsohu-openat2📝 Commits (1)
a0b0d8fuse openat2 syscall when available📊 Changes
1 file changed (+37 additions, -26 deletions)
View changed files
📝
src/firejail/util.c(+37 -26)📄 Description
Kernel 5.6 added a new system call openat2 which can help us in dealing with symbolic links.
safe_fd()also had a tiny bug where the root directory would be opened with the wrongs flags. While not very relevant to current Firejail, fixing it allowed sorting instructions in a different and imho slightly more logic way.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.