[PATCH V3 04/10] capabilities: use root_priveleged inline to clarify logic

James Morris jmorris at namei.org
Fri Aug 25 05:58:22 UTC 2017


On Wed, 23 Aug 2017, Richard Guy Briggs wrote:

> Introduce inline root_privileged() to make use of SECURE_NONROOT
> easier to read.
> 
> Suggested-by: Serge Hallyn <serge at hallyn.com>
> Signed-off-by: Richard Guy Briggs <rgb at redhat.com>
> ---
>  security/commoncap.c |    9 +++++----
>  1 files changed, 5 insertions(+), 4 deletions(-)


Acked-by: James Morris <james.l.morris at oracle.com>


-- 
James Morris
<jmorris at namei.org>




More information about the Linux-audit mailing list