From nobody Fri Apr 10 18:31:22 2026 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 4fslkM1tLkz6YBMs for ; Fri, 10 Apr 2026 18:31:23 +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 "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fslkL4Vtlz42bq for ; Fri, 10 Apr 2026 18:31:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1775845882; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2/xtP9y7EWWPTP9sAn38YCD7RP0AcTzKF3K/D5iugcA=; b=BOmpiVHtKeosD2d6xz/Xw4owZP6VSnulQUHgUVLbTB4Y6xSIomDO0k6/5oxOgEFE1ZIVOm rJR5rKZALrwobHkM5DzZKyR1xxDkd0t/JYSSQS5oskCO+hNaMsa91F6OptPB9s4wrlhpAQ +U3vZ7Vj6rSJZf5fPPiz6lnTLDYXOUd3z5Ush0BQ0ttpMP3tx1iOYOHpeOeRrVlLA4HFxd GfTDErqweU5mk2vxV57QXHz5xx30opJVYTfZyDiuFhRmWUBsQh83TNulOid95gICDjYu0R gl+VbJWpp4U+z0OBvQI4bAwHLGKrsNETOVkVCFobr1nAJnxCXo9cnPw+RblkQA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1775845882; a=rsa-sha256; cv=none; b=uOPb4Z2wa72IFV1mzmfcnV16fiByeyBes/w6MPNAfacSAS1hIzaemCg1Dwao6A0blcVq4e nJFD6JYY3Dh+NkU3mDxpd/QORiwMoHFyP0FRBKScXMSdaw7NxeLtHSw5b1YdGugPNrljiO UUDWdsMuc7bCt2402a5ZyzpxVaxqN5SbaNtLczjDXQojH/oJKtwdvKh4Z2fPZbykXX4ubR CJg45onun3rLdRCgNkKXNpskmZ4tMzYjGYdNINiY1aAcYNk1y2G1ygxzIPKADetwHALDlp N62osXAvsA4aKmluHJaaRXvb7momzBfHGzEU7lX/v9S4Yfb4Ln+x9q8uu1dfxQ== 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=1775845882; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2/xtP9y7EWWPTP9sAn38YCD7RP0AcTzKF3K/D5iugcA=; b=HUs+fVcMm/6L7+ztVTwMp5Z3FRX/UL9R9eZD1WT/oW8jmJZPpYzpul+gv/8vymZ6JnZjuk PHTIDi7Orgu3W2pj2NrOU/fRPcxuzJh4gmXpBedXhhBw8Kq79Df0IKaP8SeElMTx+V+0L8 kQNU6tDJl7+UvMlCYX/ZbEO2id3/3AkV6ED02uZlcPbGdpP2sKUkgp+ws57AQ+Bisf6vYV 7kha9N2vqODi6wgki1lBBnNoHamQgAFQ1l/J/XrQDXucxQT+aWWVfZkrPKYTVZkoFQrEdh 7yV7LS1kLZ96bnpBWk2CXuowVHwanlrTEjN499+sr7HXl9wmrY4qTGanCL/J7Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fslkL3wH2zvfb for ; Fri, 10 Apr 2026 18:31:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 38cc0 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 10 Apr 2026 18:31:22 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Artem Bunichev From: Alexander Ziaee Subject: git: 2ba48ee1ec83 - stable/15 - kldload.2: Provide more info about file argument 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/stable/15 X-Git-Reftype: branch X-Git-Commit: 2ba48ee1ec83b72388ae59cf9e2bc7d6eedbb27c Auto-Submitted: auto-generated Date: Fri, 10 Apr 2026 18:31:22 +0000 Message-Id: <69d941fa.38cc0.18223697@gitrepo.freebsd.org> The branch stable/15 has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=2ba48ee1ec83b72388ae59cf9e2bc7d6eedbb27c commit 2ba48ee1ec83b72388ae59cf9e2bc7d6eedbb27c Author: Artem Bunichev AuthorDate: 2026-03-26 13:11:26 +0000 Commit: Alexander Ziaee CommitDate: 2026-04-10 18:29:36 +0000 kldload.2: Provide more info about file argument The information is basically taken from kldload(8). Reviewed by: kib, ziaee Differential Revision: https://reviews.freebsd.org/D55170 (cherry picked from commit 1e2c9bcc4ed5fd2a27abdbcf5dfb007193251648) --- lib/libsys/kldload.2 | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/lib/libsys/kldload.2 b/lib/libsys/kldload.2 index 63a13c328d58..55dd16300af0 100644 --- a/lib/libsys/kldload.2 +++ b/lib/libsys/kldload.2 @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd March 3, 1999 +.Dd March 26, 2026 .Dt KLDLOAD 2 .Os .Sh NAME @@ -39,7 +39,20 @@ The .Fn kldload system call -loads a kld file into the kernel using the kernel linker. +loads a kld file specified by +.Fa file +into the kernel using the kernel linker (see +.Xr kld 4 ) . +The +.Fa file +can be specified as a full or relative path, or otherwise is searched +within the module path as defined by the +loader tunable and sysctl variable +.Va kern.module_path . +The .ko +extension for +.Fa file +is not mandatory. .Sh RETURN VALUES The .Fn kldload