Home | History | Annotate | Download | only in common
History log of /src/sys/compat/common/kern_sig_16.c
RevisionDateAuthorComments
 1.10  10-Dec-2024  mlelstv It's __aarch64__, not __arch64__.
 1.9  22-Nov-2024  mlelstv Crude patch to allow building and loading of compat_16 and compat_netbsd32_16 code
on aarch64.
 1.8  02-Dec-2021  ryo branches: 1.8.10;
don't call MODULE_HOOK_SET(), if exec_sigcode_alloc() fails.
 1.7  26-Nov-2021  ryo Fix anonymous memory object leak for sigcode.

- Repeating "modload compat_linux && /emul/linux/bin/ls && modunload compat_linux"
will reproduce this problem.
- It cause in exec_sigcode_map(), anon-object for sigcode was created at
first exec, but it remained even after exec_remove.
- Fixed that the anon-object for sigcode is created at exec_add(), and the
anon-object reference is removed at exec_remove().
- sigobject_lock is no longer needed since it is locked by exec_lock.
- The compat_16 module rewrites the e_sigcode entry in emul_netbsd directly and
does not use exec_add()/exec_remove(), so it needs to call
sigcode_alloc()/sigcode_free() on its own.
 1.6  23-May-2020  ad Move proc_lock into the data segment. It was dynamically allocated because
at the time we had mutex_obj_alloc() but not __cacheline_aligned.
 1.5  12-Dec-2019  pgoyette Rather than keeping a separate mutex, condvar, and pserialize for each
module hook, we can share a common set of synchronization structures.
This cuts the amount of cacheline_aligned data for these structures by
50%.

Note that we still have a per-hook localcount, since we need to count
individual references.

As discussed with riastradh@

Welcome to 9.99.22 !
 1.4  10-Nov-2019  pgoyette Convert the sendsig_sigcontext_16 function pointer to use the new
compat_hook mechanism.

XXX Despite being a kernel<-->module abi change, this should be
XXX pulled up to -9
 1.3  27-Jan-2019  pgoyette branches: 1.3.4;
Merge the [pgoyette-compat] branch
 1.2  19-Feb-2012  rmind branches: 1.2.38; 1.2.40;
Remove COMPAT_SA / KERN_SA. Welcome to 6.99.3!
Approved by core@.
 1.1  14-Nov-2008  ad branches: 1.1.4; 1.1.6; 1.1.8; 1.1.12; 1.1.24; 1.1.28;
- Move some more compat code into sys/compat.
- Split 4.3BSD ifioctl stuff into its own file.
- Remove some ifdefs that include small fragments of vfs compat code
which are difficult to relocate elsewhere.
 1.1.28.1  24-Feb-2012  mrg sync to -current.
 1.1.24.1  17-Apr-2012  yamt sync with head
 1.1.12.2  04-May-2009  yamt sync with head.
 1.1.12.1  14-Nov-2008  yamt file kern_sig_16.c was added on branch yamt-nfs-mp on 2009-05-04 08:12:17 +0000
 1.1.8.2  19-Jan-2009  skrll Sync with HEAD.
 1.1.8.1  14-Nov-2008  skrll file kern_sig_16.c was added on branch nick-hppapmap on 2009-01-19 13:17:17 +0000
 1.1.6.2  17-Jan-2009  mjf Sync with HEAD.
 1.1.6.1  14-Nov-2008  mjf file kern_sig_16.c was added on branch mjf-devfs2 on 2009-01-17 13:28:41 +0000
 1.1.4.2  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.1.4.1  14-Nov-2008  haad file kern_sig_16.c was added on branch haad-dm on 2008-12-13 01:13:47 +0000
 1.2.40.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.2.40.1  10-Jun-2019  christos Sync with HEAD
 1.2.38.4  22-Sep-2018  pgoyette #include "opt_compat_netbsd.h" for all sources that provide compat code.
 1.2.38.3  04-May-2018  pgoyette Add comment to note that compat_16_sigreturn14 is in MD code!
 1.2.38.2  17-Apr-2018  pgoyette Finish separating the compat_09 and compat_43 stuff
 1.2.38.1  30-Mar-2018  pgoyette Create and build a compat_16 module
 1.3.4.1  11-Nov-2019  martin Pull up following revision(s) (requested by pgoyette in ticket #413):

sys/kern/kern_core.c: revision 1.27 (patch)
sys/kern/kern_sig.c: revision 1.377 (patch)
sys/kern/kern_sig.c: revision 1.378 (patch)
sys/kern/sys_sig.c: revision 1.50
sys/kern/sys_ptrace_common.c: revision 1.70
sys/kern/compat_stub.c: revision 1.16
sys/compat/common/kern_sig_16.c: revision 1.4
sys/kern/compat_stub.c: revision 1.17
sys/sys/compat_stub.h: revision 1.20
sys/sys/signalvar.h: revision 1.98
sys/sys/compat_stub.h: revision 1.21
sys/sys/signalvar.h: revision 1.99

Convert the sendsig_sigcontext_16 function pointer to use the new
compat_hook mechanism.
XXX Despite being a kernel<-->module abi change, this should be
XXX pulled up to -9

-

Convert the coredump_vec modular function pointer to use the new
compat_hook mechanism.
XXX Should be pulled up to -9 despite the kernel <--> module ABI
XXX change.
 1.8.10.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed