what is an object manager?!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello,

"Object managers are responsible for enforcing the policy decisions of the security server for the set of resources they manage. For the kernel, you can think of object managers as kernel subsystems that create and manage kernel-level objects. Examples of kernel object managers include the filesystem, process management, and System V interprocess communication (IPC). In the LSM architecture, the object managers are represented by the LSM hooks (!!!); these hooks are scattered throughout the kernel subsystems and call the SELinux LSM module for access decisions. The LSM hooks then enforce those decisions by allowing or denying access to the kernel resource." [1]

this basically says we have dozens of object managers, since every LSM hook is one!

but here stephen smalley wrote:

An object manager gets access decisions from its AVC, which consults the security server when the decision isn't already cached. Meanwhile, if a policy change occurs, the security server needs to notify the AVCs of all object managers of the change so that their state can be updated (in simplest form, by flushing the caches). There can be any number of object managers. In Linux, the entire kernel is really a single object manager, but in earlier microkernel-based systems, there were separate object managers for process management, filesystems, and networking.

http://marc.info/?l=selinux&m=115955074232032&w=2


What is an object manager and who says the truth? ;)

"Every LSM hook object manager" vs "1 single Object Manager"

--
Sebastian Pfaff

[1] SELinux by Example: Using Security Enhanced Linux, 1st Edition. (Prentice Hall International, 2006).


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

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux