May 17 2018
May 16 2018
May 12 2018
fix RESCUE: include lib/libjail/jail.c in librescue if necessary
May 11 2018
cap_jail.c: improve allocation and error handling in service command
cap_sysctl.c: resolve names to mibs when limits are set.
- rename cap_jail_get -> cap_jail and system.cap_jail_get -> system.cap_jail
- fix copyright
- add man page
- style(9) changes
- use dnvlist_* in service command
- split nvlist -> iov function in two: nvl_to_iov_s is used by the service and makes sure there is space before memcpy
- jls.c: use caph_enter_casper
- cap_sysctl.c: style
- cap_sysclt.3: reference sysctl(3)
May 10 2018
WOW! Thank you for working on that!
I removed to kernel changes and used libcasper to obtain sysctl and jail_get functionality needed for jls(1).
May 5 2018
Please use libcasper(3) to obtain valid sysctl.
May 4 2018
caph_cache_catpages(3) before cap_enter(2)
May 3 2018
Apr 30 2018
connectat/bindat description updated in rS333119
Had a quick skim, but LGTM.
Apr 28 2018
Thank you, I will try to review soon and have added some other Capsicum folks.
Mar 17 2018
Oct 28 2017
Oct 12 2017
Sep 22 2017
From in-person working group session, a suggestion to rename libcasper.h to libcasper.h.in and run unifdef on it during install.
Sep 21 2017
As discussed with emaste@ I commited the changes regarding the stabilization of the ifdefs name in separate commit (r323866). This should make diff a little bit smaller.
Sep 17 2017
Aug 25 2017
Aug 16 2017
Update with -U9999.
Aug 15 2017
Would you please upload a diff with full context (-U9999)? Thanks.
Aug 10 2017
Update to new libcasper version.
Hi Guys :)
Jul 8 2017
Feb 18 2017
Jan 20 2017
Dec 16 2016
Maybe what I'm about to say is blasphemy in our circles, but it looks like this tries to solve a problem that an object oriented programming language with virtual functions (C++) could easily solve. libcasper's header file would provide declarations for abstract base classes for all sorts of handles. Then there are two implementations of these classes: one that acts as a no-op and one that is actually built on top of Capsicum. That way there is no need to resort to linker tricks.
Dec 15 2016
I don't really much like this approach, plus there is a high risk to have libcaspermock and libcasper out of sync
Dec 12 2016
The changes proposed seem ok, in so long as it addresses the regression I reported on svn-src-all@.
@ngie Thoughts? I'd like to commit this and move on to other things, so review/approval is highly appreciated.
The behavior of few functions are a little bit different libcasper and libcaspermock but this still could be merged somehow.
The only situation I can think of where you would like to have two libraries is when you would install something from ports which you don't want to use Casper and your base system is using Casper.