diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2025-10-29 01:11:48 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2025-11-07 20:04:44 +0000 |
| commit | 9b7d2cee03e5d0b0723718047d4bc388d0745591 (patch) | |
| tree | 67471bbc2104d80834a3dbe0f0327832ab7f5c27 | |
| parent | 1821cf482ff128b08bd65807e1f7aad7eb873e0b (diff) | |
safe(4): add gone_in 16.0
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D53426
| -rw-r--r-- | share/man/man4/safe.4 | 16 | ||||
| -rw-r--r-- | sys/dev/safe/safe.c | 2 |
2 files changed, 17 insertions, 1 deletions
diff --git a/share/man/man4/safe.4 b/share/man/man4/safe.4 index 89375d058bf7..914b2dd0dd1c 100644 --- a/share/man/man4/safe.4 +++ b/share/man/man4/safe.4 @@ -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. diff --git a/sys/dev/safe/safe.c b/sys/dev/safe/safe.c index c512f3fc62c0..569bbe51e125 100644 --- a/sys/dev/safe/safe.c +++ b/sys/dev/safe/safe.c @@ -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); |
