openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/dbus/1.12.16-r0/dbus-1.12.16/bus/apparmor.c
dbus_bool_t bus_apparmor_pre_init(void)
{
#ifdef HAVE_APPARMOR
    apparmor_enabled = FALSE;

    if (!aa_is_enabled())
        return TRUE;

    if (!_bus_apparmor_detect_aa_dbus_support(&apparmor_enabled))
        return FALSE;
#endif

    return TRUE;
}
/**
 * Do early initialization; determine whether AppArmor is enabled.
 * Return TRUE on successful check (whether AppArmor is actually
 * enabled or not) or FALSE on OOM.
 */
Do early initialization; determine whether AppArmor is enabled.
Return TRUE on successful check (whether AppArmor is actually
enabled or not) or FALSE on OOM.
Do early initialization ; determine whether AppArmor is enabled . Return TRUE on successful check ( whether AppArmor is actually enabled or not ) or FALSE on OOM .
dbus_bool_t bus_apparmor_pre_init(void)
{
#ifdef HAVE_APPARMOR
    apparmor_enabled = FALSE;
    if (!aa_is_enabled())
        return TRUE;
    if (!_bus_apparmor_detect_aa_dbus_support(&apparmor_enabled))
        return FALSE;
#endif
    return TRUE;
}
dbus_bool_t bus_apparmor_pre_init ( void ) { #ifdef HAVE_APPARMOR apparmor_enabled = FALSE ; if ( ! aa_is_enabled ( ) ) return TRUE ; if ( ! _bus_apparmor_detect_aa_dbus_support ( & apparmor_enabled ) ) return FALSE ; #endif return TRUE ; }
Do early initialization; determine whether AppArmor is enabled.
Do early initialization ; determine whether AppArmor is enabled .