Skip to content

refpolicy: Add SELinux policy for tqftpserv - #1213

Open
kondishr wants to merge 3 commits into
SELinuxProject:mainfrom
kondishr:main
Open

refpolicy: Add SELinux policy for tqftpserv#1213
kondishr wants to merge 3 commits into
SELinuxProject:mainfrom
kondishr:main

Conversation

@kondishr

Copy link
Copy Markdown

tqftpserv is the Qualcomm TFTP server for modem remote filesystem (EFS) access. It currently runs under the generic initrc_t domain, lacking the process isolation and least-privilege permissions required under SELinux enforcing mode.

Defined a new policy module qcom_tqftpserv to transition the service into its own confined domain qcom_tqftpserv_t on exec:

  • Allow QRTR socket creation for modem IPC communication
  • Allow net_admin capability for network socket management
  • Allow dac_read_search capability for reading modem-requested
    filesystem paths under EFS/data areas

Signed-off-by: Shravan Kumar Kondi kondishr@qti.qualcomm.com

Signed-off-by: kondishr <kondishr@qti.qualcomm.com>
Signed-off-by: kondishr <kondishr@qti.qualcomm.com>
Signed-off-by: kondishr <kondishr@qti.qualcomm.com>
@pebenito

Copy link
Copy Markdown
Member

This looks incomplete. How much has this been tested?

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