Skip to contentSkip to conversation

does this picture reflect the basics of the current selinux architecture?

DISCUSSION Sebastian Pfaff 2 participants 3 messages May 8, 2009 SELinux security module

lore
Share & tools
lore
#0 lore raw

hello,

i created a picture about the selinux architecture some weeks ago, atm i'm not sure if everything is right within this picture. it would be nice, when someone could give me some proposals on how to improve / change / correct the picture. until now i found several pictures in papers (for example in USENIX papers) and magazines, but most of them differ slightly so i don't know which is right. Some of them are very old, so i don't know if i can trust them.

I know that "my" picture doesn't show everything, the intention is to only show the basics.

If you need additional please let me know. Any help is greatly appreciated. tnx in advance.

LINK TO PICTURE:

http://4.bp.blogspot.com/_OR3mMHaW6Iw/SgP9K42jAVI/AAAAAAAAAAU/i-bFA7iNkOA/s1600-h/sel_1_eng.png

(SOME) FURTHER INFORMATION:

BTW: a good online resource to the topic:
http://www.ibm.com/developerworks/linux/library/l-selinux/

and here (excerpt of book "Operating Systems Security" by T. Jaeger):
http://books.google.com/books?id=P4PYPSv8nBMC&printsec=frontcover#PPA127,M1

and here:
http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/selinux-guide/selg-chapter-0013.html
and here:
http://www.centos.org/docs/5/html/5.1/Deployment_Guide/s1-SELinux-overview.html

and here about LSM (Linux Security Modules: General Security Support for the Linux Kernel):
http://www.usenix.org/event/sec02/full_papers/wright/wright.pdf

german speaking ppl can find some limited information here (p. 231):
http://people.redhat.com/tscherf/articles/SELinux/selinux.pdf

and here (excerpt of book "SELinux & AppArmor" by Ralf Spenneberg (p. 139), which seems to show the FLASK thing):
http://www.os-t.de/PDFs_SELinux/2363_Kap_11.pdf

Many other pics (in older papers) seems to rely mainly on FLASK architecture, i'm not sure if these pics reflect the current situation with selinux.

--
Sebastian Pfaff

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 13 lines · Sebastian Pfaff

hello,

i created a picture about the selinux architecture some weeks ago, atm i'm not sure if everything is right within this picture. it would be nice, when someone could give me some proposals on how to improve / change / correct the picture. until now i found several pictures in papers (for example in USENIX papers) and magazines, but most of them differ slightly so i don't know which is right. Some of them are very old, so i don't know if i can trust them.

I know that "my" picture doesn't show everything, the intention is to only show the basics.

Quoted 6 lines

If you need additional please let me know. Any help is greatly appreciated. tnx in advance.

LINK TO PICTURE:

http://4.bp.blogspot.com/_OR3mMHaW6Iw/SgP9K42jAVI/AAAAAAAAAAU/i-bFA7iNkOA/s1600-h/sel_1_eng.png

- Remove "user" as you suggest, as it incorrectly suggests that SELinux operates at per-user granularity like DAC.

- Yes, SELinux runs as a security module in the address space of the kernel.

- The policy is simply configuration data loaded into the security server.

Signature · 8 lines
Stephen Smalley
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#2 lore raw
Quoted 11 lines
Quoted 1 line

...

- Remove "user" as you suggest, as it incorrectly suggests that SELinux
operates at per-user granularity like DAC.

- Yes, SELinux runs as a security module in the address space of the kernel.

- The policy is simply configuration data loaded into the security server.

1st, tnx for your quick answer!

i have tried to improve the picture as you have suggested. what do you think about this the following one?

IMPROVED PICTURE:

http://3.bp.blogspot.com/_OR3mMHaW6Iw/SgQyRwblcRI/AAAAAAAAAAc/C9HOanHgINs/s1600-h/sel_1_1_eng.png

The policy is now located "within" the security server, i hope this one refelcts more the actual state.

--
Sebastian Pfaff

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.