Skip to contentSkip to conversation

sepolgen: Update permission map

PATCH In review Petr Lautrbach 2 participants 2 messages Apr 1, 2022 SELinux security module

lore
Share & tools
lore
#1 lore raw
Quoted 6 lines · Petr Lautrbach

https://github.com/SELinuxProject/selinux/pull/349

It's too big to be posted on this ML.

I just glanced quickly and one thing stuck out to me. It looks like relabelfrom on sockets is marked as 10. The theory on using 10 for relabeling of files is that the full contents of the file is, of course, immediately available under a new context after relabeling and thus represents a large flow of information. The same is not true of a socket. Yes, subsequent send / recv from that socket would yield data, but the actual relabel seems, to me, to not transfer much data.

Karl