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

Skip to content
Commit 285ba180 authored by Jin Qian's avatar Jin Qian Committed by Dyneteve
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 59825227
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment