Skip to content
  • Michael Hanselmann's avatar
    LUOsDiagnose: Move legacy behaviour into filter · 7738342c
    Michael Hanselmann authored
    The behaviour of LUOsDiagnose needs special treatment. Commit d22dfef7
    
    
    changed it to not return hidden, blacklisted or invalid OSes if the
    respective field is not requested. This behaviour needs to be preserved
    for users of the old opcode, but since it provides an implicit
    filtering, it should not be done for LUQuery (the generic way to query
    for resources) and is therefore moved from the underlying implementation
    to LUOsDiagnose. Users of the new opcode should pass an explicit filter.
    
    Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
    Reviewed-by: default avatarIustin Pop <iustin@google.com>
    7738342c