mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #6698] [MERGED] modif: block TPM devices & turn notpm command into keep-dev-tpm #6126
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#6126
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/6698
Author: @kmk3
Created: 4/1/2025
Status: ✅ Merged
Merged: 4/5/2025
Merged by: @kmk3
Base:
master← Head:notpm-to-keep-dev-tpm📝 Commits (3)
844f307profiles: remove notpm entries4d34d4cmodif: block TPM devices & turn notpm command into keep-dev-tpm4911b78profiles: add keep-dev-tpm entries📊 Changes
29 files changed (+56 additions, -45 deletions)
View changed files
📝
contrib/syntax/lists/profile_commands_arg0.list(+1 -0)📝
etc/inc/allow-ssh.inc(+2 -0)📝
etc/profile-a-l/aria2p.profile(+0 -1)📝
etc/profile-a-l/aria2rpc.profile(+0 -1)📝
etc/profile-a-l/buku.profile(+0 -1)📝
etc/profile-a-l/default.profile(+0 -1)📝
etc/profile-a-l/device-flasher.linux.profile(+0 -1)📝
etc/profile-a-l/hledger.profile(+0 -1)📝
etc/profile-a-l/irssi.profile(+0 -1)📝
etc/profile-m-z/monero-wallet-cli.profile(+0 -1)📝
etc/profile-m-z/ncmpcpp.profile(+0 -1)📝
etc/profile-m-z/noprofile.profile(+1 -0)📝
etc/profile-m-z/nsxiv.profile(+0 -1)📝
etc/profile-m-z/prismlauncher.profile(+0 -1)📝
etc/profile-m-z/pyradio.profile(+0 -1)📝
etc/profile-m-z/singularity.profile(+0 -1)📝
etc/profile-m-z/syncthing.profile(+2 -1)📝
etc/profile-m-z/tremc.profile(+0 -1)📝
etc/templates/profile.template(+1 -1)📝
src/fbuilder/build_profile.c(+0 -1)...and 9 more files
📄 Description
Instead of having a
notpmcommand and potentially adding it to almostall profiles (as few programs should need direct access to TPM devices),
add a
keep-dev-tpmcommand and use it only in profiles that needaccess to TPM devices.
Changes:
notpmcommand intokeep-dev-tpmcommandnotpmis used/dev/tpm*devices by default/dev/tpm*devices withkeep-dev-tpm(even ifprivate-devis used)
Added on commit
001320226("feature: add notpm command & keep tpmdevices in private-dev (#6390)", 2024-07-09).
See also commit
ee1c264c5("feature: block /dev/ntsync & addkeep-dev-ntsync command (#6660)", 2025-03-06) and the discussion at
PR #6660.
This is a follow-up to #6687.
Relates to #6379 #6536.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.