From nobody Mon Dec 16 22:16:02 2024 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 4YBvR65xX9z5gbHD; Mon, 16 Dec 2024 22:16:02 +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 4YBvR65MGKz441F; Mon, 16 Dec 2024 22:16:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734387362; 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=usYCdhxJrgEWSpY2gY5nOsmoW4Twjv8wcrde8TjS+wc=; b=JmdYoJXjxT4luqOyGHkiAxQb17r9F5cPphugT402LfXaTJaNda5RSu20Hy6uQqd9ashyM4 BKpu1/96s9xTxG3AbvFKt4kYbHiz5M/9pMEFIo8iQv2Jzl1emjXGAg7InOuyA9P7gFAadf OeYN/waFdwPS6bqs8/yjL9siSXK8HZcdUDt9wgiOjX3dmTqd1JH/gtCcy3xSv1GoHQFh2M Bv92RsCj2D4PgL/SYVuUSzqfRzKZOPTM2dhD0GznSyqxF/yrr+tE2s1lY7n+KjQ7nHeAid RyXD1ADSYiU6JPTwiH6spY2Hfp8aX/Rsmur60Dx/5BnMGJTaCELRSg6awHWNbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734387362; 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=usYCdhxJrgEWSpY2gY5nOsmoW4Twjv8wcrde8TjS+wc=; b=K0XBAA9SKrEhKBsvtKr16uJgHmLDjpnf8clHfJRWH/qOjvP94aMn7xShsaSbNfJuAYVajk Gw2Nt3MQ4FeBHa3uccPECp1z4SmkMZKKSkEdkqlgA5HFLqGqtaDMFu6USIxKovXbeyJvLh MtZzgJ8JOZDYuOas36aEFsExLOvgxEK9c3ulymyNwIcb1BCL4YLij+DQ4J3gnVg39q89u1 uoeUbQjRCSfNfDfEjcSUHd1U18K6TQRUXlukLPfVECIAVD8u8giHRDeTT1PT5joug+aydu IjQhJ5/vKCDaq7Wv9WFyL7EvkGo/yt7sB5LrSJxCq8K8kirRqZ8AtC8Qt4zxug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734387362; a=rsa-sha256; cv=none; b=yy/teyh4v1nqZhH4d0matVz5vy9z0hlH2IXbOeYyk6XscmMw1/v3pFj4DMv0DnF2oFWM6B wYD0i68HVE2gvYZNG5Uj/9SVL/u3A+7ORyE4fsTbLUb+15F2J63SqhCJXm0dnH/Gvlcwof u1w+0Pt8Cifreo9rXzVS33k4mp20g4lAYIEid6aq1cJ4fsE+NOTkOvClQSacLW3VyBZp45 JF/f3SpzreDUdKJRe/Z/G8q6RA9eEyIbyXNfq94Gz4pcki1sDBnKVlKIk4qrPMYFbpUeqP bZ3O8UHeS8kfbbkvQh3yazrVdTRq8hXT66mcdcucHc50pl5DOr17uVR466q7/Q== 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 4YBvR64z5dz1BT2; Mon, 16 Dec 2024 22:16:02 +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 4BGMG2GR094516; Mon, 16 Dec 2024 22:16:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BGMG2Fx094513; Mon, 16 Dec 2024 22:16:02 GMT (envelope-from git) Date: Mon, 16 Dec 2024 22:16:02 GMT Message-Id: <202412162216.4BGMG2Fx094513@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: b64c5a0ace59 - main - ipfw.d: Add required dependency declarations 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: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b64c5a0ace59af62eff52bfe110a521dc73c937b Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=b64c5a0ace59af62eff52bfe110a521dc73c937b commit b64c5a0ace59af62eff52bfe110a521dc73c937b Author: Mark Johnston AuthorDate: 2024-12-16 22:09:39 +0000 Commit: Mark Johnston CommitDate: 2024-12-16 22:09:39 +0000 ipfw.d: Add required dependency declarations ipfw.d requires definitions of, at least, in_addr_t and struct ip6_addr, which it must obtain from CTF info. This is found by looking at $(sysctl -n kern.bootfile)/kernel, which might not be available in a jail. These depends_on declarations ensure that dtrace(1) invocations will simply abort processing of ipfw.d if the required binaries can't be found, rather than raising an error. PR: 283359 MFC after: 1 week --- share/dtrace/ipfw.d | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/dtrace/ipfw.d b/share/dtrace/ipfw.d index c2933dbe96ad..66cd6abea74a 100644 --- a/share/dtrace/ipfw.d +++ b/share/dtrace/ipfw.d @@ -27,6 +27,8 @@ */ #pragma D depends_on provider ipfw +#pragma D depends_on module kernel +#pragma D depends_on module ipfw.ko /* ipfw_chk() return values */ #pragma D binding "1.0" IP_FW_PASS