From 70c894341f0b397730c8f3aef56b95c037c7a6e6 Mon Sep 17 00:00:00 2001 From: Paul Moore Date: Fri, 4 Oct 2013 08:19:25 -0400 Subject: python: improve the argument comparison documentation Expand on the comments made by Andy Lutomirski. Signed-off-by: Paul Moore --- src/python/seccomp.pyx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/python/seccomp.pyx b/src/python/seccomp.pyx index 0108a6a..4d58a80 100644 --- a/src/python/seccomp.pyx +++ b/src/python/seccomp.pyx @@ -37,14 +37,14 @@ Filter action values: tracing process via PTRACE_EVENT_SECCOMP and the PTRACE_GETEVENTMSG option -Argument comparison values: - - NE - argument not equal the value - LT - argument less than the value - LE - argument less than, or equal to, the value - EQ - argument equal the value - GT - argument greater than the value - GE - argument greater than, or equal to, the value +Argument comparison values (see the Arg class): + + NE - arg != datum_a + LT - arg < datum_a + LE - arg <= datum_a + EQ - arg == datum_a + GT - arg > datum_a + GE - arg >= datum_a MASKED_EQ - (arg & datum_b) == datum_a -- cgit v1.2.1