In commit d1dfd921774f0 the acl allocator was switch from malloc(9) to
uma(9) and done in a way required vm/uma.h and prerequisites. This added
considerable header pollution to sys/sysproto.h. The uma details were
hidden in commit b998d381f2868, but the header pollution remained. Add
an include of sys/malloc.h as required by commit ae1add4e55214 to keep
the header self contained.
Details
Details
- Reviewers
kib imp trasz - Commits
- rGdcda49233de3: sys/acl.h: reduce header pollution
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Also, to be really self-contained, the header needs at least either sys/_types.h or sys/types.h (not sure which).
sys/sys/acl.h | ||
---|---|---|
39–43 | Can we limit this to _KERNEL? |