diff options
author | Vico Chen <vico.chern_qq.com> | 2023-03-25 10:41:04 +0000 |
---|---|---|
committer | Dmitry Chagin <dchagin@FreeBSD.org> | 2023-03-25 10:41:04 +0000 |
commit | 1f0c8bfd650422a30aa6fcf01da860b8d43628a8 (patch) | |
tree | d1eac39fdb8426a3035d4e2e644075d03e858512 /cddl/contrib/opensolaris/lib/libctf | |
parent | 0b56641cfcda30d06243223f37781ccc18455bef (diff) | |
download | src-main.tar.gz src-main.zip |
By checking Ubuntu, there is no `/sys/subsystem' in sysfs. To compatible
with Ubuntu, delete the 'subsystem' creation in Linux compatible module.
On the other hand, the sysfs `/sys/subsystem' cause failure for some
Linux udev cases. In Linux udev source code, there is a function named
`scan_devices_all', and it will scan `/sys/subsystem' if it is existed,
but now there are nothing in /sys/subsystem `, and it returns empty
to cause some use cases failed.
Reviewed by: dchagin
Differential Revision: https://reviews.freebsd.org/D38885
MFC after: 1 month
XMFC with: ifAPI
Diffstat (limited to 'cddl/contrib/opensolaris/lib/libctf')
0 files changed, 0 insertions, 0 deletions