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: <CAGTPOqdP6OwZ2dF+1J3rxL0aBag5ir+_-ge1n_4UWWUMc1949Q@mail.gmail.com>
Date:	Wed, 20 Jul 2011 12:26:50 +0300
From:	Vitaliy Ivanov <vitalivanov@...il.com>
To:	Randy Dunlap <rdunlap@...otime.net>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	Michal Marek <mmarek@...e.cz>, linux-kernel@...r.kernel.org
Subject: Re: `make headers_check' bustage

On Mon, Jul 18, 2011 at 12:47 AM, Randy Dunlap <rdunlap@...otime.net> wrote:
> On Thu, 7 Jul 2011 17:16:27 -0700 Andrew Morton wrote:
>
>> It is just me, or is headers_check busted in current -linus?
>>
>> z:/usr/src/25> make mrproper; make allmodconfig; make headers_check
>> ...
>> /usr/src/25/usr/include/linux/kernel.h:65: userspace cannot reference function or variable defined in the kernel
>> /usr/src/25/usr/include/linux/quota.h:175: userspace cannot reference function or variable defined in the kernel
>> /usr/src/25/usr/include/linux/sdla.h:116: userspace cannot reference function or variable defined in the kernel
>> /usr/src/25/usr/include/linux/soundcard.h:1054: userspace cannot reference function or variable defined in the kernel
>
> What does it take to reproduce this?
> Does it fail on either type of X86 or is this from some other $ARCH?
> I can't make it fail on X86 (3.0-rc7).

Config is attached. I can see it on today's linus' tree.

Wed Jul 20 12:15:14
[vitaliy.ivanov@...anov linux-2.6]$ make
O=/home/TOROKI-UA/vitaliy.ivanov/PRIVATE/KERNEL/LINUX-2.6/build-linux-2.6
headers_check
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  HOSTCC  scripts/unifdef
  INSTALL include/asm-generic (34 files)
  INSTALL include/drm (13 files)
  INSTALL include/linux/byteorder (2 files)
  INSTALL include/linux/caif (2 files)
  INSTALL include/linux/can (4 files)
  INSTALL include/linux/dvb (8 files)
  INSTALL include/linux/hdlc (1 file)
  INSTALL include/linux/isdn (1 file)
  INSTALL include/linux/mmc (1 file)
  INSTALL include/linux/netfilter/ipset (4 files)
  INSTALL include/linux/netfilter (69 files)
  INSTALL include/linux/netfilter_arp (2 files)
  INSTALL include/linux/netfilter_bridge (18 files)
  INSTALL include/linux/netfilter_ipv4 (14 files)
  INSTALL include/linux/netfilter_ipv6 (11 files)
  INSTALL include/linux/nfsd (6 files)
  INSTALL include/linux/raid (2 files)
  INSTALL include/linux/spi (1 file)
  INSTALL include/linux/sunrpc (1 file)
  INSTALL include/linux/tc_act (7 files)
  INSTALL include/linux/tc_ematch (4 files)
  INSTALL include/linux/usb (9 files)
  INSTALL include/linux/wimax (1 file)
  INSTALL include/linux (366 files)
  INSTALL include/mtd (5 files)
  INSTALL include/rdma (6 files)
  INSTALL include/scsi/fc (4 files)
  INSTALL include/scsi (3 files)
  INSTALL include/sound (8 files)
  INSTALL include/video (3 files)
  INSTALL include/xen (2 files)
  INSTALL include (0 file)
  INSTALL include/asm (56 files)
  CHECK   include/asm-generic (34 files)
  CHECK   include/drm (13 files)
/home/TOROKI-UA/vitaliy.ivanov/PRIVATE/KERNEL/LINUX-2.6/build-linux-2.6/usr/include/drm/drm_mode.h:85:
found __[us]{8,16,32,64} type without #include <linux/types.h>
/home/TOROKI-UA/vitaliy.ivanov/PRIVATE/KERNEL/LINUX-2.6/build-linux-2.6/usr/include/drm/i915_drm.h:120:
found __[us]{8,16,32,64} type without #include <linux/types.h>
/home/TOROKI-UA/vitaliy.ivanov/PRIVATE/KERNEL/LINUX-2.6/build-linux-2.6/usr/include/drm/mga_drm.h:260:
found __[us]{8,16,32,64} type without #include <linux/types.h>
/home/TOROKI-UA/vitaliy.ivanov/PRIVATE/KERNEL/LINUX-2.6/build-linux-2.6/usr/include/drm/radeon_drm.h:758:
found __[us]{8,16,32,64} type without #include <linux/types.h>
/home/TOROKI-UA/vitaliy.ivanov/PRIVATE/KERNEL/LINUX-2.6/build-linux-2.6/usr/include/drm/via_drm.h:117:
found __[us]{8,16,32,64} type without #include <linux/types.h>
  CHECK   include/linux/byteorder (2 files)
  CHECK   include/linux/caif (2 files)
  CHECK   include/linux/can (4 files)
  CHECK   include/linux/dvb (8 files)
  CHECK   include/linux/hdlc (1 files)
  CHECK   include/linux/isdn (1 files)
  CHECK   include/linux/mmc (1 files)
/home/TOROKI-UA/vitaliy.ivanov/PRIVATE/KERNEL/LINUX-2.6/build-linux-2.6/usr/include/linux/mmc/ioctl.h:10:
found __[us]{8,16,32,64} type without #include <linux/types.h>
  CHECK   include/linux/netfilter/ipset (4 files)
  CHECK   include/linux/netfilter (69 files)
  CHECK   include/linux/netfilter_arp (2 files)
  CHECK   include/linux/netfilter_bridge (18 files)
  CHECK   include/linux/netfilter_ipv4 (14 files)
  CHECK   include/linux/netfilter_ipv6 (11 files)
  CHECK   include/linux/nfsd (6 files)
  CHECK   include/linux/raid (2 files)
  CHECK   include/linux/spi (1 files)
  CHECK   include/linux/sunrpc (1 files)
  CHECK   include/linux/tc_act (7 files)
  CHECK   include/linux/tc_ematch (4 files)
  CHECK   include/linux/usb (9 files)
  CHECK   include/linux/wimax (1 files)
  CHECK   include/linux (366 files)
/home/TOROKI-UA/vitaliy.ivanov/PRIVATE/KERNEL/LINUX-2.6/build-linux-2.6/usr/include/linux/kernel.h:65:
userspace cannot reference function or variable defined in the kernel
/home/TOROKI-UA/vitaliy.ivanov/PRIVATE/KERNEL/LINUX-2.6/build-linux-2.6/usr/include/linux/quota.h:175:
userspace cannot reference function or variable defined in the kernel
/home/TOROKI-UA/vitaliy.ivanov/PRIVATE/KERNEL/LINUX-2.6/build-linux-2.6/usr/include/linux/soundcard.h:1054:
userspace cannot reference function or variable defined in the kernel
  CHECK   include/mtd (5 files)
  CHECK   include/rdma (6 files)
  CHECK   include/scsi/fc (4 files)
  CHECK   include/scsi (3 files)
/home/TOROKI-UA/vitaliy.ivanov/PRIVATE/KERNEL/LINUX-2.6/build-linux-2.6/usr/include/scsi/scsi_netlink.h:108:
found __[us]{8,16,32,64} type without #include <linux/types.h>
  CHECK   include/sound (8 files)
  CHECK   include/video (3 files)
  CHECK   include/xen (2 files)
  CHECK   include (0 files)
  CHECK   include/asm (56 files)

Download attachment ".config" of type "application/octet-stream" (143447 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ