Commit d46f4f40 authored by David Calavera's avatar David Calavera

Update preconditions for execsnoop.

bpf_get_current_task is only available in 4.8 and above.
Signed-off-by: default avatarDavid Calavera <david.calavera@gmail.com>
parent 4fae4975
...@@ -144,7 +144,7 @@ class SmokeTests(TestCase): ...@@ -144,7 +144,7 @@ class SmokeTests(TestCase):
# self.run_with_int("deadlock_detector.py $(pgrep -n bash)", timeout=10) # self.run_with_int("deadlock_detector.py $(pgrep -n bash)", timeout=10)
pass pass
@skipUnless(kernel_version_ge(4,4), "requires kernel >= 4.4") @skipUnless(kernel_version_ge(4,8), "requires kernel >= 4.8")
def test_execsnoop(self): def test_execsnoop(self):
self.run_with_int("execsnoop.py") self.run_with_int("execsnoop.py")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment