[Bug libc/17786] [mips] O32 st_dev has the wrong type

joseph at codesourcery dot com sourceware-bugzilla@sourceware.org
Mon Jan 5 23:13:00 GMT 2015


https://sourceware.org/bugzilla/show_bug.cgi?id=17786

--- Comment #5 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
Yes, a new version, only for o32, and I think it would be prudent for all 
*xstat* functions in shared libc to get new symbol versions (aliases to 
the old ones) so binaries using the new version fail early if used with 
old glibc.

It may be prudent to look at how widespread use of struct stat is in 
shared library interfaces in GNU/Linux distributions, and try to assess 
what the effects of such a change would be (that is, to what extent struct 
stat gets passed across library boundaries, *and* st_dev gets used on the 
other side of the boundary from the stat call that filled it in).  The 
lack of a size change should make it safer than the problematic S/390 
jmp_buf change that had to be reverted, but it still merits careful 
analysis in advance.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Glibc-bugs mailing list