[PR #3900] [MERGED] Add $PATH expansion to private-lib #4938

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

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/3900
Author: @smitsohu
Created: 1/18/2021
Status: Merged
Merged: 1/20/2021
Merged by: @smitsohu

Base: masterHead: privatelib


📝 Commits (1)

  • e6adf81 private-lib: search executables in $PATH

📊 Changes

1 file changed (+58 additions, -1 deletions)

View changed files

📝 src/firejail/fs_lib.c (+58 -1)

📄 Description

Support is already quite good if private-bin and private-lib are combined, or if a full application path is provided. Add $PATH expansion to private-lib in order to support simple application names at a similar level.

For example firejail --noprofile --private-lib gedit or firejail --noprofile --private-lib okular work this way without specifiying particular libraries.


🔄 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/3900 **Author:** [@smitsohu](https://github.com/smitsohu) **Created:** 1/18/2021 **Status:** ✅ Merged **Merged:** 1/20/2021 **Merged by:** [@smitsohu](https://github.com/smitsohu) **Base:** `master` ← **Head:** `privatelib` --- ### 📝 Commits (1) - [`e6adf81`](https://github.com/netblue30/firejail/commit/e6adf8150fef150e0d32ee22ae3d0005e82a8dd2) private-lib: search executables in $PATH ### 📊 Changes **1 file changed** (+58 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/firejail/fs_lib.c` (+58 -1) </details> ### 📄 Description Support is already quite good if `private-bin` and `private-lib` are combined, or if a full application path is provided. Add $PATH expansion to `private-lib` in order to support simple application names at a similar level. For example `firejail --noprofile --private-lib gedit` or `firejail --noprofile --private-lib okular` work this way without specifiying particular libraries. --- <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:29: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#4938
No description provided.