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: <20081203195022.GA7080@clouds>
Date:	Wed, 03 Dec 2008 14:50:23 -0500
From:	Jody McIntyre <scjody@....com>
To:	"H. Peter Anvin" <hpa@...or.com>
Cc:	linux-kernel@...r.kernel.org, tglx@...utronix.de, mingo@...hat.com
Subject: Re: [PATCH] Fix compile error in arch/x86/kernel/syscall_64.c

On Wed, Dec 03, 2008 at 10:00:07AM -0800, H. Peter Anvin wrote:

> Okay, this makes no sense whatsoever.

Glad you agree :)

> Could you send me the following:
> 
> a. the .config you're using;

http://downloads.lustre.org/people/scjody/lkml/config_2008-12-03

> b. what kernel headers do you have in /usr/include
>    (if you installed the old ones with the broken header guards
>    with "make headers_install", then your development environment
>    is broken);

I have never installed headers via "make headers_install".  Anything
under /usr/include comes from my distribution (Ubuntu), and neither
header guard is found anywhere:

root@vm1:~/linux-2.6# grep -r ASM_X86__UNISTD_64_H /usr/include
root@vm1:~/linux-2.6# grep -r _ASM_X86_UNISTD_64_H /usr/include
root@vm1:~/linux-2.6# 

/usr/include/linux/* and /usr/include/asm/* come from the linux-libc-dev
(2.6.27-9.19) package:

Package: linux-libc-dev
Priority: optional
Section: devel
Installed-Size: 3684
Maintainer: Ubuntu Kernel Team <kernel-team@...ts.ubuntu.com>
Architecture: amd64
Source: linux
Version: 2.6.27-9.19
Replaces: dvb-dev (<< 1.0.1-6), libc6-dev (<< 2.3.2.ds1-6), libc6.1-dev (<< 2.3.2.ds1-6), linux-kernel-headers
Provides: linux-kernel-headers
Conflicts: amd64-libs-dev (<= 1.1), dvb-dev (<< 1.0.1-6), libc6-dev (<< 2.3.2.ds1-6), libc6.1-dev (<< 2.3.2.ds1-6), linux-kernel-headers
Filename: pool/main/l/linux/linux-libc-dev_2.6.27-9.19_amd64.deb
Size: 653400
MD5sum: f2c4482176fe9e5219f7b18a258cbf86
SHA1: 1e6d329b13612438673a905152410cde8d0a7a53
SHA256: a294cb5f320c626a48f917a23b73a04e7d763ac3c2863ad16432dcd46cc0675c
Description: Linux Kernel Headers for development
 This package provides headers from the Linux kernel.  These headers
 are used by the installed headers for GNU glibc and other system
 libraries. They are NOT meant to be used to build third-party modules for
 your kernel. Use linux-headers-* packages for that.
Bugs: mailto:ubuntu-users@...ts.ubuntu.com
Build-Essential: yes
Origin: Ubuntu
Task: ubuntu-desktop, kubuntu-desktop, edubuntu-desktop, xubuntu-desktop, mobile-mobile

I'm confused as to why this matters - I didn't think the kernel build
used any external includes (except for helper utilities like "conf".)

> c. "make arch/x86/kernel/syscall_64.i".

http://downloads.lustre.org/people/scjody/lkml/syscall_64.i

Cheers,
Jody

> 
> 	-hpa
--
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