git: ba61aa417a04 - main - u2f.4: Polish
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 19 Aug 2025 13:01:10 UTC
The branch main has been updated by ziaee:
URL: https://cgit.FreeBSD.org/src/commit/?id=ba61aa417a047c79122539ffb5b0075cbe8af0bf
commit ba61aa417a047c79122539ffb5b0075cbe8af0bf
Author: Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2025-08-19 12:59:18 +0000
Commit: Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2025-08-19 12:59:29 +0000
u2f.4: Polish
+ add USB to Nd for search results
+ convert SYNOPSIS to consistent style
+ add HARDWARE + tag SPDX
Fixes: 4a04e0a6c703 (a HID driver for FIDO/U2F security keys)
Reviewed by: wulf
Differential Revision: https://reviews.freebsd.org/D52000
---
share/man/man4/u2f.4 | 25 ++++++++++++++-----------
1 file changed, 14 insertions(+), 11 deletions(-)
diff --git a/share/man/man4/u2f.4 b/share/man/man4/u2f.4
index 7f0e076028db..4c51e140242e 100644
--- a/share/man/man4/u2f.4
+++ b/share/man/man4/u2f.4
@@ -1,3 +1,6 @@
+.\"
+.\" SPDX-License-Identifier: ISC
+.\"
.\" $OpenBSD: fido.4,v 1.4 2020/08/21 19:02:46 mglocker Exp $
.\"
.\" Copyright (c) 2019 Reyk Floeter <reyk@openbsd.org>
@@ -20,21 +23,17 @@
.Os
.Sh NAME
.Nm u2f
-.Nd FIDO/U2F security keys
+.Nd FIDO/U2F USB security keys
.Sh SYNOPSIS
-To compile this driver into the kernel,
-place the following line in your
-kernel configuration file:
-.Bd -ragged -offset indent
.Cd "device u2f"
-.Ed
.Pp
-Alternatively, to load the driver as a
-module at boot time, place the following line in
+In
.Xr loader.conf 5 :
-.Bd -literal -offset indent
-u2f_load="YES"
-.Ed
+.Cd u2f_load="YES"
+.Pp
+In
+.Xr sysctl.conf 5 :
+.Cd hw.hid.u2f.debug
.Sh DESCRIPTION
The
.Nm
@@ -53,6 +52,10 @@ operations of the generic
device but only accepts the optional HID
.Xr ioctl 2
calls from u2f group users.
+.Sh HARDWARE
+The
+.Nm
+driver supports FIDO/U2F-compatible USB security keys.
.Sh SYSCTL VARIABLES
The following variables are available as both
.Xr sysctl 8