Re: [signal:execve2 2/11] usr/include/linux/binfmts.h:5: included file 'asm-x86/exec.h' is not exported

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 03, 2012 at 06:20:41PM +0800, Fengguang Wu wrote:
> Hi Al,
> 
> Kernel build failed on
> 
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal.git execve2
> head:   760c0f5513e79608f9316997cecf6fcf42f7c386
> commit: 8c1fa890710d4b7d52cbdab27b2a9231aad012eb [2/11] the only place that needs to include asm/exec.h is linux/binfmts.h
> config: x86_64-allmodconfig (attached as .config)
> 
> All errors/warnings:
> 
> usr/include/linux/binfmts.h:5: included file 'asm-x86/exec.h' is not exported
> usr/include/linux/binfmts.h:5: included file 'asm-x86/exec.h' is not exported
> usr/include/linux/kexec.h:49: userspace cannot reference function or variable defined in the kernel
> usr/include/linux/soundcard.h:1054: userspace cannot reference function or variable defined in the kernel
> usr/include/linux/string.h:8: userspace cannot reference function or variable defined in the kernel

IOW, we need to take that include below #ifdef __KERNEL__

Done...
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux