aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorChristian Göttsche <[email protected]>2024-12-16 16:40:04 +0000
committerPaul Moore <[email protected]>2025-01-08 04:14:39 +0000
commit83e7e18eed6e06cd1ce82fa4b9c9a05c24f7a80b (patch)
tree20fe99dd706e6432ecda7fee213fca24ae7785f8 /tools/testing/selftests/net/lib/py/utils.py
parentselinux: rework match_ipv6_addrmask() (diff)
downloadkernel-83e7e18eed6e06cd1ce82fa4b9c9a05c24f7a80b.tar.gz
kernel-83e7e18eed6e06cd1ce82fa4b9c9a05c24f7a80b.zip
selinux: rename comparison functions for clarity
The functions context_cmp(), mls_context_cmp() and ebitmap_cmp() are not traditional C style compare functions returning -1, 0, and 1 for less than, equal, and greater than; they only return whether their arguments are equal. Signed-off-by: Christian Göttsche <[email protected]> Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions