CVS commit: src

"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:58:37 UTC 2026

Modified Files:
	src/sys/opencrypto: cryptodev.c cryptosoft.c
	src/sys/rump/dev/lib/libopencrypto: OPENCRYPTO.ioconf
	    opencrypto_component.c
	src/tests/crypto/opencrypto: t_opencrypto.sh

Log Message:
crypto(4): Disentangle initialization and attachment goo.

Lotta unnecessary boilerplate deleted here!

Disable module unloading: can't be done safely.  Explain precisely
why it can't be done safely.

This also fixes annoying `crypto: unable to register devsw, error 17'
messages in rump dmesg by having exactly one path to devsw_attach.

PR kern/60281: crypto(4): bugs in reference counting and test


To generate a diff of this commit:
cvs rdiff -u -r1.130 -r1.131 src/sys/opencrypto/cryptodev.c
cvs rdiff -u -r1.66 -r1.67 src/sys/opencrypto/cryptosoft.c
cvs rdiff -u -r1.1 -r1.2 src/sys/rump/dev/lib/libopencrypto/OPENCRYPTO.ioconf
cvs rdiff -u -r1.6 -r1.7 \
    src/sys/rump/dev/lib/libopencrypto/opencrypto_component.c
cvs rdiff -u -r1.13 -r1.14 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.