mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-01 17:00:36 +00:00
Prevent cuse4bsd.ko and cuse.ko from loading at the same time by
declaring support for the cuse4bsd interface in cuse.ko. Found by: Sergey V. Dyatko <sergey.dyatko@gmail.com> MFC after: 1 week
This commit is contained in:
parent
deffc4a026
commit
19f1b6fb7b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=306228
@ -63,6 +63,12 @@
|
||||
|
||||
MODULE_VERSION(cuse, 1);
|
||||
|
||||
/*
|
||||
* Prevent cuse4bsd.ko and cuse.ko from loading at the same time by
|
||||
* declaring support for the cuse4bsd interface in cuse.ko:
|
||||
*/
|
||||
MODULE_VERSION(cuse4bsd, 1);
|
||||
|
||||
#define NBUSY ((uint8_t *)1)
|
||||
|
||||
#ifdef FEATURE
|
||||
|
Loading…
x
Reference in New Issue
Block a user