Home | History | Annotate | Download | only in modules
History log of /src/tests/modules/t_modctl.c
RevisionDateAuthorComments
 1.16  22-Feb-2020  pgoyette Update the t_modctl test to ensure that static evcnts are added.

While here, remove the explicit call to sysctl_setup() routine,
since the module infrastructure already invokes such routines
automatically.
 1.15  22-Feb-2020  kamil Avoid undefined behavior in get_modstat_info

t_modctl.c:114:16, member access within misaligned address 0x71bf5bcede84
for type 'struct modstat_t'

t_modctl.c:116:13, load of misaligned address 0x7e81bc3c9104 for type
'struct modstat_t' which requires 8 byte alignment
 1.14  21-Apr-2019  maya wether -> whether
 1.13  27-Jan-2019  pgoyette Merge the [pgoyette-compat] branch
 1.12  20-Aug-2012  martin branches: 1.12.30; 1.12.32;
Fix stupid thinko when checking for the availability of options MODULAR
and permission to load modules.
 1.11  19-Aug-2012  martin Be more verbose if we get unexpected error codes from modctl.
 1.10  13-Aug-2012  martin Make use of the new MODCTL_EXISTS check to query kernel wether (and why
not) we can load modules.
 1.9  17-Apr-2012  jruoho Avoid zero-length format string.
 1.8  15-Mar-2012  joerg Add __printflike attribution to use vprintf and friends with an argument
as format string.
 1.7  13-Mar-2012  jruoho A modctl(MODCTL_STAT, ...) always succeeds, even in non-modular kernels such
as Xen domUs. Thus, refactor the code to detect non-modular kernels; when the
other operations (MODCTL_LOAD or MODCTL_UNLOAD) fail specifically with ENOSYS,
this is taken as a hint about non-modularity and the test is skipped.
 1.6  11-Mar-2012  jruoho Skip the tests even if modctl(2) does not fail specifically with ENOSYS.
 1.5  03-Nov-2010  christos branches: 1.5.6;
add Makefile.inc everywhere so that we can set WARNS=4 by default. Amazing
how many bugs this found :-)
 1.4  21-Aug-2010  pgoyette Add a new atf test-case to check that recursive module calls actually work.
 1.3  04-Jan-2009  jmmv Kernel modules (kmod files) are now installed in a subdirectory per module.
Make these tests aware of this so that they work again.
 1.2  02-May-2008  ad branches: 1.2.4; 1.2.8;
- Add a bsd.kmodule.mk to build new style modules.
- Set the file suffix to .kmod
 1.1  01-May-2008  jmmv Convert NetBSD-specific tests that were previously written in C++ to C now
that ATF provides a C-only binding (comes with 0.5).
 1.2.8.1  09-Jan-2009  snj Pull up following revision(s) (requested by jmmv in ticket #234):
tests/modules/t_modctl.c: revision 1.3
tests/modules/t_modload.sh: revision 1.4
Kernel modules (kmod files) are now installed in a subdirectory per module.
Make these tests aware of this so that they work again.
 1.2.4.2  18-May-2008  yamt sync with head.
 1.2.4.1  02-May-2008  yamt file t_modctl.c was added on branch yamt-pf42 on 2008-05-18 12:36:01 +0000
 1.5.6.3  30-Oct-2012  yamt sync with head
 1.5.6.2  23-May-2012  yamt sync with head.
 1.5.6.1  17-Apr-2012  yamt sync with head
 1.12.32.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.12.32.1  10-Jun-2019  christos Sync with HEAD
 1.12.30.1  05-Sep-2018  pgoyette Update the check for module existence via modctl(3) to use the new
format of returned data.

RSS XML Feed