#
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
|
Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
|
#
1.14 |
|
21-Apr-2019 |
maya |
wether -> whether
|
#
1.13 |
|
27-Jan-2019 |
pgoyette |
Merge the [pgoyette-compat] branch
|
Revision tags: netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base
|
#
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.
|
Revision tags: yamt-pagecache-base5
|
#
1.9 |
|
17-Apr-2012 |
jruoho |
Avoid zero-length format string.
|
Revision tags: yamt-pagecache-base4
|
#
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.
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
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.
|
Revision tags: matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
|
#
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.
|
Revision tags: netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 yamt-pf42-base wrstuden-revivesa-base
|
#
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.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
|
Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
|
#
1.14 |
|
21-Apr-2019 |
maya |
wether -> whether
|
#
1.13 |
|
27-Jan-2019 |
pgoyette |
Merge the [pgoyette-compat] branch
|
Revision tags: netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base
|
#
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.
|
Revision tags: yamt-pagecache-base5
|
#
1.9 |
|
17-Apr-2012 |
jruoho |
Avoid zero-length format string.
|
Revision tags: yamt-pagecache-base4
|
#
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.
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
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.
|
Revision tags: matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
|
#
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.
|
Revision tags: netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 yamt-pf42-base wrstuden-revivesa-base
|
#
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.14 |
|
21-Apr-2019 |
maya |
wether -> whether
|
#
1.13 |
|
27-Jan-2019 |
pgoyette |
Merge the [pgoyette-compat] branch
|
Revision tags: netbsd-8-1-RC1 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base
|
#
1.12 |
|
20-Aug-2012 |
martin |
branches: 1.12.30; 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.
|
Revision tags: yamt-pagecache-base5
|
#
1.9 |
|
17-Apr-2012 |
jruoho |
Avoid zero-length format string.
|
Revision tags: yamt-pagecache-base4
|
#
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.
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
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.
|
Revision tags: matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
|
#
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.
|
Revision tags: netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 yamt-pf42-base wrstuden-revivesa-base
|
#
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).
|