svn commit: r334931 - in head: . sys/sys

Jonathan Anderson jonathan at FreeBSD.org
Sun Jun 10 19:43:06 UTC 2018


On 10 Jun 2018, at 16:49, Antoine Brodin wrote:

> On Sun, Jun 10, 2018 at 9:15 PM, Eitan Adler <eadler at freebsd.org> 
> wrote:
>> Author: eadler
>> Date: Sun Jun 10 19:15:38 2018
>> New Revision: 334931
>> URL: https://svnweb.freebsd.org/changeset/base/334931
>>
>> Log:
>>   Revert r334929
>>
>>   Apparently some software might depend on a header whose sole 
>> contents is
>>   a `#warning` to remove it. Revert pending exp-run.
>
> Hi,
>
> It's not just a #warning,  there is a #include line below...
> And after this change,  most ports that supported sandboxing were no
> longer sandboxed.

This used the be the primary header file for Capsicum, but we switched 
to the somewhat-more-portable sys/capsicum.h awhile ago. The current 
sys/capability.h includes the new header while emitting a warning in 
order to encourage people to switch to capsicum.h without breaking 
anything (yet). This is a transitional step, and I think the plan is to 
remove sys/capability.h after... maybe the 12-STABLE branch?


Jon
--
Jonathan Anderson
jonathan at FreeBSD.org


More information about the svn-src-all mailing list