From 73ce07ccefb2cb261ea6a1e7cbbcbedcb6569898 Mon Sep 17 00:00:00 2001 From: Andy Caldwell Date: Fri, 15 Nov 2024 01:55:26 +0000 Subject: [PATCH] Add fanotify_event_info_fid to FAM-exempt types --- libc-test/build.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libc-test/build.rs b/libc-test/build.rs index 48f952f9f7c83..123ac8d5ace30 100644 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -4503,11 +4503,11 @@ fn test_linux(target: &str) { true } - // The `inotify_event` and `cmsghdr` types contain Flexible Array Member fields (the - // `name` and `data` fields respectively) which have unspecified calling convention. - // The roundtripping tests deliberately pass the structs by value to check "by value" - // layout consistency, but this would be UB for the these types. + // The following types contain Flexible Array Member fields which have unspecified calling + // convention. The roundtripping tests deliberately pass the structs by value to check "by + // value" layout consistency, but this would be UB for the these types. "inotify_event" => true, + "fanotify_event_info_fid" => true, "cmsghdr" => true, // FIXME: the call ABI of max_align_t is incorrect on these platforms: