Description of problem: Output of the linux quotactl(2) command parser may be incorrect on 32-bit architectures. Version-Release number of selected component (if applicable): strace-4.5.2 How reproducible: On filesystems with version 2 quota (vfsv0 in terms of quota-tools) enabled. Steps to Reproduce: # dd if=/dev/zero of=file bs=1024k count=10 # losetup /dev/loop0 file # mkfs.ext2 /dev/loop0 # mount /dev/loop0 /mnt/disk -ousrquota # quotacheck -F vfsv0 /mnt/disk # quotaon /mnt/disk $ strace -e trace=quotactl quota -l >/dev/null Actual results: quotactl(0xff800004 /* Q_??? */|USRQUOTA, "/dev/loop0", 0, 0xbffff5c8) = 0 quotactl(0xff800005 /* Q_??? */|USRQUOTA, "/dev/loop0", 0, 0xbffff540) = 0 quotactl(0xff800007 /* Q_??? */|USRQUOTA, "/dev/loop0", 501, 0xbffff450) = 0 Expected results: quotactl(Q_GETFMT|USRQUOTA, "/dev/loop0", 0, 0xbffff5d8) = 0 quotactl(Q_GETINFO|USRQUOTA, "/dev/loop0", 0, 0xbffff550) = 0 quotactl(Q_GETQUOTA|USRQUOTA, "/dev/loop0", 501, 0xbffff460) = 0
Created attachment 98668 [details] strace-4.5.2-alt-quotactl-fix.patch Proposed patch.
I've put your patch in upstream.
An errata has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2004-338.html