mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
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
This commit is contained in:
parent
266f640b38
commit
b64c5a0ace
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