Skip to content

Introduce tabrmd_rw_unix_stream_sockets SELinux interface#851

Open
jsegitz wants to merge 1 commit into
tpm2-software:masterfrom
jsegitz:tabrmd_rw_unix_stream_sockets
Open

Introduce tabrmd_rw_unix_stream_sockets SELinux interface#851
jsegitz wants to merge 1 commit into
tpm2-software:masterfrom
jsegitz:tabrmd_rw_unix_stream_sockets

Conversation

@jsegitz
Copy link
Copy Markdown
Contributor

@jsegitz jsegitz commented May 9, 2025

ATM there's only tabrmd_create_unix_stream_sockets, but some domains only need to use the socket, not create it.

ATM there's only tabrmd_create_unix_stream_sockets, but some domains
only need to use the socket, not create it.

Signed-off-by: Johannes Segitz <jsegitz@suse.de>
@jsegitz jsegitz force-pushed the tabrmd_rw_unix_stream_sockets branch from 5f3ac0b to 5db3c3f Compare May 9, 2025 10:02
@ca-hu
Copy link
Copy Markdown

ca-hu commented Jul 15, 2025

any updates here?

@jsegitz
Copy link
Copy Markdown
Contributor Author

jsegitz commented Jul 25, 2025

@williamcroberts Since you merge the last SELinux change: This just adds an additional interface, no chance of breaking anything.

ca-hu added a commit to ca-hu/selinux-policy that referenced this pull request Aug 28, 2025
ca-hu added a commit to ca-hu/selinux-policy that referenced this pull request Aug 28, 2025
tpm handling will need some abrmd interfaces.
Adding the interface to the main policy, otherwise
things will not build.

This includes:
- Copy over tabrmd.if from tpm2-abrmd (dirty hack)
- Add tabrmd_rw_unix_stream_sockets interface
  tpm2-software/tpm2-abrmd#851
- Add ifndef to tabrmd.if to avoid overwriting issues

Adresses:
time->Fri Jun 13 13:10:41 2025
type=USER_AVC msg=audit(1749813041.073:50): pid=1945 uid=498 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for  scontext=system_u:system_r:gnome_remote_desktop_t:s0 tcontext=system_u:system_r:tabrmd_t:s0 tclass=dbus permissive=1 exe="/usr/bin/dbus-broker" sauid=498 hostname=? addr=? terminal=?'
zpytela pushed a commit to fedora-selinux/selinux-policy that referenced this pull request Sep 3, 2025
tpm handling will need some abrmd interfaces.
Adding the interface to the main policy, otherwise
things will not build.

This includes:
- Copy over tabrmd.if from tpm2-abrmd (dirty hack)
- Add tabrmd_rw_unix_stream_sockets interface
  tpm2-software/tpm2-abrmd#851
- Add ifndef to tabrmd.if to avoid overwriting issues

Adresses:
time->Fri Jun 13 13:10:41 2025
type=USER_AVC msg=audit(1749813041.073:50): pid=1945 uid=498 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for  scontext=system_u:system_r:gnome_remote_desktop_t:s0 tcontext=system_u:system_r:tabrmd_t:s0 tclass=dbus permissive=1 exe="/usr/bin/dbus-broker" sauid=498 hostname=? addr=? terminal=?'
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