Displaying 2 results from an estimated 2 matches for "fieldmask".
2012 Dec 21
1
[LLVMdev] A potential bug in helper function "fieldFromInstruction" in tablegen'erated file "XXXGenDisassemblerTables.inc"
...emplate<typename InsnType>
static InsnType fieldFromInstruction(InsnType insn, unsigned startBit,
unsigned numBits) {
assert(startBit + numBits <= (sizeof(InsnType)*8) &&
"Instruction field out of bounds!");
InsnType fieldMask;
if (numBits == sizeof(InsnType)*8)
fieldMask = (InsnType)(-1LL);
else
fieldMask = ((1 << numBits) - 1) << startBit;
return (insn & fieldMask) >> startBit;
}
may fail if the last parameter "startBit" is larger than 31 which is
likely to occur...
2014 Mar 03
1
Doubled Quotas on Ubuntu
...048572
[2014/01/29 11:30:21.517959, 9] smbd/trans2.c:979(send_trans2_replies)
t2_rep: params_sent_thistime = 0, data_sent_thistime = 32, useable_space
= 131012
while stracing the samba process shows:
quotactl(Q_XGETQUOTA|GRPQUOTA, "/dev/sdb", 10057, {version=1,
flags=XFS_GROUP_QUOTA, fieldmask=0, id=10057, blk_hardlimit=2097152,
blk_softlimit=2097152, ino_hardlimit=0, ino_softlimit=0, bcount=8,
icount=11, ...}) = 0
On the incorrect Ubuntu machine, level=10 logs show:
[2014/01/29 09:27:25.429062, 5] smbd/trans2.c:3153(smbd_do_qfsinfo)
smbd_do_qfsinfo : SMB_QUERY_FS_FULL_SIZE_INFO bsi...