diff options
author | Paul Moore <pmoore@redhat.com> | 2013-10-04 08:19:25 -0400 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2013-10-04 08:19:25 -0400 |
commit | 70c894341f0b397730c8f3aef56b95c037c7a6e6 (patch) | |
tree | 94f65d8775e7c5343290adc5e098aeff851e72ca | |
parent | 8af9ba443ff1c678b3f5037ca936f11edc697ae7 (diff) | |
download | libseccomp-70c894341f0b397730c8f3aef56b95c037c7a6e6.tar.gz |
python: improve the argument comparison documentation
Expand on the comments made by Andy Lutomirski.
Signed-off-by: Paul Moore <pmoore@redhat.com>
-rw-r--r-- | src/python/seccomp.pyx | 16 |
1 files 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 |