lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHC9VhTZo6oRjYLF2f1P2Qqj5JZYYdxks4Rg1b7aA+3PPpJCzA@mail.gmail.com>
Date:   Mon, 26 Nov 2018 18:39:01 -0500
From:   Paul Moore <paul@...l-moore.com>
To:     tiny.windzz@...il.com
Cc:     Eric Paris <eparis@...hat.com>, linux-audit@...hat.com,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] audit/sc: remove some duplicated includes

On Mon, Nov 26, 2018 at 10:05 AM Yangtao Li <tiny.windzz@...il.com> wrote:
> audit.h and fs.h are included twice.It's unnecessary.
> hence just remove them.
>
> Signed-off-by: Yangtao Li <tiny.windzz@...il.com>
> ---
>  kernel/auditsc.c | 2 --
>  1 file changed, 2 deletions(-)

See my previous comments.

> diff --git a/kernel/auditsc.c b/kernel/auditsc.c
> index b2d1f043f17f..6b6de6e0540e 100644
> --- a/kernel/auditsc.c
> +++ b/kernel/auditsc.c
> @@ -47,7 +47,6 @@
>  #include <linux/init.h>
>  #include <asm/types.h>
>  #include <linux/atomic.h>
> -#include <linux/fs.h>
>  #include <linux/namei.h>
>  #include <linux/mm.h>
>  #include <linux/export.h>
> @@ -55,7 +54,6 @@
>  #include <linux/mount.h>
>  #include <linux/socket.h>
>  #include <linux/mqueue.h>
> -#include <linux/audit.h>
>  #include <linux/personality.h>
>  #include <linux/time.h>
>  #include <linux/netlink.h>
> --
> 2.17.0
>


-- 
paul moore
www.paul-moore.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ