Skip to content
  • Tyler Hicks's avatar
    tests: Add dbus tests for unrequested reply messages · cdd23798
    Tyler Hicks authored
    
    
    Unrequested replies are message types that are typically replies, such
    as error and method_return message types, but have not been requested by
    the recipient.
    
    The AppArmor mediation code in dbus-daemon allows requested reply
    messages through if the original message was allowed. However,
    unrequested reply messages should be checked against the system policy
    to make certain that they should be allowed.
    
    This test verifies that the dbus-daemon is properly querying system
    policy when it detects that a message is an unrequested reply.
    
    Signed-off-by: default avatarTyler Hicks <tyhicks@canonical.com>
    Acked-by: default avatarSeth Arnold <seth.arnold@canonical.com>
    cdd23798