]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r283474:
authordchagin <dchagin@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 9 Jan 2016 17:29:08 +0000 (17:29 +0000)
committerdchagin <dchagin@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 9 Jan 2016 17:29:08 +0000 (17:29 +0000)
commit99715fd9dd42622acc9d6364830b848ac5742fbc
tree3ff1c414355a992fc237bcf0de922831a0684ad1
parent5702374c19678c6ab1ccef1df655648b83916cb8
MFC r283474:

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

git-svn-id: svn://svn.freebsd.org/base/stable/10@293575 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
20 files changed:
sys/amd64/linux/linux.h
sys/amd64/linux/linux_machdep.c
sys/amd64/linux/linux_sysvec.c
sys/amd64/linux32/linux.h
sys/amd64/linux32/linux32_machdep.c
sys/amd64/linux32/linux32_sysvec.c
sys/compat/linux/linux.c [new file with mode: 0644]
sys/compat/linux/linux.h [new file with mode: 0644]
sys/compat/linux/linux_fork.c
sys/compat/linux/linux_misc.c
sys/compat/linux/linux_signal.c
sys/compat/linux/linux_signal.h
sys/conf/files.amd64
sys/conf/files.i386
sys/i386/linux/linux.h
sys/i386/linux/linux_machdep.c
sys/i386/linux/linux_ptrace.c
sys/i386/linux/linux_sysvec.c
sys/modules/linux/Makefile
sys/modules/linux_common/Makefile