Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-04-18 | basic: user-utils.c needs missing.h for secure_getenv (#3059) | michaelolbrich | |
Otherwise building may fail with: src/basic/user-util.c: In function 'get_home_dir': src/basic/user-util.c:343:9: error: implicit declaration of function 'secure_getenv' [-Werror=implicit-function-declaration] | |||
2016-02-10 | tree-wide: remove Emacs lines from all files | Daniel Mack | |
This should be handled fine now by .dir-locals.el, so need to carry that stuff in every file. | |||
2016-01-18 | basic: add missing word in comment | Zbigniew Jędrzejewski-Szmek | |
2015-12-01 | basic: re-sort includes | Thomas Hindoe Paaboel Andersen | |
My previous patch to only include what we use accidentially placed the added inlcudes in non-sorted order. | |||
2015-11-30 | basic: include only what we use | Thomas Hindoe Paaboel Andersen | |
This is a cleaned up result of running iwyu but without forward declarations on src/basic. | |||
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 | |