Thread (49 messages) 49 messages, 10 authors, 2014-08-16

Re: [RFC PATCH 00/11] Adding FreeBSD's Capsicum security framework (part 1)

From: David Drysdale <hidden>
Date: 2014-07-07 14:11:40
Also in: lkml, qemu-devel

On Mon, Jul 7, 2014 at 1:20 PM, Paolo Bonzini [off-list ref] wrote:
Il 07/07/2014 12:29, David Drysdale ha scritto:
quoted
Capsicum capabilities are associated with the file descriptor (a la
F_GETFD), not the open file itself -- different FDs with different
associated rights can map to the same underlying open file.

Good to know, thanks.  I suppose you have testcases that cover this.

Paolo
Yeah, there's lots of tests at:
  https://github.com/google/capsicum-test
(which is in a separate repo so it's easy to run against
FreeBSD as well as the Linux code); in particular
  https://github.com/google/capsicum-test/blob/dev/capability-fd.cc
has various interactions of capability FDs.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help