-
Notifications
You must be signed in to change notification settings - Fork 588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow compile without FS_IOC_FSGETXATTR #3602
Conversation
follow-up to a2d76a6
A better fix would be to conditionally define We should really make |
Is this something I should give a try? What needs to be done (=why isn't it usable)? |
Sure.
The problem is that |
Hm, what about In any case, that's what we may want to add to a supplemental header: #ifndef FS_IOC_FSGETXATTR
/*
* Structure for FS_IOC_FSGETXATTR[A] and FS_IOC_FSSETXATTR.
*/
struct fsxattr {
__u32 fsx_xflags; /* xflags field value (get/set) */
__u32 fsx_extsize; /* extsize field value (get/set)*/
__u32 fsx_nextents; /* nextents field value (get) */
__u32 fsx_projid; /* project identifier (get/set) */
__u32 fsx_cowextsize; /* CoW extsize field value (get/set)*/
unsigned char fsx_pad[8];
};
#define FS_IOC_FSGETXATTR _IOR('X', 31, struct fsxattr)
#define FS_IOC_FSSETXATTR _IOW('X', 32, struct fsxattr)
#endif
//#ifndef XFS_IOC_FSGETXATTR
//#define XFS_IOC_FSGETXATTR FS_IOC_FSGETXATTR
//#define XFS_IOC_FSSETXATTR FS_IOC_FSSETXATTR
//#endif
#ifndef XFS_IOC_FSGETXATTRA
#define XFS_IOC_FSGETXATTRA _IOR ('X', 45, struct fsxattr)
#endif The ... but checking that: it seems that this was done with kernel version 4.5 and as rr now requests 4.7, I'd close this issue by adding this as necessary piece to README.md and consider it done.
(that's above my knowledge) Moving the supplement out is likely a reasonable thing (but definitely more work), |
we need `FS_IOC_FSSETXATTR`; it is one of the reasons to require a newer kernel for newer versions of rr technical note: that arrived with kernel 4.5... closes rr-debugger#3602
@rocallahan I'd suggest to close this PR as we found that does not apply to RR any more because of the higher kernel dependency.
-> I'm leaving this decision to you, it is not directly related to this PR either. |
ok thanks |
follow-up to a2d76a6