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-next>] [day] [month] [year] [list]
Date:	Fri, 25 Apr 2008 01:14:38 +1000
From:	Rusty Russell <rusty@...tcorp.com.au>
To:	Ingo Molnar <mingo@...e.hu>
Cc:	linux-kernel@...r.kernel.org, Joe Perches <joe@...ches.com>
Subject: [PATCH] x86: Fix non-kernel use of include/linux/types.h

In file included from ../../include/linux/if_tun.h:21,
                 from lguest.c:30:
../../include/linux/types.h:203: error: expected specifier-qualifier-list before ‘__kernel_daddr_t’

This reversion was created by e40c0fe6b0b5dd16aec3c0dad311d36b19d78fd9
'x86: cleanup duplicate includes' which removed the !__KERNEL__ case from
asm-x86/posix_types.h.

CC: Joe Perches <joe@...ches.com>
---
 include/asm-x86/posix_types.h |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff -r c06e2499a606 include/asm-x86/posix_types.h
--- a/include/asm-x86/posix_types.h	Tue Apr 22 07:59:24 2008 +1000
+++ b/include/asm-x86/posix_types.h	Tue Apr 22 08:59:18 2008 +1000
@@ -1,7 +1,5 @@
-#ifdef __KERNEL__
-# if defined(CONFIG_X86_32) || defined(__i386__)
-#  include "posix_types_32.h"
-# else
-#  include "posix_types_64.h"
-# endif
+#if defined(CONFIG_X86_32) || defined(__i386__)
+# include "posix_types_32.h"
+#else
+# include "posix_types_64.h"
 #endif
--
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