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
Unknown Object (File)
Feb 18 2024, 4:00 AM
Unknown Object (File)
Jan 15 2024, 12:08 PM
Unknown Object (File)
Dec 23 2023, 12:19 PM
Unknown Object (File)
Jul 30 2023, 7:42 AM
Unknown Object (File)
Jun 21 2023, 6:47 AM
Unknown Object (File)
Jun 16 2023, 12:37 AM
Unknown Object (File)
Jun 15 2023, 11:54 PM
Unknown Object (File)
Jun 3 2023, 8:09 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 Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/compat/linux/linux_stats.c
68 ↗(On Diff #66080)

VCHR check is excessive

121 ↗(On Diff #66080)

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.