Page MenuHomeFreeBSD

Expose <sys/mbuf.h> kernel decls to sysunit tests
AbandonedPublic

Authored by rstone on Jan 25 2022, 9:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 11, 4:34 PM
Unknown Object (File)
Mon, Apr 6, 11:51 PM
Unknown Object (File)
Mon, Mar 30, 8:46 AM
Unknown Object (File)
Sun, Mar 29, 2:46 PM
Unknown Object (File)
Mar 13 2026, 7:47 AM
Unknown Object (File)
Mar 4 2026, 8:22 PM
Unknown Object (File)
Feb 28 2026, 3:04 AM
Unknown Object (File)
Feb 28 2026, 3:04 AM
Subscribers

Details

Reviewers
vangyzen
imp

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 44098
Build 40986: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Jan 25 2022, 10:04 PM
vangyzen added inline comments.
sys/sys/mbuf.h
48–50

You could remove this #endif / #if pair.

glebius@ has requested a different approach where unit tests define _KERNEL and opt out of the KPI symbols that they don't want, rather than opting into the symbols that they do want.