Yu Watanabe
|
c07eb49aff
|
devnode-acl: use set_put_strdup_full() and set_ensure_consume()
|
2022-06-10 10:47:25 +09:00 |
|
Yu Watanabe
|
e992fd18a8
|
login: shorten code a bit
The symlinks under /run/udev/static_node-tags are pointing to the
corresponding device nodes. Let's read the symlinks.
|
2022-04-06 19:38:27 +09:00 |
|
David Tardon
|
203ea2c8f1
|
devnode-acl: use _cleanup_ to free acl_t
|
2022-03-04 11:51:48 +01:00 |
|
Zbigniew Jędrzejewski-Szmek
|
af3b864d76
|
Define FOREACH_DIRENT through FOREACH_DIRENT_ALL
As in the previous commit, 'de' is used as the iterator variable name.
|
2021-12-15 22:50:00 +01:00 |
|
Zbigniew Jędrzejewski-Szmek
|
e437538f35
|
tree-wide: make cunescape*() functions return ssize_t
Strictly speaking, we are returning the size of a memory chunk of
arbitrary size, so ssize_t is more appropriate than int.
|
2021-07-09 15:07:40 +02:00 |
|
Yu Watanabe
|
0f46548deb
|
login: move src/login/logind-acl.[ch] -> src/shared/devnode-acl.[ch]
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.
|
2021-01-19 07:04:19 +09:00 |
|