mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #3674] [MERGED] Apply --rmenv immediately to help to avoid the env var length check #4844
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#4844
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/3674
Author: @topimiettinen
Created: 10/15/2020
Status: ✅ Merged
Merged: 10/17/2020
Merged by: @netblue30
Base:
master← Head:rmenv-apply-early📝 Commits (1)
aabd38fApply --rmenv immediately to help to avoid the env var length check📊 Changes
2 files changed (+7 additions, -2 deletions)
View changed files
📝
src/firejail/main.c(+6 -2)📝
src/firejail/profile.c(+1 -0)📄 Description
Remove environment variables with --rmenv (and profile rmenv)
immediately. This fixes removing long environment variables (LS_COLORS
generated by vivid), previously the length filter would trip before
the command was processed.
This changes user visible behavior slightly, for example --rmenv=LANG
now applies also to Firejail, while earlier it would only apply to
sandboxed program.
Closes #3673.
Signed-off-by: Topi Miettinen toiwoton@gmail.com
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.