Use of ioctl()
Use of ioctl()
Posted Jun 16, 2022 9:04 UTC (Thu) by cortana (subscriber, #24596)In reply to: Use of ioctl() by nybble41
Parent article: /dev/userfaultfd
Posted Jun 16, 2022 11:59 UTC (Thu)
by metan (subscriber, #74107)
[Link] (1 responses)
Posted Jun 16, 2022 14:59 UTC (Thu)
by nybble41 (subscriber, #55106)
[Link]
Ah, I missed that the v2 ABI changed this to an array in 2007. I would imagine that it's still not that easy to extend it, since it appears to require a new version of the ABI to increase the array length, and any userspace tools and filesystems which work with capability sets would need to be updated as well. In a sense it's always going to be *possible* to extend the set of capabilities with ABI changes; the question is how much work is involved. Also, as long as the capability set remains a bitfield—and not, say, a sparse array—there will be significant overhead to tracking large numbers of potential capabilities, whether or not they're actually used by a given program.
Use of ioctl()
Use of ioctl()