Fix typo in comment.

Change-Id: I1d7e061cf7578d88987d16aa1684d94967af09f7
This commit is contained in:
Elliott Hughes 2024-04-03 16:44:22 +00:00
parent 62963d97c4
commit dbb87ec8a7

View file

@ -108,7 +108,7 @@ static bool is_permissive_mte() {
"persist.device_config.memory_safety_native.permissive.process.%s",
getprogname());
// DO NOT REPLACE this with GetBoolProperty. That uses std::string which allocates, so it is
// not async-safe (and this functiong gets used in a signal handler).
// not async-safe, and this function gets used in a signal handler.
return property_parse_bool("persist.sys.mte.permissive") ||
property_parse_bool("persist.device_config.memory_safety_native.permissive.default") ||
property_parse_bool(process_sysprop_name) ||