]> git.ipfire.org Git - thirdparty/systemd.git/commit
capability: let's protect against the kernel eventually doing more than 64 caps
authorLennart Poettering <lennart@poettering.net>
Fri, 8 Mar 2019 16:31:12 +0000 (17:31 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 15 Mar 2019 14:33:09 +0000 (15:33 +0100)
commit5211445eaea69b5826417c7e754b65bd652cdfaa
tree622ce1126f15aff090aa501c632e106cfd480280
parent248dd9417161e4a468cc6f21ad8d410a674f73fa
capability: let's protect against the kernel eventually doing more than 64 caps

Everyone will be in trouble then (as quite widely caps are store in
64bit fields). But let's protect ourselves at least to the point that we
ignore all higher caps for now.
src/basic/capability-util.c