mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #3322] [MERGED] Filter environment variables #4721
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#4721
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/3322
Author: @topimiettinen
Created: 4/6/2020
Status: ✅ Merged
Merged: 2/9/2021
Merged by: @netblue30
Base:
master← Head:filter-environment-variables📝 Commits (1)
1c7ea15Filter environment variables📊 Changes
19 files changed (+284 additions, -119 deletions)
View changed files
📝
src/firejail/appimage.c(+10 -8)📝
src/firejail/checkcfg.c(+2 -4)📝
src/firejail/chroot.c(+2 -2)📝
src/firejail/dbus.c(+11 -19)📝
src/firejail/env.c(+134 -30)📝
src/firejail/firejail.h(+9 -2)📝
src/firejail/fs.c(+1 -1)📝
src/firejail/fs_whitelist.c(+1 -1)📝
src/firejail/join.c(+1 -1)📝
src/firejail/main.c(+32 -21)📝
src/firejail/no_sandbox.c(+1 -1)📝
src/firejail/output.c(+7 -0)📝
src/firejail/paths.c(+5 -5)📝
src/firejail/profile.c(+5 -5)📝
src/firejail/pulseaudio.c(+4 -1)📝
src/firejail/run_symlink.c(+6 -1)📝
src/firejail/sandbox.c(+3 -4)📝
src/firejail/sbox.c(+1 -1)📝
src/firejail/x11.c(+49 -12)📄 Description
Save all environment variables for later use in sandboxes, clear
environment and re-apply only whitelisted variables for the main
firejail process. All variables will be reapplied for the sandboxes by
env_apply().
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.