diff options
author | Kees Cook <[email protected]> | 2021-05-26 19:49:15 -0700 |
---|---|---|
committer | Kees Cook <[email protected]> | 2021-06-28 12:49:52 -0700 |
commit | 93e720d710dfe689099c23bb91414303cf715d27 (patch) | |
tree | 1086da6f073144cf3ba6ad02e7b84332b7260508 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | e540ad97e73cefb41e93d0c06d0fe6a8620a77e0 (diff) |
selftests/seccomp: More closely track fds being assigned
Since the open fds might not always start at "4" (especially when
running under kselftest, etc), start counting from the first assigned
fd, rather than using the more permissive EXPECT_GE(fd, 0).
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/lkml/[email protected]
Reviewed-by: Rodrigo Campos <[email protected]>
Acked-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions