git: 802da293bd5b - stable/13 - smbfs: caution against use in the manpage

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Sat, 09 Apr 2022 00:55:40 UTC
The branch stable/13 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=802da293bd5be064c2ecda76e5aa33e1a237bc1b

commit 802da293bd5be064c2ecda76e5aa33e1a237bc1b
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-04-06 18:25:37 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-04-09 00:55:30 +0000

    smbfs: caution against use in the manpage
    
    It supports only the obsolete SMBv1 protocol, is known to be buggy, and
    likely has security vulnerabilities.  It will either be updated or
    removed in the future, but for now at least describe the current state
    in the man page.
    
    PR:             263043
    MFC after:      3 days
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit 7c140ef034c33ab0b16b535f3d5f945dc8f71cb4)
---
 share/man/man5/smbfs.5 | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/share/man/man5/smbfs.5 b/share/man/man5/smbfs.5
index 5326d8192587..79eaa9b20b39 100644
--- a/share/man/man5/smbfs.5
+++ b/share/man/man5/smbfs.5
@@ -23,7 +23,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd April 8, 2020
+.Dd April 6, 2022
 .Dt SMBFS 5
 .Os
 .Sh NAME
@@ -46,6 +46,25 @@ smbfs_load="YES"
 .Sh DESCRIPTION
 The SMB driver is an implementation of the CIFS (Common Internet Filesystem)
 network protocol.
+.Pp
+.Bf -symbolic
+The
+.Nm
+filesystem driver supports only the obsolete SMBv1 protocol.
+.Nm
+has known bugs and likely has security vulnerabilities.
+.Nm
+and userspace counterparts
+.Xr smbutil 1
+and
+.Xr mount_smbfs 8
+may be removed from a future version of
+.Fx .
+Users are advised to evaluate the
+.Pa sysutils/fusefs-smbnetfs
+port instead.
+.Ef
+.Pp
 .Sh SEE ALSO
 .Xr smbutil 1 ,
 .Xr mount_smbfs 8