[PR #6856] [MERGED] modif: firemon: improve debug message code #6200

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

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/6856
Author: @kmk3
Created: 8/6/2025
Status: Merged
Merged: 8/22/2025
Merged by: @kmk3

Base: masterHead: procevent-improve-debug


📝 Commits (4)

  • 8b8bf79 procevent.c: improve misc formatting
  • 0c88402 procevent.c: reposition some debug message calls
  • eb6fc94 procevent.c: add debug_prctl macro
  • 1069127 procevent.c: replace printf with debug_prctl

📊 Changes

1 file changed (+46 additions, -60 deletions)

View changed files

📝 src/firemon/procevent.c (+46 -60)

📄 Description

Replace almost all debug printf calls with debug_prctl to reduce the
amount of duplication and ifdefs.

Note: There is one debug printf call that uses a different message
format, so it is left as is.

This is a follow-up to #6854.

Relates to #6792.


🔄 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/6856 **Author:** [@kmk3](https://github.com/kmk3) **Created:** 8/6/2025 **Status:** ✅ Merged **Merged:** 8/22/2025 **Merged by:** [@kmk3](https://github.com/kmk3) **Base:** `master` ← **Head:** `procevent-improve-debug` --- ### 📝 Commits (4) - [`8b8bf79`](https://github.com/netblue30/firejail/commit/8b8bf79547543d8f96bab69838eff34fbf01680c) procevent.c: improve misc formatting - [`0c88402`](https://github.com/netblue30/firejail/commit/0c884029fc4e1084c4b2d7b9ed6241884bf41739) procevent.c: reposition some debug message calls - [`eb6fc94`](https://github.com/netblue30/firejail/commit/eb6fc9403799adc6e10735a22de55fdcae399804) procevent.c: add debug_prctl macro - [`1069127`](https://github.com/netblue30/firejail/commit/1069127f5fe6a49db17147c328e0976e32656b75) procevent.c: replace printf with debug_prctl ### 📊 Changes **1 file changed** (+46 additions, -60 deletions) <details> <summary>View changed files</summary> 📝 `src/firemon/procevent.c` (+46 -60) </details> ### 📄 Description Replace almost all debug `printf` calls with `debug_prctl` to reduce the amount of duplication and `ifdefs`. Note: There is one debug `printf` call that uses a different message format, so it is left as is. This is a follow-up to #6854. Relates to #6792. --- <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:52:34 -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#6200
No description provided.