The NetBSD Project

CVS log for src/sys/compat/linux/common/linux_mod.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.15 / (download) - annotate - [select for diffs], Sat Aug 19 17:57:54 2023 UTC (7 months, 3 weeks ago) by christos
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.14: +9 -2 lines
Diff to previous 1.14 (colored)

new inotify support GSoC 2023 (Theodore Preduta)

Revision 1.14 / (download) - annotate - [select for diffs], Sun Apr 26 18:53:33 2020 UTC (3 years, 11 months ago) by thorpej
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, 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.13: +2 -5 lines
Diff to previous 1.13 (colored)

Add a NetBSD native futex implementation, mostly written by riastradh@.
Map the COMPAT_LINUX futex calls to the native ones.

Revision 1.10.4.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:00 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.10.4.1: +2 -5 lines
Diff to previous 1.10.4.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Merge changes from current as of 20200406

Revision 1.13 / (download) - annotate - [select for diffs], Sat Mar 21 16:28:56 2020 UTC (4 years ago) by pgoyette
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

Deal with having to teardown sysctl entries in multiple sub-trees.

(This used to work, but I broke it recently.)

Revision 1.12 / (download) - annotate - [select for diffs], Mon Mar 16 21:20:09 2020 UTC (4 years, 1 month ago) by pgoyette
Branch: MAIN
Changes since 1.11: +2 -6 lines
Diff to previous 1.11 (colored)

Use the module subsystem's ability to process SYSCTL_SETUP() entries to
automate installation of sysctl nodes.

Note that there are still a number of device and pseudo-device modules
that create entries tied to individual device units, rather than to the
module itself.  These are not changed.

Revision 1.10.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:00 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.10: +6 -4 lines
Diff to previous 1.10 (colored)

Sync with HEAD

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jan 27 02:08:40 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.10: +6 -4 lines
Diff to previous 1.10 (colored)

Merge the [pgoyette-compat] branch

Revision 1.10.2.4 / (download) - annotate - [select for diffs], Thu Jan 24 02:05:16 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.10.2.3: +3 -3 lines
Diff to previous 1.10.2.3 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Reduce the list of required modules to what is really needed

Revision 1.10.2.3 / (download) - annotate - [select for diffs], Thu Oct 18 22:09:56 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.10.2.2: +3 -3 lines
Diff to previous 1.10.2.2 (colored) to branchpoint 1.10 (colored)

Add a few more references to the (currently always but not forever)
built-in compat_util module

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Wed Sep 19 06:56:51 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.10.2.1: +3 -3 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored)

Remove leading coma from list of required modules.  It doesn't seem
to cause any real problems, but it makes modstat output look weird.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Wed Sep 12 07:45:56 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.10: +6 -4 lines
Diff to previous 1.10 (colored)

Adjust module requirements to reflect the new more granular modules

Revision 1.10 / (download) - annotate - [select for diffs], Sun Dec 10 00:43:05 2017 UTC (6 years, 4 months ago) by kre
Branch: MAIN
CVS Tags: phil-wifi-base, 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
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.9: +13 -7 lines
Diff to previous 1.9 (colored)


Finally (hopefully) return completely to the state where compat_linux is
enabled by default.

While here make it possible to enable this if already enabled, or disable
if already disabled, without error.   Some minor KNF.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Dec 8 15:31:13 2017 UTC (6 years, 4 months ago) by kre
Branch: MAIN
Changes since 1.8: +2 -3 lines
Diff to previous 1.8 (colored)


Finish the previous change - as well as setting the default for these
compat modules back to enabled, stop forcing it to switch back to
disabled any time the module is init'd (which is truly barbaric behaviour.)

Revision 1.2.12.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:55 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.2.12.1: +43 -13 lines
Diff to previous 1.2.12.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

update from HEAD

Revision 1.8 / (download) - annotate - [select for diffs], Fri Dec 1 22:14:52 2017 UTC (6 years, 4 months ago) by joerg
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Unbreak Linux emulation by default. While not loading it automatically
is somewhat sensible, breaking functionality of GENERIC is not and has
been objected to on a regular base.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Sep 29 17:08:00 2017 UTC (6 years, 6 months ago) by maxv
Branch: MAIN
Changes since 1.6: +43 -14 lines
Diff to previous 1.6 (colored)

Remove compat_linux from the autoload list, and add a sysctl to enable or
disable it - which defaults to disabled. The following command is now
required to use linux binaries:

	sysctl -w emul.linux.enabled=1

After a discussion on tech-kern@. All the other ideas to reduce the attack
surface have drawbacks, and this sysctl seems to be the best option.

Revision 1.4.6.1 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:47 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.4: +4 -3 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.6 / (download) - annotate - [select for diffs], Thu Dec 3 02:51:01 2015 UTC (8 years, 4 months ago) by pgoyette
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, 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, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Merge the compat_sysv module into the sysv_ipc module - it should
never have been a separate module in the first place (my bad).

Adjust dependencies as appropriate.

Revision 1.4.4.2 / (download) - annotate - [select for diffs], Tue Nov 17 19:18:19 2015 UTC (8 years, 5 months ago) by riz
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, 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
Changes since 1.4.4.1: +1 -2 lines
Diff to previous 1.4.4.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Revert ticket #1020, per pgoyette in ticket #1041.

Revision 1.4.4.1 / (download) - annotate - [select for diffs], Sun Nov 8 02:02:37 2015 UTC (8 years, 5 months ago) by riz
Branch: netbsd-7
Changes since 1.4: +4 -3 lines
Diff to previous 1.4 (colored)

Pull up following revision(s) (requested by pgoyette in ticket #1020):
	sys/compat/netbsd32/netbsd32_mod.c: revision 1.6
	sys/compat/netbsd32/netbsd32_mod.c: revision 1.7
	sys/compat/netbsd32/netbsd32_mod.c: revision 1.8
	sys/compat/netbsd32/netbsd32_mod.c: revision 1.9
	sys/compat/linux/common/linux_mod.c: revision 1.5
Add an additional dependency on compat_sysv
Add another dependency for nfsserver
And yet another dependency, this time on mq
Ooops, spell the module name in full. "mqueue" vs "mq"
we need compat_sysv now.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Oct 10 04:28:04 2015 UTC (8 years, 6 months ago) by pgoyette
Branch: MAIN
Changes since 1.4: +4 -3 lines
Diff to previous 1.4 (colored)

Add an additional dependency on compat_sysv

Revision 1.2.12.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:32 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.2: +45 -33 lines
Diff to previous 1.2 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:40:16 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2: +45 -33 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.2.16.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:32 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.2: +45 -33 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

sync with head

Revision 1.4 / (download) - annotate - [select for diffs], Fri Mar 7 01:33:43 2014 UTC (10 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-base, 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
Branch point for: nick-nhusb, netbsd-7
Changes since 1.3: +44 -32 lines
Diff to previous 1.3 (colored)

c99 initializers for struct execsw

Revision 1.3 / (download) - annotate - [select for diffs], Thu Sep 19 18:50:35 2013 UTC (10 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

exec modules need to be of the exec kind

Revision 1.2 / (download) - annotate - [select for diffs], Wed Sep 14 12:28:08 2011 UTC (12 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Changes since 1.1: +7 -3 lines
Diff to previous 1.1 (colored)

Can't use RUN_ONCE here to initialize the futex_lock, otherwise we cannot
unload the module.

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

sync with head.

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

Sync with HEAD.

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

Sync with HEAD.

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

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

Revision 1.1.12.1, Wed Nov 19 18:36:03 2008 UTC (15 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1: +0 -131 lines
FILE REMOVED

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

Revision 1.1.8.1, Wed Nov 19 18:36:03 2008 UTC (15 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.1: +0 -131 lines
FILE REMOVED

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

Revision 1.1.6.1, Wed Nov 19 18:36:03 2008 UTC (15 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.1: +0 -131 lines
FILE REMOVED

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

Revision 1.1.4.1, Wed Nov 19 18:36:03 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.1: +0 -131 lines
FILE REMOVED

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

Revision 1.1 / (download) - annotate - [select for diffs], Wed Nov 19 18:36:03 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: 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, mjf-devfs2-base, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jruoho-x86intr, 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-nfs-mp, nick-hppapmap, mjf-devfs2, haad-dm

Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime

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>