summaryrefslogtreecommitdiffstats
path: root/src/util/find_uid.c
Commit message (Collapse)AuthorAgeFilesLines
* Convert read and write operations to sss_atomic_readJakub Hrozek2012-04-201-9/+7
| | | | https://fedorahosted.org/sssd/ticket/1209
* Handle cases where UID is -1Stephen Gallagher2012-02-291-6/+1
| | | | | | | Also removes an unnecessary range check (since it's already handled by strtoint32() https://fedorahosted.org/sssd/ticket/1216
* Ensure NULL-termination in get_uid_from_pid()Stephen Gallagher2012-02-141-0/+3
| | | | Coverity #12399
* Fixed possible resource leak in get_uid_from_pid()Jan Zeleny2011-11-071-4/+10
| | | | https://fedorahosted.org/sssd/ticket/1069
* Always use uint32_t for UID/GID numbersJakub Hrozek2010-10-261-3/+3
|
* Use unsigned long for conversion to id_tJakub Hrozek2010-10-181-4/+4
| | | | | | | | We used strtol() on a number of places to convert into uid_t or gid_t from a string representation such as LDAP attribute, but on some platforms, unsigned long might be necessary to store big id_t values. This patch converts to using strtoul() instead.
* Check closedir call in find_uidJakub Hrozek2010-06-141-4/+9
| | | | Fixes: #503
* get_uid_from_pid should use fstat rather than lstatJakub Hrozek2010-06-141-11/+11
| | | | Fixes: #541
* Fix misuse of errno in find_uid.cStephen Gallagher2010-06-101-17/+26
|
* Properly handle read() and write() throughout the SSSDStephen Gallagher2010-06-101-4/+9
| | | | | | | We need to guarantee at all times that reads and writes complete successfully. This means that they must be checked for returning EINTR and EAGAIN, and all writes must be wrapped in a loop to ensure that they do not truncate their output.
* Rename server/ directory to src/Stephen Gallagher2010-02-181-0/+296
Also update BUILD.txt