safe(4): add gone_in 16.0

Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D53426
This commit is contained in:
David E. O'Brien
2025-10-28 18:11:48 -07:00
parent 1821cf482f
commit 9b7d2cee03
2 changed files with 17 additions and 1 deletions
+15 -1
View File
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd November 22, 2024
.Dd October 31, 2025
.Dt SAFE 4
.Os
.Sh NAME
@@ -57,6 +57,11 @@ In
.Cd hw.safe.rngbufsize
.Cd hw.safe.rngmaxalarm
.Ed
.Sh DEPRECATION NOTICE
The
.Nm
driver is deprecated and is scheduled for removal in
.Fx 16.0 .
.Sh DESCRIPTION
The
.Nm
@@ -128,5 +133,14 @@ packet processing.
.Xr random 4 ,
.Xr crypto 7 ,
.Xr crypto 9
.Sh HISTORY
The
.Nm
driver first appeared in
.Fx 5.2 .
It is deprecated in
.Fx 15.0
and removed in
.Fx 16.0 .
.Sh BUGS
Public key support is not implemented.
+2
View File
@@ -424,6 +424,8 @@ safe_attach(device_t dev)
#ifdef SAFE_DEBUG
safec = sc; /* for use by hw.safe.dump */
#endif
gone_in(16, "%s(4) is deprecated in 15.0 and removed in 16.0\n",
safe_driver->name);
return (0);
bad4:
crypto_unregister_all(sc->sc_cid);