From nobody Fri Mar 07 20:16:46 2025 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Z8cy66jBrz5q5lk; Fri, 07 Mar 2025 20:16:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Z8cy65sg7z47CX; Fri, 07 Mar 2025 20:16:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1741378606; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JzwT/m7PxA3gBQpXY7Nf5R9JCJN0NYeOicEceXwriSs=; b=cSGpOiE2cU9OXd4GAxVwo6Kxt1gcGWheKAMyBOrJ+Qzye4RWB2qNFA8+i+//l/H8IOdGhv X4pA7OTcbpOmGvuasfD7E5hCoVjXQKiqyBhLMcdkp0TMs7osZq+dYGqnepjNdE+O1BFo9r HKwKW4XXsinKKoyNR7QtMM/o60Mf/GsamHuByyeOvbJXZjApF0xrCwfYwXk4AguAlpSpFj 3ovnqwSA7ZDmJfBUFzut0fN/QTnCc3FMJ+9sZFHi+iLaecs6Cv98Jrrma4Ui2WmN0+pQj5 QUEUmM0d6ZR2qtus6NpuCCvP89zuLkHclW4WmPm4koYDnMcw2XmTACc3b6BMHA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1741378606; a=rsa-sha256; cv=none; b=J1k+x24QRLCMeXDlPGFyRoLfwDAg4WRZJ58QS5Z28xFkQ2X7uq6LMBmKAZRDJ40x29gQ6m QtPMtUeef1aP4QkFJrL8cCQV671/MuKe4LtQ7MJkMZbqDm0xYRkbvkBkCbyeTxVeC31GGJ EIHZMWDIRyQM4MlNkLEtskhm4N/mYmMdSnWnbkoj9BAszeykcGkuhVOVQ55zbF7Lx/dmIA pEwdt8uqk3GjTlmrgAFcgBBdozTHADLTV4g5OFYBmmTyd5E8Y6Gsuw2F8qNKYuHshUtGFZ afI6yAs2+6Ua9f/QR+QFI7/ncv+6JCt0tsXIpwc2xt0cz+5wExAMOq6otFivZw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1741378606; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JzwT/m7PxA3gBQpXY7Nf5R9JCJN0NYeOicEceXwriSs=; b=SzUDwrpoN4WLXdt0WmJiJ9tBcYcO0Tb8HTxnfkw1tSvv77RdKX0SRXiBd/V3IiXjxbQbbw mMHaUqYdjykWpVlXIQ+/HSvX6L7x3GvlTCtzFwcW8yfaV6pvF8CMXqZn3kMgp3VM2mskkL fz158YUJ9slfhj0By+Ujccdb09NlbBiitzpZPamRlbvfUC1ter4I5CLfywjaYizR29kZ+e Cly4l4gn0zmCDe90Rl+JtYPZe+3+JKjievp2CPDXx7o4ndfYqnXIYPFea8n4bXYMvd45LE 7fsMek8SFwDWx/RuGjP/bn1y2pvPmWPVBsPLv3AlQ88vnhXaaBVyVjEfp0JuxQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Z8cy65Sm0zrqK; Fri, 07 Mar 2025 20:16:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 527KGk1G047822; Fri, 7 Mar 2025 20:16:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 527KGkJi047819; Fri, 7 Mar 2025 20:16:46 GMT (envelope-from git) Date: Fri, 7 Mar 2025 20:16:46 GMT Message-Id: <202503072016.527KGkJi047819@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alexander Ziaee Subject: git: 780a4667bbde - main - wg.4: Document kernel config option List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ziaee X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 780a4667bbde0daa90db900bb0f93f6337d6208b Auto-Submitted: auto-generated The branch main has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=780a4667bbde0daa90db900bb0f93f6337d6208b commit 780a4667bbde0daa90db900bb0f93f6337d6208b Author: Lexi Winter AuthorDate: 2025-02-12 12:18:15 +0000 Commit: Alexander Ziaee CommitDate: 2025-03-07 20:15:40 +0000 wg.4: Document kernel config option wg(4) can be compiled into the kernel (device wg), but the wg.4 manpage does not document this. Adjust it to mention this like other drivers do. MFC after: 3 days Reviewed by: carlavilla, kevans, ziaee Approved by: carlavilla (mentor) Pull Request: https://github.com/freebsd/freebsd-src/pull/1597 --- share/man/man4/wg.4 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/share/man/man4/wg.4 b/share/man/man4/wg.4 index 2f758c2a8e11..8e2fcfe6b863 100644 --- a/share/man/man4/wg.4 +++ b/share/man/man4/wg.4 @@ -23,14 +23,21 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd June 12, 2023 +.Dd February 12, 2025 .Dt WG 4 .Os .Sh NAME .Nm wg .Nd "WireGuard protocol driver" .Sh SYNOPSIS -To load the driver as a module at boot time, place the following line in +To compile this driver into the kernel, +place the following lines in your kernel configuration file: +.Bd -ragged -offset indent +.Cd "device wg" +.Ed +.Pp +Alternatively, to load the driver as a module at boot time, +place the following line in .Xr loader.conf 5 : .Bd -literal -offset indent if_wg_load="YES"