commit | 066bf56807c26cd3045a25f355b34c1d8a20a5aa | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Mon Aug 19 11:34:03 2019 +0100 |
committer | David Howells <dhowells@redhat.com> | Mon Aug 19 15:38:14 2019 +0100 |
tree | 86959378e0e08ce4d2ccd6bb8d85a2680475cfa8 | |
parent | dc12d37cb28388f722644e5484a34eadc5976e4b [diff] |
test: Test all possible type, description and payload lengths to add_key Test all possible type, description and payload lengths to add_key() to make sure that the kernel doesn't crash when handling them. The bulk of this test is implemented in C in the keyctl command so that it completes in a reasonable amount of time (testing over a million different sizes of payload from shell script is just too slow). Signed-off-by: David Howells <dhowells@redhat.com>