aboutsummaryrefslogtreecommitdiff
path: root/utils/nonsugid.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix leaking auth portsSamuel Thibault2022-01-041-3/+3
| | | | | | | | | | | We need to be extremely careful with auth ports since leaking them into subprocesses may expose a root-auth port to non-root processes. Notably, get_nonsugid_ids was caching it, thus preventing glibc's exec implementation from dropping it. Login is also reimplementing hurdexec but without all the cloexec logic. This commit fixes various auth leaks.
* 2000-01-22 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-01-221-8/+11
| | | | | * nonsugid.c (get_nonsugid_ids): Remove saved set IDs from available sets before merging effective sets.
* Initial checkinMiles Bader1997-05-261-0/+60