Page MenuHomeFreeBSD
Feed Advanced Search

Dec 10 2016

kaktus updated the diff for D8543: Capsicumise dd.

Fix regression when stdin/out/err fds are are overridden by shell.
Found by Kyua tests.

Dec 10 2016, 2:57 PM · capsicum
kib retitled D8746: Enable lookup_cap_dotdot and lookup_cap_dotdot_nonlocal by default. from to Enable lookup_cap_dotdot and lookup_cap_dotdot_nonlocal by default..
Dec 10 2016, 10:10 AM · capsicum

Dec 9 2016

robak closed D8543: Capsicumise dd by committing rS309735: Capsicum support for dd(1).
Dec 9 2016, 2:51 PM · capsicum
oshogbo accepted D8543: Capsicumise dd.
Dec 9 2016, 2:24 PM · capsicum
robak added a comment to D8543: Capsicumise dd.

Guys, are we happy with the state of things? I am keen to commit it, given relevant approval is provided.

Dec 9 2016, 1:37 PM · capsicum

Dec 7 2016

kaktus updated the diff for D8543: Capsicumise dd.

Update diff with one that survived building head@r309672:

  1. buildword && buildkernel on FreeBSD 10.3-R i386
  2. universe on FreeBSD 11.0-R amd64
Dec 7 2016, 10:52 PM · capsicum

Dec 6 2016

imp accepted D8543: Capsicumise dd.

Should have ticked 'accept'

Dec 6 2016, 10:24 PM · capsicum
imp added a comment to D8543: Capsicumise dd.
In D8543#180755, @pawel.biernacki-gmail.com wrote:

Since dd was removed from bootstrap in 309412, can this be recommitted?

Dec 6 2016, 10:24 PM · capsicum
kaktus added a comment to D8543: Capsicumise dd.

Since dd was removed from bootstrap in 309412, can this be recommitted?

Dec 6 2016, 6:41 PM · capsicum

Nov 21 2016

kaktus added a comment to D8543: Capsicumise dd.

As I see libcapsicum is header only https://svnweb.freebsd.org/base/head/lib/libcapsicum/Makefile?revision=306726&view=markup.
The breakage was obviously caused by lack of that header in installed system older than 12-C.

Nov 21 2016, 8:34 PM · capsicum
imp added a comment to D8543: Capsicumise dd.

See https://reviews.freebsd.org/D8605 for one possible resolution

Nov 21 2016, 7:43 PM · capsicum
imp requested changes to D8543: Capsicumise dd.

I think we should have a fake libcapiscim that's all defeined as no-op success functions and add that to libegacy. We don't need to install the full libcapsicim and there's ordering issues trying to do so.

Nov 21 2016, 7:36 PM · capsicum
oshogbo added a comment to D8543: Capsicumise dd.

Thanks for you work, but I like more your previus patch :)
So I would like to fix the problem with that patch in a little different meaner basically install libcapsicum.
I will do that today, and replay your patch.

Nov 21 2016, 12:49 PM · capsicum
robak added a reviewer for D8543: Capsicumise dd: adrian.
Nov 21 2016, 12:23 PM · capsicum
robak reopened D8543: Capsicumise dd.

Reopening due to dd/build toolchain issues.

Nov 21 2016, 12:18 PM · capsicum
kaktus updated the diff for D8543: Capsicumise dd.

Make it compile on older releases as dd is part of bootstrap and pre 12-C don't have capsicum_helpers.h installed.

Nov 21 2016, 12:06 PM · capsicum

Nov 18 2016

robak closed D8543: Capsicumise dd by committing rS308810: Capsicum support for dd(1).
Nov 18 2016, 9:10 PM · capsicum
kaktus updated the diff for D8543: Capsicumise dd.
  • be more consistent with lowercase in err().
Nov 18 2016, 7:38 PM · capsicum
oshogbo accepted D8543: Capsicumise dd.

Good work :)
Please just fix the error messages.

Nov 18 2016, 6:46 PM · capsicum
emaste added a comment to D8543: Capsicumise dd.

I think this looks good, and have asked @oshogbo if he can check again.

Nov 18 2016, 5:04 PM · capsicum
kaktus updated the diff for D8543: Capsicumise dd.

Fix indentation.

Nov 18 2016, 4:51 PM · capsicum
emaste added inline comments to D8543: Capsicumise dd.
Nov 18 2016, 4:48 PM · capsicum
robak accepted D8543: Capsicumise dd.

@oshogbo @allanjude It works for me, when I test it, so if I can get approval from someone with src commit bit, I am happy to commit it.

Nov 18 2016, 3:35 PM · capsicum
kaktus added inline comments to D8543: Capsicumise dd.
Nov 18 2016, 10:50 AM · capsicum
kaktus updated the diff for D8543: Capsicumise dd.

Updated diff after requested changes.

Nov 18 2016, 10:48 AM · capsicum

Nov 17 2016

oshogbo added inline comments to D8543: Capsicumise dd.
Nov 17 2016, 9:17 PM · capsicum
emaste added inline comments to D8543: Capsicumise dd.
Nov 17 2016, 9:07 PM · capsicum
oshogbo added inline comments to D8543: Capsicumise dd.
Nov 17 2016, 9:06 PM · capsicum
oshogbo requested changes to D8543: Capsicumise dd.
Nov 17 2016, 9:00 PM · capsicum
kaktus updated the diff for D8543: Capsicumise dd.

Regenerate, this time with -U999999.

Nov 17 2016, 11:13 AM · capsicum
kaktus updated the diff for D8543: Capsicumise dd.

Regenerate patch.

Nov 17 2016, 11:10 AM · capsicum

Nov 16 2016

allanjude accepted D8543: Capsicumise dd.
Nov 16 2016, 11:08 PM · capsicum
kaktus added inline comments to D8543: Capsicumise dd.
Nov 16 2016, 9:48 PM · capsicum
allanjude added inline comments to D8543: Capsicumise dd.
Nov 16 2016, 9:46 PM · capsicum
robak added reviewers for D8543: Capsicumise dd: emaste, allanjude.
Nov 16 2016, 9:39 PM · capsicum
kaktus retitled D8543: Capsicumise dd from to Capsicumise dd.
Nov 16 2016, 9:37 PM · capsicum

Nov 2 2016

kib closed D8110: Allow some dotdot lookups in capability mode. by committing rS308212: Allow some dotdot lookups in capability mode..
Nov 2 2016, 12:43 PM · capsicum

Oct 31 2016

mjg accepted D8110: Allow some dotdot lookups in capability mode..
Oct 31 2016, 8:22 PM · capsicum

Oct 30 2016

emaste added a comment to D8110: Allow some dotdot lookups in capability mode..

Minor style editing will be committed separately.

Oct 30 2016, 3:47 PM · capsicum

Oct 29 2016

kib updated the diff for D8110: Allow some dotdot lookups in capability mode..

Suggestions by emaste.
Use flags instead of two booleans.

Oct 29 2016, 9:05 AM · capsicum

Oct 28 2016

emaste added inline comments to D8110: Allow some dotdot lookups in capability mode..
Oct 28 2016, 6:31 PM · capsicum
kib updated the diff for D8110: Allow some dotdot lookups in capability mode..

Fix copy/paste.

Oct 28 2016, 4:06 PM · capsicum
kib updated the diff for D8110: Allow some dotdot lookups in capability mode..

Add a knob to enable/disable dotdot lookups in cap mode. Restore pre-patch code to fail if dotdot parsed, and comments about that.

Oct 28 2016, 4:04 PM · capsicum

Oct 7 2016

emaste updated subscribers of D8110: Allow some dotdot lookups in capability mode..
Oct 7 2016, 7:45 PM · capsicum
kib added inline comments to D8110: Allow some dotdot lookups in capability mode..
Oct 7 2016, 3:50 PM · capsicum
rwatson added inline comments to D8110: Allow some dotdot lookups in capability mode..
Oct 7 2016, 3:11 PM · capsicum
kib updated the diff for D8110: Allow some dotdot lookups in capability mode..

Remove nameicap_tracker_add() call from namei().

Oct 7 2016, 1:24 PM · capsicum
kib added inline comments to D8110: Allow some dotdot lookups in capability mode..
Oct 7 2016, 1:23 PM · capsicum
jonathan added a comment to D8110: Allow some dotdot lookups in capability mode..

A fairly cursory look didn't turn up any obvious problems for me, but I would like to take a deeper look over the next few days.

Oct 7 2016, 1:23 AM · capsicum

Oct 5 2016

kib updated the diff for D8110: Allow some dotdot lookups in capability mode..

Update comments.

Oct 5 2016, 12:32 PM · capsicum
rwatson added a comment to D8110: Allow some dotdot lookups in capability mode..

Overall I like this approach, but there's an important experimental question as to whether this enables all the use cases we care about -- and, more generally, whether there are visible failure modes that might surprise application programmers. We also need to think quite hard to convince ourselves this maintains safe operation. Getting Jon Anderson, Ben Laurie, and David Drysdale to review the approach would be very useful.

Oct 5 2016, 12:02 PM · capsicum
kib added a comment to D8110: Allow some dotdot lookups in capability mode..
In D8110#168999, @kib wrote:

Implement Jonathan Anderson suggestion of checking the result of dotdot lookup against the recorded list of traversed vnodes. Drop rename notifications. Check for dotdot vnodes living on local fs.

Possibly the Robert Watson suggestion. :-)

Oct 5 2016, 10:51 AM · capsicum
rwatson added a comment to D8110: Allow some dotdot lookups in capability mode..
In D8110#168999, @kib wrote:

Implement Jonathan Anderson suggestion of checking the result of dotdot lookup against the recorded list of traversed vnodes. Drop rename notifications. Check for dotdot vnodes living on local fs.

Oct 5 2016, 10:31 AM · capsicum
kib updated the diff for D8110: Allow some dotdot lookups in capability mode..

Implement Jonathan Anderson suggestion of checking the result of dotdot lookup against the recorded list of traversed vnodes. Drop rename notifications. Check for dotdot vnodes living on local fs.

Oct 5 2016, 10:21 AM · capsicum

Oct 1 2016

kib updated the diff for D8110: Allow some dotdot lookups in capability mode..

Construct a lookup tracker, which records the path by holding each directory vnode found during namei() operations. Simultaneously, all the directories are added to some global structure and marked by VOP_RENAME() implementations while tvp is still locked, as renamed.

Oct 1 2016, 6:30 PM · capsicum
rwatson added inline comments to D8110: Allow some dotdot lookups in capability mode..
Oct 1 2016, 4:00 PM · capsicum
kib retitled D8110: Allow some dotdot lookups in capability mode. from to Allow some dotdot lookups in capability mode..
Oct 1 2016, 11:25 AM · capsicum

Sep 1 2016

allanjude added a member for capsicum: allanjude.
Sep 1 2016, 2:30 AM

Feb 26 2016

oshogbo closed D4277: Casper new architecture. by committing rS296047: Convert casperd(8) daemon to the libcasper..
Feb 26 2016, 11:06 AM · capsicum
delphij added a watcher for capsicum: delphij.
Feb 26 2016, 6:54 AM

Feb 11 2016

oshogbo updated the diff for D4277: Casper new architecture..

I updated Makefile.depnd which was pointed out byt @bdrewery.
I update also some dependencies in libnames and BSD.debug.dist.

Feb 11 2016, 1:59 PM · capsicum

Jan 8 2016

bdrewery requested changes to D4277: Casper new architecture..

Please also update these as needed:

Jan 8 2016, 6:55 PM · capsicum
oshogbo updated D4277: Casper new architecture..
Jan 8 2016, 3:37 PM · capsicum
oshogbo added a comment to D4277: Casper new architecture..

Code is also available at https://github.com/oshogbo/freebsd/tree/libcasper

Jan 8 2016, 3:36 PM · capsicum

Dec 14 2015

oshogbo added inline comments to D4277: Casper new architecture..
Dec 14 2015, 12:10 AM · capsicum
oshogbo updated the diff for D4277: Casper new architecture..

Update according to David suggestion.
I forgot to commit changes about test, thanks!
You make very good points.

Dec 14 2015, 12:06 AM · capsicum

Dec 9 2015

drysdale_google.com added a comment to D4277: Casper new architecture..

I *think* that nvlist_add_string() and friends don't cope with a NULL value, which means that all of the places where optional strings turn up in an API need to cope with absence. I've commented on a few such places, but there's probably more...

Dec 9 2015, 10:58 AM · capsicum

Nov 25 2015

oshogbo retitled D4277: Casper new architecture. from to Casper new architecture..
Nov 25 2015, 9:20 PM · capsicum