All of lore.kernel.org
 help / color / mirror / Atom feed
* connection between different labels
@ 2013-05-16 20:58 vlad halilov
  2013-05-17 14:07 ` Paul Moore
  0 siblings, 1 reply; 2+ messages in thread
From: vlad halilov @ 2013-05-16 20:58 UTC (permalink / raw)
  To: SELinux

[-- Attachment #1: Type: text/plain, Size: 1476 bytes --]

Hi again. Is selinux contain something functional like 'multilevel port'
from solaris trusted extension? Concept of mlp is declaring number of
programm to be 'label aware'. Program of this type, allowed to handling
network request for specified service from all labels and handling/generate
trafic for any labels in clearance. So, OS just delegate information
control to this programm. As my mind, something like this is possible for
selinux contexts (we can allow traffic between different domains by policy,
and selinux context transfered by 'secret' local processing ;) but may be
something like this implemented for information labels s0,s1 etc?

For example:

type=AVC msg=audit(1368735963.286:1998): avc:  denied  { recv } for
 pid=4773 comm="python-thinlinc" saddr=127.0.0.1 src=46092 daddr=127.0.0.1
dest=9000 netif=lo scontext=system_u:system_r:initrc_t:s0-s15:c0.c1023
tcontext=system_u:object_r:netlabel_peer_t:s4 tclass=peer


My userspace program need to send status message to master process that
executed with clearance s0-s15:c0.c1023  but denied with request. Hmmm..
But clearance of master process is enough to work with this information?
>From some tests, i got result that 'real' leabel for master process is s0.
And all processes executed with label range handling connection only with
lowest label from range. Ok,  thats strong design and i agree. I can switch
label for reporter process to s0 and send message, of course ... but may be
any trick exist?

[-- Attachment #2: Type: text/html, Size: 1708 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-17 14:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-16 20:58 connection between different labels vlad halilov
2013-05-17 14:07 ` Paul Moore

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.