[PR #29] [MERGED] Replace get_link with realpath #3513

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

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/29
Author: @ghost
Created: 8/16/2015
Status: Merged
Merged: 8/16/2015
Merged by: @netblue30

Base: masterHead: symlink-fixes


📝 Commits (1)

  • 77a080e Replace get_link with realpath

📊 Changes

4 files changed (+15 additions, -60 deletions)

View changed files

📝 src/firejail/firejail.h (+0 -1)
📝 src/firejail/fs_dev.c (+7 -17)
📝 src/firejail/fs_var.c (+8 -18)
📝 src/firejail/util.c (+0 -24)

📄 Description

Removed the get_link function in util.c and replace all calls to it with the realpath standard library function. This makes firejail handle all symlinks correctly.


🔄 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/29 **Author:** [@ghost](https://github.com/ghost) **Created:** 8/16/2015 **Status:** ✅ Merged **Merged:** 8/16/2015 **Merged by:** [@netblue30](https://github.com/netblue30) **Base:** `master` ← **Head:** `symlink-fixes` --- ### 📝 Commits (1) - [`77a080e`](https://github.com/netblue30/firejail/commit/77a080e45a836ffc2d884af99f3917d01c477265) Replace get_link with realpath ### 📊 Changes **4 files changed** (+15 additions, -60 deletions) <details> <summary>View changed files</summary> 📝 `src/firejail/firejail.h` (+0 -1) 📝 `src/firejail/fs_dev.c` (+7 -17) 📝 `src/firejail/fs_var.c` (+8 -18) 📝 `src/firejail/util.c` (+0 -24) </details> ### 📄 Description Removed the `get_link` function in util.c and replace all calls to it with the `realpath` standard library function. This makes firejail handle all symlinks correctly. --- <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:02:49 -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#3513
No description provided.