On 6/10/18, Jonathan Anderson <jonat...@freebsd.org> wrote: > On 10 Jun 2018, at 16:49, Antoine Brodin wrote: > >> On Sun, Jun 10, 2018 at 9:15 PM, Eitan Adler <ead...@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? >
As second step, it would be fine to slip the #warning over to #error, and fix the ports. > > Jon > -- > Jonathan Anderson > jonat...@freebsd.org > _______________________________________________ > svn-src-head@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/svn-src-head > To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org" > _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"