Fix IOCTL to return the error allowed by overlayfs
Since kernel 5.15, IOCTL returning ENOSYS is not allowed in overlayfs lowerdirs. https://github.com/torvalds/linux/commit/72db82115d2bdfbfba8b15a92d91872cfe1b40c6 This commit fixes this issue by returning ENOTTY which is allowed since https://github.com/torvalds/linux/commit/5b0a414d06c3ed2097e32ef7944a4abb644b89bd This fixes the issue in 5.16 and later but not in 5.15. To fully fix this, maybe we'll need to implement IOCTL. Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com> Change-Id: Ib4a86a62e31980cd57d7153b78be82fa30190798
Showing
Please register or sign in to comment