Skip to content

tee_supplicant: Allow qtee_supplicant to access the eMMC RPMB device - #1231

Merged
pebenito merged 1 commit into
SELinuxProject:mainfrom
Pradeep-pvk:topic/emmc_tee_supplicant_rules
Sep 18, 2026
Merged

pebenito merged 1 commit into
SELinuxProject:mainfrom
Pradeep-pvk:topic/emmc_tee_supplicant_rules

Conversation

@Pradeep-pvk

Copy link
Copy Markdown
Contributor

Add SELinux allow rules for qtee_supplicant to access the eMMC RPMB device, enabling communication with the RPMB partition on eMMC-based systems.

Define a new storage_raw_rw_removable_device() interface to storage.if to allow read or write on removable chr_file interfaces, and use it in tee_supplicant.te to grant qtee_supplicant the necessary chr_file rw_chr_file_perms on removable_device_t.

Comment thread policy/modules/services/tee_supplicant.te Outdated
Comment thread policy/modules/services/tee_supplicant.te Outdated
@Pradeep-pvk
Pradeep-pvk force-pushed the topic/emmc_tee_supplicant_rules branch from ef5f2c4 to b42797d Compare September 17, 2026 14:09
Comment thread policy/modules/services/tee_supplicant.te Outdated
Add SELinux allow rules for qtee_supplicant to access the eMMC RPMB
device, enabling communication with the RPMB partition on eMMC-based
systems.

Define a new storage_raw_rw_removable_device() interface to storage.if to allow
read or write on removable chr_file interfaces, and use it in
tee_supplicant.te to grant qtee_supplicant the necessary chr_file
rw_chr_file_perms on removable_device_t.

Signed-off-by: Pradeep P V K <pradeep.pragallapati@oss.qualcomm.com>
@Pradeep-pvk
Pradeep-pvk force-pushed the topic/emmc_tee_supplicant_rules branch from b42797d to 9d2ca56 Compare September 18, 2026 05:28
@pebenito
pebenito merged commit ba7bfb1 into SELinuxProject:main Sep 18, 2026
120 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants