diff options
| author | Thomas Veerman <thomas@minix3.org> | 2012-01-27 11:50:11 +0000 |
|---|---|---|
| committer | Thomas Veerman <thomas@minix3.org> | 2012-01-30 15:16:19 +0000 |
| commit | 0bd011affd7ee93768bfeb68bc8115e812137435 (patch) | |
| tree | fe76c1f6fa73a661c552b30848e030287814a4a1 /common/include?id=0bd011affd7ee93768bfeb68bc8115e812137435 | |
| parent | 4bee3cff2ef3a5b64d598940a179eec0d0d74378 (diff) | |
PM: extend srv_fork to set a specific UID
Currently, all servers and drivers run as root as they are forks of
RS. srv_fork now tells PM with which credentials to run the resulting
fork. Subsequently, PM lets VFS now as well.
This patch also fixes the following bugs:
- RS doesn't initialize the setugid variable during exec, causing the
servers and drivers to run setuid rendering the srv_fork extension
useless.
- PM erroneously tells VFS to run processes setuid. This doesn't
actually lead to setuid processes as VFS sets {r,e}uid and {r,e}gid
properly before checking PM's approval.
Diffstat (limited to 'common/include?id=0bd011affd7ee93768bfeb68bc8115e812137435')
0 files changed, 0 insertions, 0 deletions
