The NetBSD Project

CVS log for src/sys/compat/common/kern_sig_16.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / compat / common

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.8 / (download) - annotate - [select for diffs], Thu Dec 2 04:26:09 2021 UTC (2 years, 4 months ago) by ryo
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.7: +5 -3 lines
Diff to previous 1.7 (colored)

don't call MODULE_HOOK_SET(), if exec_sigcode_alloc() fails.

Revision 1.7 / (download) - annotate - [selected], Fri Nov 26 08:06:11 2021 UTC (2 years, 4 months ago) by ryo
Branch: MAIN
Changes since 1.6: +11 -8 lines
Diff to previous 1.6 (colored)

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.

Revision 1.6 / (download) - annotate - [select for diffs], Sat May 23 23:42:41 2020 UTC (3 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored) to selected 1.7 (colored)

Move proc_lock into the data segment.  It was dynamically allocated because
at the time we had mutex_obj_alloc() but not __cacheline_aligned.

Revision 1.2.40.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:14 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.2.40.1: +6 -5 lines
Diff to previous 1.2.40.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.7 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.5 / (download) - annotate - [select for diffs], Thu Dec 12 02:15:42 2019 UTC (4 years, 4 months ago) by pgoyette
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.4: +3 -4 lines
Diff to previous 1.4 (colored) to selected 1.7 (colored)

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 !

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Mon Nov 11 17:11:07 2019 UTC (4 years, 5 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.3: +7 -5 lines
Diff to previous 1.3 (colored) next main 1.4 (colored) to selected 1.7 (colored)

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.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Nov 10 13:28:06 2019 UTC (4 years, 5 months ago) by pgoyette
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.3: +7 -5 lines
Diff to previous 1.3 (colored) to selected 1.7 (colored)

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

Revision 1.2.40.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:58 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.2: +103 -2 lines
Diff to previous 1.2 (colored) to selected 1.7 (colored)

Sync with HEAD

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jan 27 02:08:39 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.2: +103 -2 lines
Diff to previous 1.2 (colored) to selected 1.7 (colored)

Merge the [pgoyette-compat] branch

Revision 1.2.38.4 / (download) - annotate - [select for diffs], Sat Sep 22 04:56:28 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.2.38.3: +6 -2 lines
Diff to previous 1.2.38.3 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.7 (colored)

#include "opt_compat_netbsd.h" for all sources that provide compat code.

Revision 1.2.38.3 / (download) - annotate - [select for diffs], Fri May 4 08:19:47 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2.38.2: +3 -2 lines
Diff to previous 1.2.38.2 (colored) to branchpoint 1.2 (colored) to selected 1.7 (colored)

Add comment to note that compat_16_sigreturn14 is in MD code!

Revision 1.2.38.2 / (download) - annotate - [select for diffs], Tue Apr 17 07:24:55 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2.38.1: +6 -2 lines
Diff to previous 1.2.38.1 (colored) to branchpoint 1.2 (colored) to selected 1.7 (colored)

Finish separating the compat_09 and compat_43 stuff

Revision 1.2.38.1 / (download) - annotate - [select for diffs], Fri Mar 30 05:35:47 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2: +94 -2 lines
Diff to previous 1.2 (colored) to selected 1.7 (colored)

Create and build a compat_16 module

Revision 1.1.24.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:14 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.1: +4 -6 lines
Diff to previous 1.1 (colored) next main 1.2 (colored) to selected 1.7 (colored)

sync with head

Revision 1.1.28.1 / (download) - annotate - [select for diffs], Fri Feb 24 09:11:38 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.1: +4 -6 lines
Diff to previous 1.1 (colored) next main 1.2 (colored) to selected 1.7 (colored)

sync to -current.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Feb 19 21:06:36 2012 UTC (12 years, 2 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base-20171202, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base10, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.1: +4 -6 lines
Diff to previous 1.1 (colored) to selected 1.7 (colored)

Remove COMPAT_SA / KERN_SA.  Welcome to 6.99.3!
Approved by core@.

Revision 1.1.12.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:17 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.12.1: +111 -0 lines
Diff to previous 1.1.12.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.7 (colored)

sync with head.

Revision 1.1.8.2 / (download) - annotate - [select for diffs], Mon Jan 19 13:17:17 2009 UTC (15 years, 3 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.1.8.1: +111 -0 lines
Diff to previous 1.1.8.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.7 (colored)

Sync with HEAD.

Revision 1.1.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:41 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.1.6.1: +111 -0 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.7 (colored)

Sync with HEAD.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:47 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.1.4.1: +111 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.7 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.1.12.1, Fri Nov 14 23:10:57 2008 UTC (15 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1: +0 -111 lines
FILE REMOVED

file kern_sig_16.c was added on branch yamt-nfs-mp on 2009-05-04 08:12:17 +0000

Revision 1.1.8.1, Fri Nov 14 23:10:57 2008 UTC (15 years, 5 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.1: +0 -111 lines
FILE REMOVED

file kern_sig_16.c was added on branch nick-hppapmap on 2009-01-19 13:17:17 +0000

Revision 1.1.6.1, Fri Nov 14 23:10:57 2008 UTC (15 years, 5 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.1: +0 -111 lines
FILE REMOVED

file kern_sig_16.c was added on branch mjf-devfs2 on 2009-01-17 13:28:41 +0000

Revision 1.1.4.1, Fri Nov 14 23:10:57 2008 UTC (15 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.1: +0 -111 lines
FILE REMOVED

file kern_sig_16.c was added on branch haad-dm on 2008-12-13 01:13:47 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Fri Nov 14 23:10:57 2008 UTC (15 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, mjf-devfs2-base, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, haad-nbase2, haad-dm-base2, haad-dm-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-pagecache, yamt-nfs-mp, nick-hppapmap, mjf-devfs2, jmcneill-usbmp, haad-dm
Diff to selected 1.7 (colored)

- 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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>