freebsd-dev/sys/compat
Vico Chen 1f0c8bfd65 linsysfs(4): Keep Linux compatible sysfs the same as Ubuntu
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
2023-03-25 13:41:04 +03:00
..
freebsd32 ptrace(2): add PT_SC_REMOTE remote syscall request 2022-12-22 23:11:35 +02:00
ia32 Retire sv_transtrap 2022-05-20 14:54:03 +03:00
lindebugfs lindebugfs: Add debugfs_create_file_size() 2023-01-25 23:23:16 +01:00
linprocfs linux(4): Migrate to IfAPI 2023-03-04 12:11:38 +03:00
linsysfs linsysfs(4): Keep Linux compatible sysfs the same as Ubuntu 2023-03-25 13:41:04 +03:00
linux linux: Use the if_name() accessor to get loopback name 2023-03-07 09:47:01 -05:00
linuxkpi LinuxKPI: remove now implemented dummy headers. 2023-03-23 01:15:53 +00:00
x86bios pmap_unmapdev/bios: Accept a pointer instead of a vm_offset_t. 2022-09-22 15:08:52 -07:00