mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Add DECLARE_MODULE() to the "cloudabi" kernel module.
This kernel module does not require any explicit initialization, but a module declaration is needed to let the "cloudabi64" kernel module automatically pull this in. Obtained from: https://github.com/NuxiNL/freebsd
This commit is contained in:
parent
36310bcd1d
commit
b6efa27589
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=286324
@ -30,7 +30,9 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/capsicum.h>
|
||||
#include <sys/filedesc.h>
|
||||
#include <sys/imgact.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/lock.h>
|
||||
#include <sys/module.h>
|
||||
#include <sys/mutex.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/signalvar.h>
|
||||
@ -133,3 +135,12 @@ cloudabi_sys_proc_raise(struct thread *td,
|
||||
PROC_UNLOCK(p);
|
||||
return (0);
|
||||
}
|
||||
|
||||
static moduledata_t cloudabi_module = {
|
||||
"cloudabi",
|
||||
NULL,
|
||||
NULL
|
||||
};
|
||||
|
||||
DECLARE_MODULE(cloudabi, cloudabi_module, SI_SUB_EXEC, SI_ORDER_ANY);
|
||||
MODULE_VERSION(cloudabi, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user