jonathan 6abbb93d5f 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
2011-06-14 16:29:43 +00:00
MFC
2011-05-23 23:58:02 +00:00
2011-04-13 11:28:46 +00:00
MFC
2011-05-31 21:22:44 +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
MFC
2011-05-13 15:20:57 +00:00
MFC
2011-06-01 16:54:33 +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
MFC
2011-05-29 18:33:13 +00:00
2010-11-14 16:10:15 +00:00
MFC
2011-05-13 15:20:57 +00:00
MFC
2011-05-13 15:20:57 +00:00
MFC
2011-05-13 15:20:57 +00:00