Home | History | Annotate | Download | only in common
History log of /src/sys/compat/linux/common/linux_signal.h
RevisionDateAuthorComments
 1.34  01-Nov-2021  thorpej Use "stack_t" instead of "struct sigaltstack", as the former is the
newer standardized name. NFC.
 1.33  23-Sep-2021  ryo add support COMPAT_LINUX for aarch64
 1.32  02-Jan-2017  martin Provide a dummy linux_sigset_t for all architectures that do not have
any machdep one. This make kdump compile again.
 1.31  02-Jan-2017  manu Add pselect6 Linux system call.
This lets Matlab R2016A run on NetBSD/amd64
 1.30  29-May-2009  njoly branches: 1.30.22; 1.30.38; 1.30.40; 1.30.44;
Add native to linux siginfo si_status translation, used on i386 and
amd64.
 1.29  19-Oct-2008  njoly branches: 1.29.8;
Add native to linux siginfo si_code translation, mostly for negative
values. Adjust amd64 and i386 accordingly, not sure about aother archs
i can't test.
 1.28  28-Apr-2008  martin branches: 1.28.6;
Remove clause 3 and 4 from TNF licenses
 1.27  04-Dec-2007  dsl branches: 1.27.12; 1.27.14; 1.27.16;
Remove all the __P
 1.26  09-Feb-2007  ad branches: 1.26.18; 1.26.20; 1.26.26; 1.26.28;
Merge newlock2 to head.
 1.25  11-Dec-2005  christos branches: 1.25.20;
merge ktrace-lwp.
 1.24  19-Jun-2005  christos branches: 1.24.2;
remove duplicate declaration.
 1.23  02-Jun-2005  drochner more cast-qual fallout
 1.22  03-May-2005  manu First work on COMPAT_LINUX/amd64
Process startup and dynamiclinking work, but processes hang due to
Linux arch_prctl(2) not being really supported yet.
 1.21  08-Aug-2003  christos Conditionally declare function that is not used all the time.
 1.20  04-Jul-2003  enami Actually move the prototype of native_to_linux_sigaltstack here.
 1.19  02-Apr-2002  christos branches: 1.19.10;
Don't blow up if we don't have a machine dependend linux_signal.h.
kdump includes linux_signo.c
 1.18  31-Mar-2002  christos make signal array handling uniform, and put signal arrays in a separate
file. This is simular to errno array handling.
 1.17  18-Feb-2002  christos Resolve alpha compile issues:
- bug with order in args in mask conversion md code.
- flags can be both int and long on the alpha. kludge around that, by not
passing pointers to the conversion function.
- something is wrong with the toolchain look at the void * cast in copyout().
- sa_restorer is in a different place on the aplha. Deal with that, by not
initializing it as before. XXX: this should be changed in the MD signal
definition.
 1.16  15-Feb-2002  christos - add a real linux_sys___sysctl because the mib numbers are different.
implement only the kernel version getting entries.
- make the signal conversion functions consistent; dest is arg 1.
- make linux_fakedev deal with block and char devices differently.
- add linux_sys_ugetrlimit, and flesh out the regular get/setrlimit so
that they work properly.
- add linux_mmap2 [untested].
- bump kernel to 2.4.18, and make the date be valentine's day :-)
- linux_sys_*stat64 family was totally busted. Fix it.

tested only on i386.

Status:
gdb, telnet, work
jdk-1.4.0 extractor works, jdk still coredumps.

christos
 1.15  14-Jan-2002  bjh21 Crude first cut at ARMLinux binary compatibility. Successfully runs
"/emul/linux/bin/echo hello, world", dynamically linked.
 1.14  22-Sep-2001  manu Enable Mips Linux emulation in header files
 1.13  19-Jan-2001  manu branches: 1.13.2; 1.13.4; 1.13.6;
Added Linux compatibility support for powerpc ports
 1.12  18-Jan-2001  jdolecek constify
 1.11  15-Dec-1998  itohy branches: 1.11.8;
Added linux compat support on m68k ports.
 1.10  07-Oct-1998  erh Fix types. Kill old declarations.
 1.9  07-Oct-1998  erh Add prototype for linux_sigprocmask1().
 1.8  04-Oct-1998  fvdl Assign my copyright to TNF. Merge with others were appropriate.
Regen syscall files after script change.
 1.7  03-Oct-1998  christos Attempt to fix the mess.
 1.6  01-Oct-1998  erh Split compat/linux/linux_signal.h into i386 and common parts.
 1.5  11-Sep-1998  mycroft Substantial signal handling changes:
* Increase the size of sigset_t to accomodate 128 signals -- adding new
versions of sys_setprocmask(), sys_sigaction(), sys_sigpending() and
sys_sigsuspend() to handle the changed arguments.
* Abstract the guts of sys_sigaltstack(), sys_setprocmask(), sys_sigaction(),
sys_sigpending() and sys_sigsuspend() into separate functions, and call them
from all the emulations rather than hard-coding everything. (Avoids uses
the stackgap crap for these system calls.)
* Add a new flag (p_checksig) to indicate that a process may have signals
pending and userret() needs to do the full (slow) check.
* Eliminate SAS_ALTSTACK; it's exactly the inverse of SS_DISABLE.
* Correct emulation bugs with restoring SS_ONSTACK.
* Make the signal mask in the sigcontext always use the emulated mask format.
* Store signals internally in sigaction structures, rather than maintaining a
bunch of little sigsets for each SA_* bit.
* Keep track of where we put the signal trampoline, rather than figuring it out
in *_sendsig().
* Issue a warning when a non-emulated sigaction bit is observed.
* Add missing emulated signals, and a native SIGPWR (currently not used).
* Implement the `not reset when caught' semantics for relevant signals.

Note: Only code touched by the i386 port has been modified. Other ports and
emulations need to be updated.
 1.4  27-Aug-1995  fvdl Add a hook for MD ioctl calls, plus a couple of more changes to make
svgalib binaries work on the i386
 1.3  14-Aug-1995  mycroft Export bsd_to_linux_sig[], and use it.
 1.2  14-Aug-1995  mycroft Move signal types into signal.h.
 1.1  28-Feb-1995  fvdl Added Linux compat code.
 1.11.8.1  11-Feb-2001  bouyer Sync with HEAD.
 1.13.6.1  01-Oct-2001  fvdl Catch up with -current.
 1.13.4.4  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.13.4.3  16-Mar-2002  jdolecek Catch up with -current.
 1.13.4.2  11-Feb-2002  jdolecek Sync w/ -current.
 1.13.4.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.13.2.3  17-Apr-2002  nathanw Catch up to -current.
 1.13.2.2  28-Feb-2002  nathanw Catch up to -current.
 1.13.2.1  26-Sep-2001  nathanw Catch up to -current.
Again.
 1.19.10.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.19.10.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.19.10.2  18-Sep-2004  skrll Sync with HEAD.
 1.19.10.1  03-Aug-2004  skrll Sync with HEAD
 1.24.2.2  07-Dec-2007  yamt sync with head
 1.24.2.1  26-Feb-2007  yamt sync with head.
 1.25.20.1  24-Oct-2006  ad - Redo LWP locking slightly and fix some races.
- Fix some locking botches.
- Make signal mask / stack per-proc for SA processes.
- Add _lwp_kill().
 1.26.28.1  08-Dec-2007  ad Sync with head.
 1.26.26.1  08-Dec-2007  mjf Sync with HEAD.
 1.26.20.1  09-Jan-2008  matt sync with HEAD
 1.26.18.1  09-Dec-2007  jmcneill Sync with HEAD.
 1.27.16.3  20-Jun-2009  yamt sync with head
 1.27.16.2  04-May-2009  yamt sync with head.
 1.27.16.1  16-May-2008  yamt sync with head.
 1.27.14.1  18-May-2008  yamt sync with head.
 1.27.12.2  17-Jan-2009  mjf Sync with HEAD.
 1.27.12.1  02-Jun-2008  mjf Sync with HEAD.
 1.28.6.1  19-Oct-2008  haad Sync with HEAD.
 1.29.8.1  23-Jul-2009  jym Sync with HEAD.
 1.30.44.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.30.40.1  05-Feb-2017  skrll Sync with HEAD
 1.30.38.2  19-Apr-2017  snj Fix fallout from ticket #1354 by applying:
sys/compat/linux/common/linux_signal.h: revision 1.32
Provide a dummy linux_sigset_t for all architectures that do not have
any machdep one. This make kdump compile again.
 1.30.38.1  17-Apr-2017  snj Pull up following revision(s) (requested by manu in ticket #1354):
sys/compat/linux/arch/alpha/syscalls.master: revision 1.92 via patch
sys/compat/linux/arch/amd64/syscalls.master: revision 1.58 via patch
sys/compat/linux/arch/arm/syscalls.master: revision 1.65 via patch
sys/compat/linux/arch/i386/syscalls.master: revision 1.122 via patch
sys/compat/linux/arch/m68k/syscalls.master: revision 1.91 via patch
sys/compat/linux/arch/mips/syscalls.master: revision 1.61 via patch
sys/compat/linux/arch/powerpc/syscalls.master: revision 1.70 via patch
sys/compat/linux/common/linux_misc.c: revision 1.234
sys/compat/linux/common/linux_signal.h: revision 1.31
Add pselect6 Linux system call.
This lets Matlab R2016A run on NetBSD/amd64
 1.30.22.1  03-Dec-2017  jdolecek update from HEAD

RSS XML Feed