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] [thread-next>] [day] [month] [year] [list]
Message-ID: <46825722.7030702@googlemail.com>
Date:	Wed, 27 Jun 2007 14:25:06 +0200
From:	Michal Piotrowski <michal.k.k.piotrowski@...il.com>
To:	akpm@...ux-foundation.org
CC:	Thomas Gleixner <tglx@...utronix.de>, linux-kernel@...r.kernel.org
Subject: [PATCH] linux/cache.h export - workaround for headers_check error
 (Re: mm snapshot broken-out-2007-06-27-03-28.tar.gz uploaded)

Hi,

akpm@...ux-foundation.org pisze:
> The mm snapshot broken-out-2007-06-27-03-28.tar.gz has been uploaded to
> 
>    ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-06-27-03-28.tar.gz
> 
> It contains the following patches against 2.6.22-rc6:
> 

I get this error while headers_check due to ntp-move-the-cmos-update-code-into-ntpc-fix.patch

/home/devel/linux-work2/usr/include/linux/time.h requires linux/cache.h, which does not exist in exported headers
make[3]: *** [/home/devel/linux-work2/usr/include/linux/.check.time.h] Error 1
make[2]: *** [linux] Error 2
make[1]: *** [headers_check] Error 2
make: *** [vmlinux] Error 2

Here is a workaround.

Regards,
Michal

--
LOG
http://www.stardust.webpages.pl/log/

Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@...il.com>

--- linux-work2-clean/include/linux/Kbuild	2007-06-27 13:00:50.000000000 +0200
+++ linux-work2/include/linux/Kbuild	2007-06-27 13:51:24.000000000 +0200
@@ -174,6 +174,7 @@ unifdef-y += atm_tcp.h
 unifdef-y += audit.h
 unifdef-y += auto_fs.h
 unifdef-y += binfmts.h
+unifdef-y += cache.h
 unifdef-y += capability.h
 unifdef-y += capi.h
 unifdef-y += cciss_ioctl.h
--- linux-work2-clean/include/linux/cache.h	2007-02-04 19:44:54.000000000 +0100
+++ linux-work2/include/linux/cache.h	2007-06-27 13:50:53.000000000 +0200
@@ -1,6 +1,8 @@
 #ifndef __LINUX_CACHE_H
 #define __LINUX_CACHE_H
 
+#ifdef __KERNEL__
+
 #include <linux/kernel.h>
 #include <asm/cache.h>
 
@@ -60,4 +62,6 @@
 #endif
 #endif
 
+#endif /* __KERNEL__ */
+
 #endif /* __LINUX_CACHE_H */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ