aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorJacob Pan <[email protected]>2020-09-25 09:32:44 -0700
committerJoerg Roedel <[email protected]>2020-10-01 14:52:46 +0200
commit8d3bb3b8cbf2ffb3ef73720a48b3445518dcdb55 (patch)
tree0128ef643c3e803b601e0665b73b2a818b717c53 /tools/perf/scripts/python/syscall-counts.py
parent1e6aaae93e9ddb9dc664993eb949b1da94cab3a5 (diff)
iommu/uapi: Use named union for user data
IOMMU UAPI data size is filled by the user space which must be validated by the kernel. To ensure backward compatibility, user data can only be extended by either re-purpose padding bytes or extend the variable sized union at the end. No size change is allowed before the union. Therefore, the minimum size is the offset of the union. To use offsetof() on the union, we must make it named. Signed-off-by: Jacob Pan <[email protected]> Reviewed-by: Lu Baolu <[email protected]> Reviewed-by: Eric Auger <[email protected]> Link: https://lore.kernel.org/linux-iommu/[email protected]/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions