[PR #4374] [MERGED] fs_home.c: run more code with euid of the user #5137

Closed
opened 2026-05-05 10:32:59 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/4374
Author: @smitsohu
Created: 6/26/2021
Status: Merged
Merged: 6/26/2021
Merged by: @smitsohu

Base: masterHead: euid


📝 Commits (2)

  • 8754896 copy_file_as_user function: drop not needed arguments
  • 771dcce fs_home.c: improve EUID switching, fix selinux relabeling

📊 Changes

6 files changed (+77 additions, -44 deletions)

View changed files

📝 src/firejail/firejail.h (+1 -1)
📝 src/firejail/fs_home.c (+62 -37)
📝 src/firejail/fs_whitelist.c (+4 -1)
📝 src/firejail/sandbox.c (+2 -0)
📝 src/firejail/util.c (+4 -3)
📝 src/firejail/x11.c (+4 -2)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netblue30/firejail/pull/4374 **Author:** [@smitsohu](https://github.com/smitsohu) **Created:** 6/26/2021 **Status:** ✅ Merged **Merged:** 6/26/2021 **Merged by:** [@smitsohu](https://github.com/smitsohu) **Base:** `master` ← **Head:** `euid` --- ### 📝 Commits (2) - [`8754896`](https://github.com/netblue30/firejail/commit/87548960b8c7fb091e5d57a1195f203faba32e54) copy_file_as_user function: drop not needed arguments - [`771dcce`](https://github.com/netblue30/firejail/commit/771dccecba69e134cbf425ad036b2d1fa01f1ccc) fs_home.c: improve EUID switching, fix selinux relabeling ### 📊 Changes **6 files changed** (+77 additions, -44 deletions) <details> <summary>View changed files</summary> 📝 `src/firejail/firejail.h` (+1 -1) 📝 `src/firejail/fs_home.c` (+62 -37) 📝 `src/firejail/fs_whitelist.c` (+4 -1) 📝 `src/firejail/sandbox.c` (+2 -0) 📝 `src/firejail/util.c` (+4 -3) 📝 `src/firejail/x11.c` (+4 -2) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:32:59 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#5137
No description provided.