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
(cherry picked from commit b64c5a0ace)
This commit is contained in:
parent
2a6c77b343
commit
ae21b1f88e
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue