CVS commit: src/tests/crypto/opencrypto
"Taylor R Campbell" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: src Committed By: riastradh Date: Tue May 19 15:57:51 UTC 2026 Modified Files: src/tests/crypto/opencrypto: h_thread.c t_opencrypto.sh Log Message: crypto(4): Make test more reliable, and test more. 1. New thread to concurrently create and destroy sessions. (There should really be multiple threads to concurrently compete with each other to create and destroy sessions, but this is already surfacing more crashes, as I expected.) 2. Handle EBUSY in CIOCFSESSION in case there is a concurrent CIOCCRYPT, as we are trying to test. 3. Handle CIOCCRYPT failure if a concurrent CIOCFSESSION beat us to it, as we are trying to test 4. Dump core if the threads get stuck for too long. 5. Provide stack traces from the test program or rump server if they dump core. PR kern/60281: crypto(4): bugs in reference counting and test To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/crypto/opencrypto/h_thread.c cvs rdiff -u -r1.12 -r1.13 src/tests/crypto/opencrypto/t_opencrypto.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.