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:	Fri, 15 Jan 2016 16:17:49 +0200
From:	Grygorii Strashko <grygorii.strashko@...com>
To:	<bigeasy@...utronix.de>,
	Russell King <rmk+kernel@....linux.org.uk>,
	<linux-rt-users@...r.kernel.org>
CC:	<linux-kernel@...r.kernel.org>,
	<linux-arm-kernel@...ts.infradead.org>,
	Sekhar Nori <nsekhar@...com>,
	Grygorii Strashko <Grygorii.Strashko@...aro.org>
Subject: Re: [4.1.2-rt1 PATCH] include/linux/pid.h: fix build error

Sorry- ignore this e-mail pls

On 01/15/2016 04:14 PM, Grygorii Strashko wrote:
> From: Grygorii Strashko <Grygorii.Strashko@...aro.org>
>
> This patch fixes build error:
>    CC      kernel/pid_namespace.o
> In file included from kernel/pid_namespace.c:11:0:
> include/linux/pid.h: In function 'get_pid':
> include/linux/pid.h:78:3: error: implicit declaration of function 'atomic_inc' [-Werror=implicit-function-declaration]
>     atomic_inc(&pid->count);
>     ^
> which happens when
>   CONFIG_PROVE_LOCKING=n
>   CONFIG_DEBUG_SPINLOCK=n
>   CONFIG_DEBUG_MUTEXES=n
>   CONFIG_DEBUG_LOCK_ALLOC=n
>
> Signed-off-by: Grygorii Strashko <Grygorii.Strashko@...aro.org>
> ---
>   include/linux/pid.h | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/include/linux/pid.h b/include/linux/pid.h
> index 23705a53..2cc64b7 100644
> --- a/include/linux/pid.h
> +++ b/include/linux/pid.h
> @@ -2,6 +2,7 @@
>   #define _LINUX_PID_H
>
>   #include <linux/rcupdate.h>
> +#include <linux/atomic.h>
>
>   enum pid_type
>   {
>


-- 
regards,
-grygorii

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ