Decode fd_set into array of file descriptors
Dmitry V. Levin
ldv at altlinux.org
Sat Dec 22 00:33:34 UTC 2018
Hi,
On Wed, Dec 19, 2018 at 08:41:39PM -0800, shankarapailoor wrote:
> Hi!
>
> I was looking at the decoding of select system call and I noticed that
> fd_set is decoded as [fd1 fd2 fd3 ..]. Is it ok to change this to be
> an array of file descriptors? Attached is a patch which changes this
> to be an array of file descriptors like [fd1, fd2, fd3, ...]. Let me
> know what you think.
Do you suggest to print bit sets as if they were regular arrays
of integer types?
We had a rather short and inconclusive discussion about bit sets recently,
please have a look at the thread starting at
https://lists.strace.io/pipermail/strace-devel/2018-October/008389.html
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20181222/6a1f3f22/attachment.bin>
More information about the Strace-devel
mailing list