session_policy_local: Retrieve UID/GID from session user
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Fri, 31 May 2013 07:13:34 +0000 (09:13 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 31 May 2013 11:42:52 +0000 (14:42 +0300)
commit9c5cb53a5d85f9416bbbe4ebdc350474f61274b7
tree0b08cd5874da93ce19f8f3488a6b08b2347c25c8
parent42679c897fe2e9ddccc25d8a91ed86680733ac2e
session_policy_local: Retrieve UID/GID from session user

When the session core ask to create a configuration, then we
first ask the D-Bus server which UID/GID the session belongs to.
If possible we also ask for the SELinux context. Then we try
to figure out which file containts the configuration for
SElinux, UID or GID identification.

The order of matching preference is SELinux, UID and finally GID.
plugins/session_policy_local.c