Re: [PATCH v5 3/5] iommu/uapi: Use named union for user data

2020-07-17 Thread Auger Eric
Hi Jacob, On 7/16/20 8:45 PM, Jacob Pan wrote: > IOMMU UAPI data size is filled by the user space which must be validated > by ther kernel. To ensure backward compatibility, user data can only be s/ther/the > extended by either re-purpose padding bytes or extend the variable sized > union at the

[PATCH v5 3/5] iommu/uapi: Use named union for user data

2020-07-16 Thread Jacob Pan
IOMMU UAPI data size is filled by the user space which must be validated by ther 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