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: <20101107223056.GA23871@merkur.ravnborg.org>
Date:	Sun, 7 Nov 2010 23:30:56 +0100
From:	Sam Ravnborg <sam@...nborg.org>
To:	Ben Gamari <bgamari.foss@...il.com>
Cc:	Américo Wang <xiyou.wangcong@...il.com>,
	Christoph Egger <siccegge@...fau.de>,
	linux-kernel@...r.kernel.org,
	linux-kbuild <linux-kbuild@...r.kernel.org>,
	Michal Marek <mmarek@...e.cz>
Subject: fstat suddenly return -EINVAL [Was: Bus error on make
	allyesconfig, kernelbuild with HEAD]

Hi Ben.

[Context to new readers: Ben experience that fixdep (part of kbuild)
 exists with an error during kernel compilations.
 This is now tracked down to fstat() returning EINVAL.
 Due to missing error checks in fixdep.c this has been a long journey
 to reach this far. ]

I looked briefly at the fstat implmnetation in the kernel and
this did not give me any hints.
I therefore changed to subject to attrack attention of more readers.

Can you supply us with a bit more information about your system:
- filesystem (as fstat seems to reach filesystem specific code)
- glibc version 
- box (architecture + 32 or 64 bit kernel)
- do you see other things misbehave or is this only a kernel build thing

If you have provided this info in the past I have missed it.

	Sam

[Kept the below for new readers]

On Sun, Nov 07, 2010 at 01:09:30PM -0500, Ben Gamari wrote:
> On Sun, 7 Nov 2010 18:07:00 +0100, Sam Ravnborg <sam@...nborg.org> wrote:
> > Interesting and valueable information!
> > 
> > Looks like fstat() failed for some odd reason
> > Could you try to check the return value of fstat().
> > 
> fixdep: fstat failed: Invalid argument
> 
> Interesting indeed. According to my manpage fstat doesn't even return
> EINVAL.
> 
> - Ben
> --
> 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/
> 
> 
--
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