[PR #4856] [MERGED] keep-fd option (#4845) #5271

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

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/4856
Author: @smitsohu
Created: 1/14/2022
Status: Merged
Merged: 1/16/2022
Merged by: @netblue30

Base: masterHead: fildes


📝 Commits (1)

📊 Changes

13 files changed (+138 additions, -18 deletions)

View changed files

📝 contrib/vim/syntax/firejail.vim (+1 -1)
📝 src/firejail/dbus.c (+4 -4)
📝 src/firejail/firejail.h (+2 -0)
📝 src/firejail/join.c (+0 -5)
📝 src/firejail/main.c (+9 -0)
📝 src/firejail/profile.c (+9 -0)
📝 src/firejail/sandbox.c (+35 -8)
📝 src/firejail/usage.c (+1 -0)
📝 src/include/common.h (+1 -0)
📝 src/lib/common.c (+50 -0)
📝 src/man/firejail-profile.txt (+5 -0)
📝 src/man/firejail.txt (+20 -0)
📝 src/zsh_completion/_firejail.in (+1 -0)

📄 Description

(I had to move setrlimit code because I am using an open /proc/self/fd file descriptor to close everything else, and it was getting in the way of rlimit-nofile)

Stuff related to stdin, stdout, sterr is supposed to follow.


🔄 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/4856 **Author:** [@smitsohu](https://github.com/smitsohu) **Created:** 1/14/2022 **Status:** ✅ Merged **Merged:** 1/16/2022 **Merged by:** [@netblue30](https://github.com/netblue30) **Base:** `master` ← **Head:** `fildes` --- ### 📝 Commits (1) - [`c764520`](https://github.com/netblue30/firejail/commit/c764520b5aa343c00c3a73633511df039645973c) keep-fd option (#4845) ### 📊 Changes **13 files changed** (+138 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `contrib/vim/syntax/firejail.vim` (+1 -1) 📝 `src/firejail/dbus.c` (+4 -4) 📝 `src/firejail/firejail.h` (+2 -0) 📝 `src/firejail/join.c` (+0 -5) 📝 `src/firejail/main.c` (+9 -0) 📝 `src/firejail/profile.c` (+9 -0) 📝 `src/firejail/sandbox.c` (+35 -8) 📝 `src/firejail/usage.c` (+1 -0) 📝 `src/include/common.h` (+1 -0) 📝 `src/lib/common.c` (+50 -0) 📝 `src/man/firejail-profile.txt` (+5 -0) 📝 `src/man/firejail.txt` (+20 -0) 📝 `src/zsh_completion/_firejail.in` (+1 -0) </details> ### 📄 Description (I had to move setrlimit code because I am using an open /proc/self/fd file descriptor to close everything else, and it was getting in the way of `rlimit-nofile`) Stuff related to stdin, stdout, sterr is supposed to follow. --- <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:35:22 -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#5271
No description provided.