exo: add config item for rcm patch detection (note TODO)

This commit is contained in:
Michael Scire
2019-04-01 13:10:45 -07:00
parent fd4d6a4e55
commit 4d76f4d79c
4 changed files with 14 additions and 0 deletions

View File

@@ -264,6 +264,10 @@ uint32_t configitem_get(bool privileged, ConfigItem item, uint64_t *p_outvalue)
/* UNOFFICIAL: Gets information about the current exosphere git commit hash. */
*p_outvalue = ATMOSPHERE_RELEASE_VERSION_HASH;
break;
case CONFIGITEM_HAS_RCM_BUG_PATCH:
/* UNOFFICIAL: Gets whether this unit has the RCM bug patched. */
*p_outvalue = (int)(fuse_has_rcm_bug_patch());;
break;
default:
result = 2;
break;