Re: linux/a.out.h is not exported to userspace

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Woodhouse
Date: Sunday, May 18, 2008 - 4:16 am

On Fri, 2008-05-16 at 17:13 -0700, Khem Raj wrote:

That'll export <linux/a.out.h> even on architectures where <asm/a.out.h>
doesn't exist -- which will cause headers_check to fail.

Perhaps we could do it something like this:
--- a/include/linux/Kbuild
+++ b/include/linux/Kbuild
@@ -168,6 +168,9 @@ unifdef-y += acct.h
 unifdef-y += adb.h
 unifdef-y += adfs_fs.h
 unifdef-y += agpgart.h
+ifeq ($(wildcard include/asm-$(SRCARCH)/a.out.h),include/asm-$(SRCARCH)/a.out.h)
+unifdef-y += a.out.h
+endif
 unifdef-y += apm_bios.h
 unifdef-y += atalk.h
 unifdef-y += atmdev.h

In fact, perhaps we could do <linux/kvm.h> that way too -- I believe I
objected to using a CONFIG symbol, but the mere existence of the file
would be fine. I don't think we thought of that at the time.

-- 
dwmw2

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
linux/a.out.h is not exported to userspace, Khem Raj, (Fri May 16, 5:13 pm)
Re: linux/a.out.h is not exported to userspace, Stefan Hellermann, (Sat May 17, 6:29 am)
Re: linux/a.out.h is not exported to userspace, Pekka Enberg, (Sat May 17, 8:17 am)
Re: linux/a.out.h is not exported to userspace, David Woodhouse, (Sun May 18, 4:16 am)
Re: linux/a.out.h is not exported to userspace, Andrew Morton, (Fri May 23, 12:32 am)
Re: linux/a.out.h is not exported to userspace, Khem Raj, (Fri May 23, 9:02 am)
Re: linux/a.out.h is not exported to userspace, Khem Raj, (Thu May 29, 9:35 pm)
Re: linux/a.out.h is not exported to userspace, David Woodhouse, (Thu May 29, 10:45 pm)