NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/60281 CVS commit: src/tests/crypto/opencrypto



The following reply was made to PR kern/60281; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/60281 CVS commit: src/tests/crypto/opencrypto
Date: Tue, 19 May 2026 15:57:52 +0000

 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.
 



Home | Main Index | Thread Index | Old Index