diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2019-11-06 20:53:33 +0000 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2019-11-06 20:53:33 +0000 |
commit | 044ab55e41712a07fcec3e803eda03cf9cb36c60 (patch) | |
tree | 00b17582c8598947022c48010e25dccb906b9fa0 /sys/compat/linux/linux_common.c | |
parent | fcb71d3f8e6290b37dfc9404409c8a9174663565 (diff) |
Notes
Diffstat (limited to 'sys/compat/linux/linux_common.c')
-rw-r--r-- | sys/compat/linux/linux_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_common.c b/sys/compat/linux/linux_common.c index 2bb11c279761..a6c780bd5e10 100644 --- a/sys/compat/linux/linux_common.c +++ b/sys/compat/linux/linux_common.c @@ -68,6 +68,7 @@ linux_common_modevent(module_t mod, int type, void *data) switch(type) { case MOD_LOAD: + linux_dev_shm_create(); linux_osd_jail_register(); linux_exit_tag = EVENTHANDLER_REGISTER(process_exit, linux_proc_exit, NULL, 1000); @@ -81,6 +82,7 @@ linux_common_modevent(module_t mod, int type, void *data) mtx_init(&futex_mtx, "ftllk", NULL, MTX_DEF); break; case MOD_UNLOAD: + linux_dev_shm_destroy(); linux_osd_jail_deregister(); SET_FOREACH(ldhp, linux_device_handler_set) linux_device_unregister_handler(*ldhp); |