On Fri, 2012-07-27 at 12:42 -0700, William Roberts wrote: > and that rule will ONLY be applied on a match to that > boolean, and only if the boolean is set to true. > > Change-Id: Ifdba35cd3a78ce1c8173786514db649203018e28 > Signed-off-by: William Roberts <w.roberts@xxxxxxxxxxxxxxx> > --- > src/android.c | 41 ++++++++++++++++++++++++++++++++++++++--- > 1 files changed, 38 insertions(+), 3 deletions(-) > > @@ -217,12 +228,13 @@ int selinux_android_seapp_context_reload(void) > int i; > for (i = 0; i < nspec; i++) { > cur = seapp_contexts[i]; > - selinux_log(SELINUX_INFO, "%s: isSystemServer=%s user=%s seinfo=%s name=%s -> domain=%s type=%s level=%s levelFromUid=%s", > + selinux_log(SELINUX_INFO, "%s: isSystemServer=%s user=%s seinfo=%s name=%s -> domain=%s type=%s level=%s levelFromUid=%s sebool=%s", > __FUNCTION__, > cur->isSystemServer ? "true" : "false", > cur->user, cur->seinfo, cur->name, > cur->domain, cur->type, cur->level, > - cur->levelFromUid ? "true" : "false"); > + cur->levelFromUid ? "true" : "false", > + cur->sebool); sebool is an input selector, thus belongs right after name=%s before ->. > @@ -443,6 +466,7 @@ int selinux_android_setcontext(uid_t uid, > > for (i = 0; i < nspec; i++) { > cur = seapp_contexts[i]; > + Extraneous whitespace change. > if (cur->isSystemServer != isSystemServer) > continue; > if (cur->user) { -- 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 majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.