summaryrefslogtreecommitdiff
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorRuchi Kandoi <kandoiruchi@google.com>2015-10-23 17:49:11 -0700
committerJohn Stultz <john.stultz@linaro.org>2016-02-16 13:53:54 -0800
commitd19dc26df67f361331680c54f35e9e6169e0a774 (patch)
tree174bfaccf4eeb262af4c59eea78bbd7cf1b07a49 /security/selinux/hooks.c
parent75d2d020f770f5f0d3ab9610eee1b2f1c3e2d35d (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 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions