Jonathan Anderson 9acdfe6549 Rework _fget to accept capability parameters.
This new version of _fget() requires new parameters:
- cap_rights_t needrights
    the rights that we expect the capability's rights mask to include
    (e.g. CAP_READ if we are going to read from the file)

- cap_rights_t *haverights
    used to return the capability's rights mask (ignored if NULL)

- u_char *maxprotp
    the maximum mmap() rights (e.g. VM_PROT_READ) that can be permitted
    (only used if we are going to mmap the file; ignored if NULL)

- int fget_flags
    FGET_GETCAP if we want to return the capability itself, rather than
    the underlying object which it wraps

Approved by: mentor (rwatson), re (Capsicum blanket)
Sponsored by: Google Inc
2011-07-05 13:45:10 +00:00
..
2011-04-18 16:32:47 +00:00
MFC
2011-06-15 07:20:22 +00:00
MFC
2011-06-15 07:20:22 +00:00
2011-04-13 11:28:46 +00:00
2011-04-26 07:30:52 +00:00
2010-11-22 15:28:54 +00:00
2010-11-25 20:05:11 +00:00
2011-06-27 13:02:23 +00:00
MFC
2011-06-26 17:30:46 +00:00
2011-04-18 16:32:47 +00:00
2011-04-18 16:32:47 +00:00
2011-04-06 19:08:50 +00:00
2011-04-06 19:08:50 +00:00
2011-04-06 19:08:50 +00:00
2010-01-04 20:59:52 +00:00
2010-11-14 16:10:15 +00:00