On Thu, Jan 7, 2016 at 5:00 PM, Dmitry V. Levin <l...@altlinux.org> wrote:
> On Wed, Jan 06, 2016 at 09:27:12AM -0500, Joe Korty wrote: > > Fix mask length bug in print_affinitylist. > > > > The incoming length argument is in terms of bytes not > > longs. > > > > As a result, a buffer overrun occurs and either four or > > eight times more mask data than is actually available > > is displayed. > > The cpu set decoder was really strange, thanks for reporting. > I've pushed commit v4.11-122-g6bf08e3 that changes this decoder to print > cpu_set_t as a set of integers, similar to the way fd_set is printed > as a set of descriptors. > > > -- > ldv > Hi Dmitry, Thanks for replying. I have had a hard time posting to the list, so it is nice to know that the email actually got through to someone on the third try ... PS: not sure that the 'set of integers' idea is correct in a big-endian, 64-bit environment. I know the version I posted is correct in any mix of 32 and 64 bit environments and big and little endian environments. Joe
------------------------------------------------------------------------------
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel