Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c32b8f70 authored by Jin Qian's avatar Jin Qian Committed by TARKZiM
Browse files

uid_sys_stats: fix overflow when io usage delta is negative



Setuid can cause negative delta. Check this and update total usage only
if delta is positive.

Bug: 64317562
Change-Id: I4818c246db66cabf3b11d277faceedec1678694a
Signed-off-by: default avatarJin Qian <jinqian@google.com>
parent e7366b94
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment