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] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 21 Mar 2016 19:47:29 +0800 (CST)
From:	"Xuetao Guan" <gxt@...c.pku.edu.cn>
To:	"Guenter Roeck" <linux@...ck-us.net>
Cc:	"Guan Xuetao" <gxt@...c.pku.edu.cn>, linux-kernel@...r.kernel.org,
	"Guenter Roeck" <linux@...ck-us.net>,
	"Dave Hansen" <dave.hansen@...ux.intel.com>,
	"Thomas Gleixner" <tglx@...utronix.de>,
	"Ingo Molnar" <mingo@...nel.org>
Subject: Re: [PATCH] unicore32: mm: Add missing parameter to 
     arch_vma_access_permitted

> unicore32 fails to compile with the following errors.
>
> mm/memory.c: In function ���__handle_mm_fault��&#65533;:
> mm/memory.c:3381: error:
> 	too many arguments to function ���arch_vma_access_permitted��&#65533;
> mm/gup.c: In function ���check_vma_flags��&#65533;:
> mm/gup.c:456: error:
> 	too many arguments to function ���arch_vma_access_permitted��&#65533;
> mm/gup.c: In function ���vma_permits_fault��&#65533;:
> mm/gup.c:640: error:
> 	too many arguments to function ���arch_vma_access_permitted��&#65533;
>
> Fixes: d61172b4b695b ("mm/core, x86/mm/pkeys: Differentiate instruction
> fetches")
> Cc: Dave Hansen <dave.hansen@...ux.intel.com>
> Cc: Thomas Gleixner <tglx@...utronix.de>
> Cc: Ingo Molnar <mingo@...nel.org>
> Signed-off-by: Guenter Roeck <linux@...ck-us.net>

Thanks.

Acked-by: Guan Xuetao <gxt@...c.pku.edu.cn>

> ---
>  arch/unicore32/include/asm/mmu_context.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/unicore32/include/asm/mmu_context.h
> b/arch/unicore32/include/asm/mmu_context.h
> index e35632ef23c7..62dfc644c908 100644
> --- a/arch/unicore32/include/asm/mmu_context.h
> +++ b/arch/unicore32/include/asm/mmu_context.h
> @@ -98,7 +98,7 @@ static inline void arch_bprm_mm_init(struct mm_struct
> *mm,
>  }
>
>  static inline bool arch_vma_access_permitted(struct vm_area_struct *vma,
> -		bool write, bool foreign)
> +		bool write, bool execute, bool foreign)
>  {
>  	/* by default, allow everything */
>  	return true;
> --
> 2.5.0
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ