Skip to content

Commit 717934c

Browse files
bossmctgross35
authored andcommitted
Add fanotify_event_info_fid to FAM-exempt types
(backport <#4038>) (cherry picked from commit 73ce07c)
1 parent eb48d77 commit 717934c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

libc-test/build.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4589,11 +4589,11 @@ fn test_linux(target: &str) {
45894589
true
45904590
}
45914591

4592-
// The `inotify_event` and `cmsghdr` types contain Flexible Array Member fields (the
4593-
// `name` and `data` fields respectively) which have unspecified calling convention.
4594-
// The roundtripping tests deliberately pass the structs by value to check "by value"
4595-
// layout consistency, but this would be UB for the these types.
4592+
// The following types contain Flexible Array Member fields which have unspecified calling
4593+
// convention. The roundtripping tests deliberately pass the structs by value to check "by
4594+
// value" layout consistency, but this would be UB for the these types.
45964595
"inotify_event" => true,
4596+
"fanotify_event_info_fid" => true,
45974597
"cmsghdr" => true,
45984598

45994599
// FIXME: the call ABI of max_align_t is incorrect on these platforms:

0 commit comments

Comments
 (0)