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]
Date:	Wed, 1 Oct 2014 17:56:34 +0200
From:	Michal Hocko <mhocko@...e.cz>
To:	Paul McQuade <paulmcquad@...il.com>
Cc:	linux-kernel@...r.kernel.org, linux-mm@...ck.org,
	cgroups@...r.kernel.org, hannes@...xchg.org
Subject: Re: [PATCH] mm: memcontrol Use #include <linux/uaccess.h>

On Wed 01-10-14 16:44:56, Paul McQuade wrote:
> Remove asm headers for linux headers

I think we do not need this header at all these days. There are no
direct operations on user memory in memcontrol.c.

> Signed-off-by: Paul McQuade <paulmcquad@...il.com>
> ---
>  mm/memcontrol.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/mm/memcontrol.c b/mm/memcontrol.c
> index 085dc6d..51dbe80 100644
> --- a/mm/memcontrol.c
> +++ b/mm/memcontrol.c
> @@ -56,14 +56,14 @@
>  #include <linux/oom.h>
>  #include <linux/lockdep.h>
>  #include <linux/file.h>
> +#include <linux/uaccess.h>
> +
>  #include "internal.h"
>  #include <net/sock.h>
>  #include <net/ip.h>
>  #include <net/tcp_memcontrol.h>
>  #include "slab.h"
>  
> -#include <asm/uaccess.h>
> -
>  #include <trace/events/vmscan.h>
>  
>  struct cgroup_subsys memory_cgrp_subsys __read_mostly;
> -- 
> 1.9.1
> 

-- 
Michal Hocko
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ