[PR #6890] [MERGED] modif: rlimit: allow uppercase suffixes #6222

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

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/6890
Author: @kmk3
Created: 9/4/2025
Status: Merged
Merged: 9/5/2025
Merged by: @kmk3

Base: masterHead: rlimit-allow-upper-suffixes


📝 Commits (1)

  • 377722a modif: rlimit: allow uppercase suffixes

📊 Changes

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

View changed files

📝 src/firejail/util.c (+1 -0)

📄 Description

For better usability and because the proper suffixes (KiB, MiB and GiB)
are uppercase.

Affected commands:

  • rlimit-as
  • rlimit-fsize

Before:

$ firejail --quiet --noprofile --rlimit-as=100m /bin/true
$ firejail --quiet --noprofile --rlimit-as=100M /bin/true
Error: invalid rlimit-as. Only use positive numbers and k, m or g suffix.: No such file or directory

After:

$ firejail --quiet --noprofile --rlimit-as=100m /bin/true
$ firejail --quiet --noprofile --rlimit-as=100M /bin/true

Relates to #4315.


🔄 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/6890 **Author:** [@kmk3](https://github.com/kmk3) **Created:** 9/4/2025 **Status:** ✅ Merged **Merged:** 9/5/2025 **Merged by:** [@kmk3](https://github.com/kmk3) **Base:** `master` ← **Head:** `rlimit-allow-upper-suffixes` --- ### 📝 Commits (1) - [`377722a`](https://github.com/netblue30/firejail/commit/377722ac5c8ca742726605eb6a1e1f4b37f4aa77) modif: rlimit: allow uppercase suffixes ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/firejail/util.c` (+1 -0) </details> ### 📄 Description For better usability and because the proper suffixes (KiB, MiB and GiB) are uppercase. Affected commands: * `rlimit-as` * `rlimit-fsize` Before: $ firejail --quiet --noprofile --rlimit-as=100m /bin/true $ firejail --quiet --noprofile --rlimit-as=100M /bin/true Error: invalid rlimit-as. Only use positive numbers and k, m or g suffix.: No such file or directory After: $ firejail --quiet --noprofile --rlimit-as=100m /bin/true $ firejail --quiet --noprofile --rlimit-as=100M /bin/true Relates to #4315. --- <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:53:01 -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#6222
No description provided.