Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| per-thread_credentials [2011/05/13 01:35] – MatthewFleming | per-thread_credentials [2017/09/18 14:14] (current) – Use local wiki LinkNames (remove absolute wiki urls) KubilayKocak | ||
|---|---|---|---|
| Line 39: | Line 39: | ||
| There are the main tasks to implement: | There are the main tasks to implement: | ||
| - | ==== Define new syscalls | + | ==== Define new libthr library functions |
| < | < | ||
| Line 96: | Line 96: | ||
| an error number will be returned to indicate the error. | an error number will be returned to indicate the error. | ||
| </ | </ | ||
| + | |||
| + | Matching syscalls gettcred(), settcred(), and reverttcred() implement the library functions. | ||
| We require the caller to set the UID, GID, and supplementary groups in a single syscall. | We require the caller to set the UID, GID, and supplementary groups in a single syscall. | ||
| Line 137: | Line 139: | ||
| * How per-thread credentials interact with jails | * How per-thread credentials interact with jails | ||
| * Use new privilege infrastructure in 7.3 instead of suser() | * Use new privilege infrastructure in 7.3 instead of suser() | ||
| - | * Add auditing events as discussed here http:// | + | * Add auditing events as discussed here: AddingSyscalls |
| ===== References ===== | ===== References ===== | ||