path: root/sys/conf
diff options
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/conf
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/conf')
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/conf/files.amd64 b/sys/conf/files.amd64
index f76c895b14e5..d835be12c1bb 100644
--- a/sys/conf/files.amd64
+++ b/sys/conf/files.amd64
@@ -510,6 +510,7 @@ compat/linux/linux_util.c optional compat_linux32
compat/linux/linux_vdso.c optional compat_linux32
compat/linux/linux_common.c optional compat_linux32
compat/linux/linux_event.c optional compat_linux32
+compat/linux/linux.c optional compat_linux32
dev/amr/amr_linux.c optional compat_linux32 amr
dev/mfi/mfi_linux.c optional compat_linux32 mfi
diff --git a/sys/conf/files.i386 b/sys/conf/files.i386
index 360435557b97..4a5d15c22316 100644
--- a/sys/conf/files.i386
+++ b/sys/conf/files.i386
@@ -100,6 +100,7 @@ compat/linux/linux_timer.c optional compat_linux
compat/linux/linux_uid16.c optional compat_linux
compat/linux/linux_util.c optional compat_linux
compat/linux/linux_vdso.c optional compat_linux
+compat/linux/linux.c optional compat_linux
compat/ndis/kern_ndis.c optional ndisapi pci
compat/ndis/kern_windrv.c optional ndisapi pci
compat/ndis/subr_hal.c optional ndisapi pci