Merge "libdm: fetch and present device status flags"