aboutsummaryrefslogtreecommitdiff
path: root/kernel/fork.c
diff options
context:
space:
mode:
authorRuchi Kandoi <kandoiruchi@google.com>2015-10-23 17:49:11 -0700
committerMoyster <oysterized@gmail.com>2016-09-10 16:03:51 +0200
commit8468a745527003d204685bd4a8c83f17a930888d (patch)
treec346be249e7dab8b26d5194893e7162b0b9a9438 /kernel/fork.c
parent3ea18b0bf06cef526f5eb57de69c5ffd05a90cf3 (diff)
uid_cputime: Check for the range while removing range of UIDs.
Checking if the uid_entry->uid matches the uid intended to be removed will prevent deleting unwanted uid_entry. Type cast the key for the hashtable to the same size, as when they were inserted. This will make sure that we can find the uid_entry we want. Bug: 25195548 Change-Id: I567942123cfb20e4b61ad624da19ec4cc84642c1 Signed-off: Ruchi kandoi <kandoiruchi@google.com>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions