Skip to contentSkip to conversation

Mapping of subject context to CIPSO

DISCUSSION Casey Schaufler 2 participants 2 messages Oct 26, 2016 SELinux security module

lore
Share & tools
lore
#0 lore raw

I am looking for a way to dump the mapping of
a process context to its associated CIPSO representation. I could hack a kernel to do this, but if there's an obvious way to do it already I'd rather not.

Thank you.

maintainer
#1 lore raw
Quoted 4 lines · Casey Schaufler

I am looking for a way to dump the mapping of
a process context to its associated CIPSO representation. I could hack a kernel to do this, but if there's an obvious way to do it already I'd rather not.

The netlabelctl(8) tool is your friend:

* Mapping inbound DOIs

# netlabelctl -p cipsov4 list [doi:<DOI>]

* Mapping SELinux labels to CIPSO/unlabeled/etc.

# netlabelctl -p map list

Check the man page for more information.

I'll also be releasing a new netlabel_tools package soon which will add CALIPSO support.

Signature · 2 lines
paul moore
www.paul-moore.com