GNU bug report logs - #9077
coreutils-8.12: fiemap.h uses "struct fiemap_extent fm_extents[0];"

Previous Next

Package: coreutils;

Reported by: "Joachim Schmitz" <jojo <at> schmitz-digital.de>

Date: Thu, 14 Jul 2011 07:05:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 9077-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: 9077-done <at> debbugs.gnu.org, Joachim Schmitz <jojo <at> schmitz-digital.de>
Subject: Re: bug#9077: coreutils-8.12: fiemap.h uses "struct fiemap_extent
	fm_extents[0]; "
Date: Sat, 16 Jul 2011 03:21:58 -0700
On 07/16/11 01:37, Pádraig Brady wrote:
> I guess this is because
> the array element is unpacked for the ioctl which
> is then failing kernel checks.

That's odd, since as far as I can see, ioctl should see exactly
the same bytes either way; the kernel doesn't know about the app's
array elements, and all it should care about are the bytes.

However, I've run out of ideas for debugging remotely.  Perhaps this
will have to wait until someone runs into the portability problem
that I am merely hypothesizing.  Thanks for looking into it, anyway.




This bug report was last modified 14 years and 7 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.