]> git.ipfire.org Git - thirdparty/systemd.git/commit
basic/missing_capability: clean up our defines and check that our fallback is up...
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 27 Aug 2020 16:22:45 +0000 (18:22 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 27 Aug 2020 18:20:23 +0000 (20:20 +0200)
commitb7be416f55eda143b0e8f4a8ded8649c92e77d4e
tree0b9ebd4a9e63e85c0dd3741c40e01bec36316f82
parent839bdf2505d8f6a1e75cab125b91573ef5fd06c5
basic/missing_capability: clean up our defines and check that our fallback is up-to-date

There is little point in #defining and #undefining CAP_LAST_CAP multiple times.

The check is only done in developer mode. After all, it's not an error to
compile on a newer kernel, and we shouldn't even warn in that case.
src/basic/missing_capability.h
src/test/test-capability.c