mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #6719] [MERGED] modif: keep /dev/tpmrm devices if keep-dev-tpm is used #6138
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#6138
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/6719
Author: @kmk3
Created: 4/26/2025
Status: ✅ Merged
Merged: 4/29/2025
Merged by: @kmk3
Base:
master← Head:modif-keep-tpmrm📝 Commits (1)
488fc83modif: keep /dev/tpmrm devices if keep-dev-tpm is used📊 Changes
3 files changed (+5 additions, -4 deletions)
View changed files
📝
src/firejail/fs_dev.c(+1 -0)📝
src/man/firejail-profile.5.in(+2 -2)📝
src/man/firejail.1.in(+2 -2)📄 Description
Treat them like
/dev/tpm[0-9]*devices.It seems that
/dev/tpm[0-9]*allows direct access to the TPM devicewhile
/dev/tpmrm[0-9]*mediates access through a "resource manager"inside of the kernel (for example, to facilitate concurrent access).
Alternatively, it looks like the resource management can be done in
userspace through tpm2-abrmd, the "TPM2 Access Broker & Resource
Management Daemon", which also supports older kernels (Linux 3.x vs
4.12) [1] [2] [3].
udev rules from tpm2-tss 4.1.3[4]:
This is a follow-up to #6718.
Misc: This was noticed on #6700.
Relates to #6390.
[1] https://github.com/tpm2-software/tpm2-abrmd
[2] https://github.com/tpm2-software/tpm2-abrmd/issues/830
[3] https://github.com/tpm2-software/tpm2-tss-engine/issues/149
[4] https://github.com/tpm2-software/tpm2-tss/blob/4.1.3/dist/tpm-udev.rules
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.