You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@joshtriplett As a followup to #53, I was investigating running the generator script with linux HEAD, but I'm hitting this error:
list.c: In function ‘list’:
include/linux/ext4.h:47:54: error: invalid application of ‘sizeof’ to incomplete type ‘struct compat_ext4_new_group_input’
47 | #define EXT4_IOC32_GROUP_ADD _IOW('f', 8, struct `)
| ^~~~~~
It seems compat_ext4_new_group_input isn't defined in the uapi headers, but EXT4_IOC32_GROUP_ADD isn't usable without it. Should compat_ext4_new_group_input be moved into uapi?
groan, you're right. There were issues with defining compat_ext4_new_group_input, so I ended up dropping it, and the kernel compiles without having a definition of it.
Does the generator script work if you don't request that ioctl? Or does this require fixing the header?
Commenting out that one ioctl allows the script to succeed. I've now done that and published a 0.3.6-head.0 prerelease based on the current linux master branch.
Activity
joshtriplett commentedon Apr 27, 2023
groan, you're right. There were issues with defining
compat_ext4_new_group_input, so I ended up dropping it, and the kernel compiles without having a definition of it.Does the generator script work if you don't request that ioctl? Or does this require fixing the header?
sunfishcode commentedon Apr 27, 2023
Commenting out that one ioctl allows the script to succeed. I've now done that and published a 0.3.6-head.0 prerelease based on the current linux master branch.
joshtriplett commentedon Apr 28, 2023
@sunfishcode Thank you!