summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@amacapital.net>2013-10-04 08:14:30 -0400
committerPaul Moore <pmoore@redhat.com>2013-10-04 08:14:30 -0400
commit8af9ba443ff1c678b3f5037ca936f11edc697ae7 (patch)
treee1efd65d133bf76c435ab7fcb7bc55bae1daca55
parent77b91dc863ef8279741c96f0848062eff64adac3 (diff)
downloadlibseccomp-8af9ba443ff1c678b3f5037ca936f11edc697ae7.tar.gz
python: Improve MASKED_EQ docs
It wasn't clear before which datum was the mask and which was the value. Signed-off-by: Andy Lutomirski <luto@amacapital.net> Signed-off-by: Paul Moore <pmoore@redhat.com>
-rw-r--r--src/python/seccomp.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/seccomp.pyx b/src/python/seccomp.pyx
index a87e1a4..0108a6a 100644
--- a/src/python/seccomp.pyx
+++ b/src/python/seccomp.pyx
@@ -45,7 +45,7 @@ Argument comparison values:
EQ - argument equal the value
GT - argument greater than the value
GE - argument greater than, or equal to, the value
- MASKED_EQ - masked argument is equal to the value
+ MASKED_EQ - (arg & datum_b) == datum_a
Example: