Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-16 | tree-wide: sort includes | Thomas Hindoe Paaboel Andersen | |
Sort the includes accoding to the new coding style. | |||
2015-10-27 | util-lib: split out allocation calls into alloc-util.[ch] | Lennart Poettering | |
2015-10-27 | util-lib: move take_password_lock() to user-util.[ch] | Lennart Poettering | |
Also, rename it take_etc_passwd_lock(), in order to make it more expressive. | |||
2015-10-27 | util-lib: split string parsing related calls from util.[ch] into parse-util.[ch] | Lennart Poettering | |
2015-10-26 | user-util: never hand out or accept invalid UIDs | Lennart Poettering | |
libc isn't that strict, but it's a good idea if we are, to not create confusion around invalid user ids. | |||
2015-10-26 | util: remove lookup_uid(), replace by uid_to_name() | Lennart Poettering | |
So far we had two pretty much identical calls in user-util.[ch]: lookup_uid() and uid_to_name(). Get rid of the former, in favour of the latter, and while we are at it, rewrite it, to use getpwuid_r() correctly, inside an allocation loop, as POSIX intended. | |||
2015-10-26 | user-util: simplify uid parsing a bit | Lennart Poettering | |
2015-10-26 | util-lib: split out user/group/uid/gid calls into user-util.[ch] | Lennart Poettering | |