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
F132464011: D7954.id20488.diff
Fri, Oct 17, 3:51 AM
Unknown Object (File)
Tue, Oct 14, 4:24 PM
Unknown Object (File)
Mon, Oct 13, 2:57 AM
Unknown Object (File)
Sat, Oct 11, 11:20 AM
Unknown Object (File)
Fri, Oct 10, 2:19 PM
Unknown Object (File)
Fri, Oct 10, 9:08 AM
Unknown Object (File)
Fri, Oct 10, 6:28 AM
Unknown Object (File)
Tue, Oct 7, 1:39 PM
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.