]> git.ipfire.org Git - thirdparty/util-linux.git/commit
setpriv: support dumping ambient capabilities
authorPatrick Steinhardt <ps@pks.im>
Sat, 24 Jun 2017 14:04:33 +0000 (16:04 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 27 Jun 2017 12:59:19 +0000 (14:59 +0200)
commit05a22eac65c3d7756c08ddc14ece2918517bc8ee
tree65625f8ab5712a9c3fb20d622618c8ececf7dd7b
parent8a5af72c22fa3e06f8d449ccec3da24d08624bbf
setpriv: support dumping ambient capabilities

Our code dumping owned capabilities does not yet handle ambient
capabilities, which were only recently introduced with Linux 4.3. This
commit implements printing ambient capabilities if they're supported by
the system.

Based on a patch by Andy Lutomirski.

Reviewed-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Patrick Steinhardt <ps@pks.im>
sys-utils/setpriv.c