Page MenuHomeFreeBSD

Report block devices as such to Linux binaries
ClosedPublic

Authored by trasz on Dec 28 2019, 10:38 PM.
Tags
None
Referenced Files
F110602346: D22950.id66100.diff
Thu, Feb 20, 6:23 PM
Unknown Object (File)
Mon, Feb 17, 3:25 AM
Unknown Object (File)
Mon, Feb 3, 7:23 AM
Unknown Object (File)
Dec 27 2024, 11:36 PM
Unknown Object (File)
Dec 24 2024, 6:26 PM
Unknown Object (File)
Dec 22 2024, 8:42 PM
Unknown Object (File)
Dec 13 2024, 8:57 AM
Unknown Object (File)
Nov 30 2024, 3:31 AM
Subscribers

Details

Summary

Make Linux stat(2) et al distinguish between block and character
devices. It's required for LTP, among other things. It's not
complete, but good enough for now.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 28363
Build 26450: arc lint + arc unit

Event Timeline

sys/compat/linux/linux_stats.c
68

VCHR check is excessive

121–125

At least this lacks a check that vp != NULL, see a line just below the added chunk.

This revision is now accepted and ready to land.Dec 29 2019, 12:32 PM

Hi, could you please describe which LTP tests fails? I have implemented xattr support (rsync uses this) and see that some xattr tests fails due to the mknod/openat pair fails if node is created with IFBLK.