Home | History | Annotate | only in /src/tests/sbin/sysctl
History log of /src/tests/sbin/sysctl
RevisionDateAuthorComments
 1.3 27-Jun-2020  jruoho Add a simple test case that writes random garbage to (almost) every sysctl node.
This test reproduced already at least five unique panics in a few quick runs.
The test is skipped by default as it is not likely safe even without the panics.
 1.2 10-Apr-2012  jruoho Test that sysctl(8) does not segfault, as reported by pgoyette@ on current
users.
 1.1 09-May-2011  jruoho branches: 1.1.4;
Add a test case for PR kern/44946. This tests that common first level sysctl
nodes (ddb, hw, machdep, etc.) are not writable by a normal user.
 1.1.4.1 17-Apr-2012  yamt sync with head
 1.7 17-Jun-2016  pgoyette When deadbeef is treated as a 32-bit signed integer, it actually has a
negative value. So, if the value gets written into a sysctl variable,
and then is read back, the twos-complement value is displayed.

So, when checking for the value having been written, make sure we check
for the correct value!
 1.6 18-Mar-2012  jruoho Move more PR references from comments to ATF's "descr".
 1.5 12-Mar-2012  jruoho Remove xfail, as PR kern/44946 was fixed.
 1.4 11-May-2011  njoly branches: 1.4.4;
Remove shebang lines from test-script sources; avoids duplicate with
the build process which adds one too.
 1.3 11-May-2011  jruoho Do also a small functional verification that user did not succeed in writing
garbage values, even if sysctl(8) reported a failure.
 1.2 09-May-2011  jruoho Add one missing cleanup routine declaration.
 1.1 09-May-2011  jruoho Add a test case for PR kern/44946. This tests that common first level sysctl
nodes (ddb, hw, machdep, etc.) are not writable by a normal user.
 1.4.4.1 17-Apr-2012  yamt sync with head
 1.4 27-Jul-2020  jruoho Use the new "run_unsafe" atf_config_get() option also with a couple of other
tests that are known to be unsafe.
 1.3 03-Jul-2020  jruoho Skip these also for Qemu runs as they cause panics. Point to PR kern/55451.
 1.2 30-Jun-2020  jruoho Skip a few more nodes, and enable this test for Qemu runs.
 1.1 27-Jun-2020  jruoho Add a simple test case that writes random garbage to (almost) every sysctl node.
This test reproduced already at least five unique panics in a few quick runs.
The test is skipped by default as it is not likely safe even without the panics.
 1.2 16-May-2014  palle Added test of -d option to sysctl
 1.1 10-Apr-2012  jruoho branches: 1.1.2; 1.1.4; 1.1.10;
Test that sysctl(8) does not segfault, as reported by pgoyette@ on current
users.
 1.1.10.1 10-Aug-2014  tls Rebase.
 1.1.4.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.2.2 17-Apr-2012  yamt sync with head
 1.1.2.1 10-Apr-2012  yamt file t_sysctl.sh was added on branch yamt-pagecache on 2012-04-17 00:09:16 +0000

RSS XML Feed