summaryrefslogtreecommitdiff
path: root/src/shared/devnode-acl.c
Commit message (Collapse)AuthorAgeFilesLines
* basic: rename util.h to logarithm.hZbigniew Jędrzejewski-Szmek2022-11-081-1/+0
| | | | | util.h is now about logarithms only, so we can rename it. Many files included util.h for no apparent reason… Those includes are dropped.
* tree-wide: allow ASCII fallback for → in logsDavid Tardon2022-06-281-2/+3
|
* devnode-acl: use set_put_strdup_full() and set_ensure_consume()Yu Watanabe2022-06-101-7/+3
|
* login: shorten code a bitYu Watanabe2022-04-061-13/+10
| | | | | The symlinks under /run/udev/static_node-tags are pointing to the corresponding device nodes. Let's read the symlinks.
* devnode-acl: use _cleanup_ to free acl_tDavid Tardon2022-03-041-48/+25
|
* Define FOREACH_DIRENT through FOREACH_DIRENT_ALLZbigniew Jędrzejewski-Szmek2021-12-151-3/+2
| | | | As in the previous commit, 'de' is used as the iterator variable name.
* tree-wide: make cunescape*() functions return ssize_tZbigniew Jędrzejewski-Szmek2021-07-091-2/+4
| | | | | Strictly speaking, we are returning the size of a memory chunk of arbitrary size, so ssize_t is more appropriate than int.
* login: move src/login/logind-acl.[ch] -> src/shared/devnode-acl.[ch]Yu Watanabe2021-01-191-0/+256
The files are used by logind and udevd. And the functions in the files are not specific to logind, and quite general enough to move to libshared.