Merge changes Ia7ea051f,I38bdfe00 into main

* changes:
  Fix system caller cannot query stats for other uids
  Use device config to enable/disable the rate-limit cache feature