Skip to content

Commit

Permalink
userdomain: allow tpm2 to run for all users
Browse files Browse the repository at this point in the history
Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
  • Loading branch information
uudiin committed Jan 16, 2025
1 parent 4f65837 commit 0021c3c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions policy/modules/system/userdomain.if
Original file line number Diff line number Diff line change
Expand Up @@ -937,6 +937,10 @@ template(`userdom_common_user_template',`
virt_home_filetrans_svirt_home($1_t, dir, "qemu")
virt_home_filetrans_virt_home($1_t, dir, "VirtualMachines")
')

optional_policy(`
tpm2_run($1_t, $1_r)
')
')

#######################################
Expand Down

0 comments on commit 0021c3c

Please sign in to comment.