Page MenuHomeFreeBSD

bspatch: Remove backwards-compatibility sys/capability.h support
ClosedPublic

Authored by emaste on Sep 19 2016, 3:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 1, 2:16 AM
Unknown Object (File)
Wed, Nov 12, 12:44 AM
Unknown Object (File)
Nov 8 2025, 12:01 AM
Unknown Object (File)
Oct 27 2025, 11:38 PM
Unknown Object (File)
Oct 17 2025, 3:51 AM
Unknown Object (File)
Oct 14 2025, 4:24 PM
Unknown Object (File)
Oct 13 2025, 2:57 AM
Unknown Object (File)
Oct 11 2025, 11:20 AM
Subscribers

Details

Summary

bspatch previously included sys/capability.h or sys/capsicum.h based on __FreeBSD_version, as FreeBSD is the upstream for bsdiff and we may encounter this file again when incorporated into other third-party software.

The Capsicum header is now installed as sys/capsicum.h in stable/10 and FreeBSD 10.3, so we can just enable capsicum only there and simplify the logic.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste retitled this revision from to bspatch: Remove backwards-compatibility sys/capability.h support.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added reviewers: allanjude, oshogbo.

Note that stable/9 and FreeBSD 9.3, 10.1, and 10.2 all have an expected EoL of Dec 31 2016, so I think it's unlikely that this file will loop back to us on a supported branch that lacks sys/capsicum.h.

allanjude edited edge metadata.
This revision is now accepted and ready to land.Sep 20 2016, 2:57 PM
This revision was automatically updated to reflect the committed changes.