⬢ DragonFlyBSD Kernel Audit
DF-5606 / rig_run.log
← back to finding ↓ download raw
== integrity: everything under test is the guest's production tree, verbatim ==
1466795929 5793 /usr/src/sys/bus/u4b/net/ruephy.c
1466795929 5793 stage1_verbatim/ruephy.c
1466795929 5793 stage2_compatinc/ruephy.c
387923557 6950 /usr/src/sys/dev/netif/mii_layer/ruephy.c
387923557 6950 stage0_control/ruephy.c
1899302531 1645 /usr/src/sys/bus/u4b/net/ruephyreg.h
1899302531 1645 fakeinc/dev/usb/net/ruephyreg.h
2271458301 9147 /usr/src/sys/dev/netif/mii_layer/mii.h
2271458301 9147 fakeinc/dev/mii/mii.h
877333815 9349 /usr/src/sys/dev/netif/mii_layer/miivar.h
877333815 9349 fakeinc/dev/mii/miivar.h

== S0 CONTROL: production mii_layer/ruephy.c through the same rig ==
S0 CONTROL: BUILD OK (7480 bytes) -- rig is sound

== S1 ORPHAN VERBATIM: expect fatal include error at ruephy.c:47 (:51 next) ==
S1 make exit: 1
63:ruephy.c:47:10: fatal error: dev/mii/mii.h: No such file or directory
S1: FAILED EXACTLY AS PREDICTED (FreeBSD include layout absent from DragonFly)

== S2 ORPHAN + GRANTED INCLUDES: expect >=4 distinct mii-API errors ==
S2 make exit: 1
  API error present: mii_phy_detach (65:ruephy.c)
  API error present: MII_PHY_END (74:ruephy.c)
  API error present: mii_phy_funcs (83: static const struct mii_phy_funcs ruephy_funcs = {)
  API error present: mii_phy_dev_probe (98:ruephy.c)
  API error present: mii_phy_dev_attach (104:ruephy.c)
  API error present: MIIF_NOMANPAUSE (105:  mii_phy_dev_attach(dev, MIIF_NOISOLATE | MIIF_NOMANPAUSE,)
  API error present: mii_phy_setmedia (118:ruephy.c)
  API error present: mii_phy_auto (128:ruephy.c)
distinct mii-API failure symbols in build_s2.log: 8
S2: FAILED ON THE API ITSELF, exactly as predicted (includes were granted)

RIG VERDICT: orphan ruephy.c is UNBUILDABLE on this tree (S1 include layout,
S2 API generation), while its compiled production twin builds fine (S0).
=> the file cannot ship in any kernel/KLD built from this source;
=> its latent defects are unreachable without importing FreeBSD's whole new-mii core.