[PR #4533] [MERGED] rework exitcodes #5180

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

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/4533
Author: @smitsohu
Created: 9/11/2021
Status: Merged
Merged: 9/22/2021
Merged by: @smitsohu

Base: masterHead: exitcode


📝 Commits (1)

📊 Changes

3 files changed (+24 additions, -17 deletions)

View changed files

📝 src/firejail/join.c (+6 -5)
📝 src/firejail/main.c (+8 -5)
📝 src/firejail/sandbox.c (+10 -7)

📄 Description

  • add 128 to exitcode if child received a fatal signal
    (this is similar to what bash and other shells do)
  • unify exitcodes across firejail: treat processes created with join
    the same as processes in the primary process tree

fixes #4474


🔄 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/4533 **Author:** [@smitsohu](https://github.com/smitsohu) **Created:** 9/11/2021 **Status:** ✅ Merged **Merged:** 9/22/2021 **Merged by:** [@smitsohu](https://github.com/smitsohu) **Base:** `master` ← **Head:** `exitcode` --- ### 📝 Commits (1) - [`1b2710f`](https://github.com/netblue30/firejail/commit/1b2710f4d4948a8ee6332894d886d84f79c0587a) rework exitcodes ### 📊 Changes **3 files changed** (+24 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `src/firejail/join.c` (+6 -5) 📝 `src/firejail/main.c` (+8 -5) 📝 `src/firejail/sandbox.c` (+10 -7) </details> ### 📄 Description * add 128 to exitcode if child received a fatal signal (this is similar to what bash and other shells do) * unify exitcodes across firejail: treat processes created with `join` the same as processes in the primary process tree fixes #4474 --- <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:33:43 -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#5180
No description provided.