summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Abecassis <fabecassis@nvidia.com>2018-06-01 15:48:45 -0700
committerPaul Moore <paul@paul-moore.com>2018-09-19 16:22:42 -0400
commit0f589d156617af715850537e5413ea516ec3e534 (patch)
tree95ec3e61575984ba8c11363bac7c10a3ee7d5da2
parent8ad3638ea9023c3948976dfadebd1554380a31c9 (diff)
downloadlibseccomp-0f589d156617af715850537e5413ea516ec3e534.tar.gz
python: fix operands in MASKED_EQ documentation
Fixes: https://github.com/seccomp/libseccomp/issues/119 Signed-off-by: Felix Abecassis <fabecassis@nvidia.com> [PM: used full URL in the fixes line] Signed-off-by: Paul Moore <paul@paul-moore.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 159cbc1..c9a0dab 100644
--- a/src/python/seccomp.pyx
+++ b/src/python/seccomp.pyx
@@ -46,7 +46,7 @@ Argument comparison values (see the Arg class):
EQ - arg == datum_a
GT - arg > datum_a
GE - arg >= datum_a
- MASKED_EQ - (arg & datum_b) == datum_a
+ MASKED_EQ - (arg & datum_a) == datum_b
Example: