Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jun 2018 17:10:32 -0230
From:      "Jonathan Anderson" <jonathan@FreeBSD.org>
To:        "Antoine Brodin" <antoine@freebsd.org>
Cc:        "Eitan Adler" <eadler@freebsd.org>, "Robert N. M. Watson" <robert.watson@cl.cam.ac.uk>, src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r334931 - in head: . sys/sys
Message-ID:  <3D29EC4B-D05D-4485-98BD-8E5EB5C1E8E9@FreeBSD.org>
In-Reply-To: <CAALwa8mjroE5CgF0B9YWe9z4KaDWsNfmYKXswA97PR6wYPZLnQ@mail.gmail.com>
References:  <201806101915.w5AJFcZM001907@repo.freebsd.org> <CAALwa8mjroE5CgF0B9YWe9z4KaDWsNfmYKXswA97PR6wYPZLnQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10 Jun 2018, at 16:49, Antoine Brodin wrote:

> On Sun, Jun 10, 2018 at 9:15 PM, Eitan Adler <eadler@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@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D29EC4B-D05D-4485-98BD-8E5EB5C1E8E9>