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)
Sun, May 26, 1:01 AM
Unknown Object (File)
Mar 30 2024, 1:20 AM
Unknown Object (File)
Feb 11 2024, 1:48 PM
Unknown Object (File)
Feb 9 2024, 3:50 AM
Unknown Object (File)
Dec 3 2023, 8:35 AM
Unknown Object (File)
Nov 28 2023, 2:25 PM
Unknown Object (File)
Nov 28 2023, 12:25 PM
Unknown Object (File)
Nov 24 2023, 3:24 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

Lint
Lint Skipped
Unit
Tests Skipped

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.