Home | History | Annotate | Download | only in common
History log of /src/sys/compat/linux/common/linux_mod.c
RevisionDateAuthorComments
 1.17  01-Oct-2024  riastradh sys/compat/linux/common: Nix trailing whitespace, and one blank line.

No functional change intended.
 1.16  01-Jul-2024  christos Add linux POSIX message queue support (Ricardo Branco)
 1.15  19-Aug-2023  christos branches: 1.15.6;
new inotify support GSoC 2023 (Theodore Preduta)
 1.14  26-Apr-2020  thorpej Add a NetBSD native futex implementation, mostly written by riastradh@.
Map the COMPAT_LINUX futex calls to the native ones.
 1.13  21-Mar-2020  pgoyette Deal with having to teardown sysctl entries in multiple sub-trees.

(This used to work, but I broke it recently.)
 1.12  16-Mar-2020  pgoyette 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.
 1.11  27-Jan-2019  pgoyette Merge the [pgoyette-compat] branch
 1.10  10-Dec-2017  kre branches: 1.10.2; 1.10.4;

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.
 1.9  08-Dec-2017  kre 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.)
 1.8  01-Dec-2017  joerg 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.
 1.7  29-Sep-2017  maxv 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.
 1.6  03-Dec-2015  pgoyette 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.
 1.5  10-Oct-2015  pgoyette Add an additional dependency on compat_sysv
 1.4  07-Mar-2014  christos branches: 1.4.4; 1.4.6;
c99 initializers for struct execsw
 1.3  19-Sep-2013  christos exec modules need to be of the exec kind
 1.2  14-Sep-2011  christos branches: 1.2.2; 1.2.12; 1.2.16;
Can't use RUN_ONCE here to initialize the futex_lock, otherwise we cannot
unload the module.
 1.1  19-Nov-2008  ad branches: 1.1.4; 1.1.6; 1.1.8; 1.1.12;
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
 1.1.12.2  04-May-2009  yamt sync with head.
 1.1.12.1  19-Nov-2008  yamt file linux_mod.c was added on branch yamt-nfs-mp on 2009-05-04 08:12:22 +0000
 1.1.8.2  19-Jan-2009  skrll Sync with HEAD.
 1.1.8.1  19-Nov-2008  skrll file linux_mod.c was added on branch nick-hppapmap on 2009-01-19 13:17:31 +0000
 1.1.6.2  17-Jan-2009  mjf Sync with HEAD.
 1.1.6.1  19-Nov-2008  mjf file linux_mod.c was added on branch mjf-devfs2 on 2009-01-17 13:28:44 +0000
 1.1.4.2  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.1.4.1  19-Nov-2008  haad file linux_mod.c was added on branch haad-dm on 2008-12-13 01:13:56 +0000
 1.2.16.1  18-May-2014  rmind sync with head
 1.2.12.2  03-Dec-2017  jdolecek update from HEAD
 1.2.12.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.2.1  22-May-2014  yamt 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")
 1.4.6.1  27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.4.4.2  17-Nov-2015  riz Revert ticket #1020, per pgoyette in ticket #1041.
 1.4.4.1  08-Nov-2015  riz 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.
 1.10.4.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.10.4.1  10-Jun-2019  christos Sync with HEAD
 1.10.2.4  24-Jan-2019  pgoyette Reduce the list of required modules to what is really needed
 1.10.2.3  18-Oct-2018  pgoyette Add a few more references to the (currently always but not forever)
built-in compat_util module
 1.10.2.2  19-Sep-2018  pgoyette Remove leading coma from list of required modules. It doesn't seem
to cause any real problems, but it makes modstat output look weird.
 1.10.2.1  12-Sep-2018  pgoyette Adjust module requirements to reflect the new more granular modules
 1.15.6.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed