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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:   Fri, 10 Mar 2017 11:40:46 +0100 (CET)
From:   Thomas Gleixner <tglx@...utronix.de>
To:     Corcodel Marian <asd@...ian1000.go.ro>
cc:     Ingo Molnar <mingo@...hat.com>, "H. Peter Anvin" <hpa@...or.com>,
        x86@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: Incomplete type on task_pt_regs .

Marian,

On Thu, 9 Mar 2017, Corcodel Marian wrote:

> Try to remove suppres errors on compiler.
> 
> Run make
> 
> Bellow is error message from  compiler:
> 
> ./arch/x86/include/asm/processor.h:594:51: error: dereferencing pointer to
> incomplete type ‘struct task_struct’
>  #define task_pt_regs(tsk) ((struct pt_regs *)(tsk)->thread.sp0 - 1)
>                                                    ^
> arch/x86/init/compat.c:27:8: note: in expansion of macro ‘task_pt_regs’
>    sp = task_pt_regs(current)->sp;

This is pretty useless because you miss to provide the information how that
compile errors are exposed:

 - .config file

 - compiler version

 - source tree (branch, SHA1 of head commit)

 - Source file which exposes the failure
 
Thanks,

	tglx

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ