LUOsDiagnose: Move legacy behaviour into filter
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:Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
Loading
Please register or sign in to comment