aboutsummaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorSteve Muckle <smuckle@google.com>2018-12-28 10:38:22 -0800
committerSteve Muckle <smuckle@google.com>2018-12-28 10:38:22 -0800
commita7dd928efebb4c7fe95653d4a77237e43000142a (patch)
tree0f498aef789995fba2181e7f742837d1f0d10bfc /android
parentfeaf429c075705228e8bd0684c139f7bdcc6064b (diff)
downloadplatform_external_ltp-a7dd928efebb4c7fe95653d4a77237e43000142a.tar.gz
platform_external_ltp-a7dd928efebb4c7fe95653d4a77237e43000142a.tar.bz2
platform_external_ltp-a7dd928efebb4c7fe95653d4a77237e43000142a.zip
ANDROID: cki_coverage: do not remove from list while iterating
This removal from the list while iterating causes syscalls to be skipped and lost. It is unnecessary anyway since the syscalls to keep are tracked separately and then assigned back to cki.syscalls. Change-Id: Ie62c5a7c9875783f7bbc3014025e263a1558f97c Signed-off-by: Steve Muckle <smuckle@google.com>
Diffstat (limited to 'android')
-rwxr-xr-xandroid/tools/cki_coverage.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/android/tools/cki_coverage.py b/android/tools/cki_coverage.py
index 9d989b04e..4c56d99e0 100755
--- a/android/tools/cki_coverage.py
+++ b/android/tools/cki_coverage.py
@@ -378,8 +378,6 @@ class CKI_Coverage(object):
if error_on_match:
print "Syscall %s found in both bionic CKI and blacklist!" % s["name"]
sys.exit()
- else:
- cki.syscalls.remove(s)
else:
unlisted_syscalls.append(s)
cki.syscalls = unlisted_syscalls