setpriv: dump no-new-privs info
authorPatrick Steinhardt <ps@pks.im>
Thu, 6 Jul 2017 13:21:43 +0000 (15:21 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 6 Jul 2017 20:27:22 +0000 (22:27 +0200)
commit10c53b85c992afca47e7a70f05379a5038bdaeb9
tree4c223f16f0e178451e863ada1595b32333759282
parent111cdcf295b4cab78521480f52b295d9ae719263
setpriv: dump no-new-privs info

Introduce the ability to dump the state of the no-new-privs flag, which
states whethere it is allowed to grant new privileges.

function                                             old     new   delta
setpriv_main                                         419     467     +48
.rodata                                           145926  145969     +43

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/setpriv.c