summaryrefslogtreecommitdiff
path: root/docs/RELEASE.md
diff options
context:
space:
mode:
authorDan Streetman <ddstreet@canonical.com>2020-11-25 15:22:24 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-11-26 13:35:48 +0100
commitebc815cd1c647faa934a446ceea91ff4bc9dffa4 (patch)
tree308400243f03b02641c8f403154b448e64434cfb /docs/RELEASE.md
parent9684a01ce46e99cd22bb38758440e2a8e6734d3e (diff)
downloadsystemd-ebc815cd1c647faa934a446ceea91ff4bc9dffa4.tar.gz
test: use cap_last_cap() for max supported cap number, not capability_list_length()
This test assumes capability_list_length() is an invalid cap number, but that isn't true if the running kernel supports more caps than we were compiled with, which results in the test failing. Instead use cap_last_cap() + 1. If cap_last_cap() is 63, there are no more 'invalid' cap numbers to test with, so the invalid cap number test part is skipped.
Diffstat (limited to 'docs/RELEASE.md')
0 files changed, 0 insertions, 0 deletions