[PR #2157] [CLOSED] Fix 2155 - Add user-profiles configuration option. #4188

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

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/2157
Author: @crass
Created: 10/9/2018
Status: Closed

Base: masterHead: fix-2155


📝 Commits (4)

  • 5d36986 rename expand_home -> expand_macros to better reflect usage and remove unneeded homedir argument.
  • 36c04db Allow specifying a profile "name" with the profile option (eg. --profile=firefox).
  • 1990103 Update man pages and usage to reflect --profile enhancement.
  • 2625b35 Add "user-profiles" config option.

📊 Changes

14 files changed (+113 additions, -56 deletions)

View changed files

📝 etc/firejail.config (+3 -0)
📝 src/firejail/checkcfg.c (+9 -0)
📝 src/firejail/firejail.h (+4 -2)
📝 src/firejail/fs.c (+2 -4)
📝 src/firejail/fs_home.c (+2 -2)
📝 src/firejail/fs_hostname.c (+1 -1)
📝 src/firejail/fs_mkdir.c (+2 -2)
📝 src/firejail/fs_whitelist.c (+1 -1)
📝 src/firejail/macros.c (+3 -4)
📝 src/firejail/main.c (+32 -28)
📝 src/firejail/profile.c (+30 -8)
📝 src/firejail/usage.c (+1 -1)
📝 src/man/firejail-profile.txt (+12 -1)
📝 src/man/firejail.txt (+11 -2)

📄 Description

This is based on the work in pull #2152. The actual code for this pull is the last commit. Its pretty straight forward. This fixes #2155.


🔄 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/2157 **Author:** [@crass](https://github.com/crass) **Created:** 10/9/2018 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fix-2155` --- ### 📝 Commits (4) - [`5d36986`](https://github.com/netblue30/firejail/commit/5d3698607e991ee35f3d9f5493e65adaabd64b7c) rename expand_home -> expand_macros to better reflect usage and remove unneeded homedir argument. - [`36c04db`](https://github.com/netblue30/firejail/commit/36c04dbd3ef132a796e5bc815fa13d1851153180) Allow specifying a profile "name" with the profile option (eg. --profile=firefox). - [`1990103`](https://github.com/netblue30/firejail/commit/19901034aa8f9077cda6207b3f847f6fda0ec5d5) Update man pages and usage to reflect --profile enhancement. - [`2625b35`](https://github.com/netblue30/firejail/commit/2625b3558c1eb2fe48ec9e074aa471c9c8bd6a3d) Add "user-profiles" config option. ### 📊 Changes **14 files changed** (+113 additions, -56 deletions) <details> <summary>View changed files</summary> 📝 `etc/firejail.config` (+3 -0) 📝 `src/firejail/checkcfg.c` (+9 -0) 📝 `src/firejail/firejail.h` (+4 -2) 📝 `src/firejail/fs.c` (+2 -4) 📝 `src/firejail/fs_home.c` (+2 -2) 📝 `src/firejail/fs_hostname.c` (+1 -1) 📝 `src/firejail/fs_mkdir.c` (+2 -2) 📝 `src/firejail/fs_whitelist.c` (+1 -1) 📝 `src/firejail/macros.c` (+3 -4) 📝 `src/firejail/main.c` (+32 -28) 📝 `src/firejail/profile.c` (+30 -8) 📝 `src/firejail/usage.c` (+1 -1) 📝 `src/man/firejail-profile.txt` (+12 -1) 📝 `src/man/firejail.txt` (+11 -2) </details> ### 📄 Description This is based on the work in pull #2152. The actual code for this pull is the last commit. Its pretty straight forward. This fixes #2155. --- <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:15:24 -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#4188
No description provided.