Re: linux/a.out.h is not exported to userspace
From: Andrew Morton
Date: Fri May 23 2008 - 03:33:40 EST
On Fri, 16 May 2008 17:13:57 -0700 Khem Raj <raj.khem@xxxxxxxxx> wrote:
> Hi,
>
> Looking for a compile failure for a package on uclibc system using
> kernel-headers from 2.6.25 I found that linux/a.out.h is no more
> exported to userland anymore.
>
> This commit below has disabled it from being exported. The commit Do not
> export asm/page.h during make headers_install so I was wondering if it
> was intended to unexport linux/a.out.h or not.
>
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=ed7b1889da256977574663689b598d88950bbd23
>
>
> Looking at the patch from lkml post
>
> http://linux.derkeiler.com/Mailing-Lists/Kernel/2007-10/msg08913.html
>
> second hunk to include/linux/Kbuild was not applied which caused this
> problem.
>
> I think I do not fall into Signed-off-by definition. I tested the
> following patch on 2.6.25.
>
> Thanks
>
> -Khem
>
> Tested-by: Khem Raj <raj.khem@xxxxxxxxx>
>
> diff --git a/include/linux/Kbuild b/include/linux/Kbuild
> index b7d81b2..8a3d93e 100644
> --- a/include/linux/Kbuild
> +++ b/include/linux/Kbuild
> @@ -168,6 +168,7 @@ unifdef-y += acct.h
> unifdef-y += adb.h
> unifdef-y += adfs_fs.h
> unifdef-y += agpgart.h
> +unifdef-y += a.out.h
> unifdef-y += apm_bios.h
> unifdef-y += atalk.h
> unifdef-y += atmdev.h
This breaks `make headerscheck' on s390:
/usr/src/devel/usr/include/linux/a.out.h requires asm/a.out.h, which does not exist in exported headers
which might be an s390 problem.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/