aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/linux_common
diff options
context:
space:
mode:
authorDmitry Chagin <dchagin@FreeBSD.org>2015-05-24 17:47:20 +0000
committerDmitry Chagin <dchagin@FreeBSD.org>2015-05-24 17:47:20 +0000
commit4ab7403bbd76f466d482cd69035091c04e409c09 (patch)
tree7834fb011bae3e522ce0c187800ab6638a69ac86 /sys/modules/linux_common
parenta6fd8bb2bb7cfa591f67d2a4f51bd3ed922d79c8 (diff)
Rework signal code to allow using it by other modules, like linprocfs:
1. Linux sigset always 64 bit on all platforms. In order to move Linux sigset code to the linux_common module define it as 64 bit int. Move Linux sigset manipulation routines to the MI path. 2. Move Linux signal number definitions to the MI path. In general, they are the same on all platforms except for a few signals. 3. Map Linux RT signals to the FreeBSD RT signals and hide signal conversion tables to avoid conversion errors. 4. Emulate Linux SIGPWR signal via FreeBSD SIGRTMIN signal which is outside of allowed on Linux signal numbers. PR: 197216
Notes
svn path=/head/; revision=283474
Diffstat (limited to 'sys/modules/linux_common')
-rw-r--r--sys/modules/linux_common/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/linux_common/Makefile b/sys/modules/linux_common/Makefile
index ebc475d63a82..91449f774ef5 100644
--- a/sys/modules/linux_common/Makefile
+++ b/sys/modules/linux_common/Makefile
@@ -4,7 +4,7 @@
KMOD= linux_common
SRCS= linux_common.c linux_mib.c linux_util.c linux_emul.c \
- opt_compat.h device_if.h vnode_if.h bus_if.h
+ linux.c opt_compat.h device_if.h vnode_if.h bus_if.h
EXPORT_SYMS=
EXPORT_SYMS+= linux_emul_path