Re: struct statfs::f_type too small to carry magic values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 19, 2013 at 11:56:54AM +0200, Kay Sievers wrote:
> On Fri, Apr 19, 2013 at 10:17 AM, Heiko Carstens
> <heiko.carstens@xxxxxxxxxx> wrote:
> > On Thu, Apr 18, 2013 at 03:10:18PM +0200, Kay Sievers wrote:
> 
> > I just had look into the glibc code but couldn't find any (implicit) cast
> > from int to long.
> > Can you give a pointer to the code in glibc where this breaks?
> 
> On 64 bit the value for userspace is long, it's just an assignment:
>   http://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/statfs64.c#l59

I don't think there is a problem: both struct statfs and struct statfs64
have an int type for fs_type on s390.
So I suspect it's "only" the stat tool in core utils where it breaks.
tail in core utils seems to have a similar problem, even though only in
an error case where it dumps debug data.

--
To unsubscribe from this list: send the line "unsubscribe linux-s390" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux