[hac] Fix bug where stubbed kernel cap u32s were not processed correctly

This commit is contained in:
jakcron 2018-10-27 15:46:44 +08:00
parent bac8fb57ff
commit da00e5298c
2 changed files with 3 additions and 1 deletions

View file

@ -45,6 +45,7 @@ namespace hac
break;
}
}
if (id == kc::KC_INVALID && cap == (uint32_t)0xffffffff)
return id;
}
};

View file

@ -20,7 +20,8 @@ namespace hac
KC_MISC_PARAMS = 13,
KC_KERNEL_VERSION = 14,
KC_HANDLE_TABLE_SIZE = 15,
KC_MISC_FLAGS = 16
KC_MISC_FLAGS = 16,
KC_STUB = 32
};
}
}