mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 23:05:49 +01:00
Give the "streams" modulea version (1) and depend on it from the
"svr4elf" module. This unbreaks the SVR4 KLD (which had an undefined function because of thenewly-committed KLD enhancements).
This commit is contained in:
parent
3ca52f354e
commit
d6b17eeba3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60060
@ -402,3 +402,4 @@ static moduledata_t svr4_elf_mod = {
|
||||
0
|
||||
};
|
||||
DECLARE_MODULE(svr4elf, svr4_elf_mod, SI_SUB_EXEC, SI_ORDER_ANY);
|
||||
MODULE_DEPEND(svr4elf, streams, 1, 1, 1);
|
||||
|
@ -188,6 +188,7 @@ static moduledata_t streams_mod = {
|
||||
0
|
||||
};
|
||||
DECLARE_MODULE(streams, streams_mod, SI_SUB_DRIVERS, SI_ORDER_ANY);
|
||||
MODULE_VERSION(streams, 1);
|
||||
|
||||
/*
|
||||
* We only need open() and close() routines. open() calls socreate()
|
||||
|
@ -402,3 +402,4 @@ static moduledata_t svr4_elf_mod = {
|
||||
0
|
||||
};
|
||||
DECLARE_MODULE(svr4elf, svr4_elf_mod, SI_SUB_EXEC, SI_ORDER_ANY);
|
||||
MODULE_DEPEND(svr4elf, streams, 1, 1, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user