summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/cap_new.2
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace per mdoc lint warningeadler2012-03-291-1/+1
| | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days
* Make sure sections are sorted into conventional order.joel2012-03-251-5/+5
|
* Fix manual section for acl_get(3) and mac_get(3) family functions.pluknet2011-12-291-14/+14
| | | | | Reviewed by: rwatson MFC after: 1 week
* Cross-reference capsicum.4 from cap_enter.2 and cap_new.2.rwatson2011-11-271-0/+1
| | | | | MFC after: 3 days Sponsored by: Google, Inc.
* Add experimental support for process descriptorsjonathan2011-08-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | A "process descriptor" file descriptor is used to manage processes without using the PID namespace. This is required for Capsicum's Capability Mode, where the PID namespace is unavailable. New system calls pdfork(2) and pdkill(2) offer the functional equivalents of fork(2) and kill(2). pdgetpid(2) allows querying the PID of the remote process for debugging purposes. The currently-unimplemented pdwait(2) will, in the future, allow querying rusage/exit status. In the interim, poll(2) may be used to check (and wait for) process termination. When a process is referenced by a process descriptor, it does not issue SIGCHLD to the parent, making it suitable for use in libraries---a common scenario when using library compartmentalisation from within large applications (such as web browsers). Some observers may note a similarity to Mach task ports; process descriptors provide a subset of this behaviour, but in a UNIX style. This feature is enabled by "options PROCDESC", but as with several other Capsicum kernel features, is not enabled by default in GENERIC 9.0. Reviewed by: jhb, kib Approved by: re (kib), mentor (rwatson) Sponsored by: Google Inc
* Add cap_new(2) and cap_getrights(2) symbols to libc.jonathan2011-07-201-0/+474
These system calls have already been implemented in the kernel; now we hook up libc symbols so userspace can drive them. Approved by: re (kib), mentor (rwatson) Sponsored by: Google Inc
OpenPOWER on IntegriCloud