summaryrefslogtreecommitdiffstats
path: root/src/tests/cwrap/test_usertools.c
Commit message (Collapse)AuthorAgeFilesLines
* UTIL: Add a function to convert id_t from a number or a nameJakub Hrozek2014-10-221-0/+106
We need a custom function that would convert a numeric or string input into uid_t. The function will be used to drop privileges in servers and also in the PAC and IFP responders. Includes a unit test to test all code that changed as well as a fix for a misnamed attribute in the csv_to_uid_list function synopsis. Reviewed-by: Pavel Reichl <preichl@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>