NetBSD-Bugs archive

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

kern/43908: linux32 stat64 does not really work on tmpfs



>Number:         43908
>Category:       kern
>Synopsis:       linux32 stat64 does not really work on tmpfs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 26 20:20:00 +0000 2010
>Originator:     Arto Huusko
>Release:        5.99.39
>Organization:
>Environment:
NetBSD mutteri.local 5.99.39 NetBSD 5.99.39 (MUTTERI) #1: Sun Sep 26 22:22:29 
EEST 2010  
root%maailma.local@localhost:/local/scratch/build/nbsd-current/amd64/obj/sys/arch/amd64/compile/MUTTERI
 amd64

>Description:
stat64 system call in linux32 emulation does not work on files on tmpfs.

Or, that is, the system call itself does work, but when glibc tries
to convert the stat64 struct to normal 32 bit stat, it fails because the
files on tmpfs have huge inode numbers.
>How-To-Repeat:
Try to run linux32 binary that uses ORBit2, and observe endless stream
of:

Can not stat /tmp/orbit-arto
>Fix:
Smaller inode numbers for files on tmpfs?



Home | Main Index | Thread Index | Old Index