Systemd/src/basic
Zbigniew Jędrzejewski-Szmek 156a5fd297 basic/user-util: always use base 10 for user/group numbers
We would parse numbers with base prefixes as user identifiers. For example,
"0x2b3bfa0" would be interpreted as UID==45334432 and "01750" would be
interpreted as UID==1000. This parsing was used also in cases where either a
user/group name or number may be specified. This means that names like
0x2b3bfa0 would be ambiguous: they are a valid user name according to our
documented relaxed rules, but they would also be parsed as numeric uids.

This behaviour is definitely not expected by users, since tools generally only
accept decimal numbers (e.g. id, getent passwd), while other tools only accept
user names and thus will interpret such strings as user names without even
attempting to convert them to numbers (su, ssh). So let's follow suit and only
accept numbers in decimal notation. Effectively this means that we will reject
such strings as a username/uid/groupname/gid where strict mode is used, and try
to look up a user/group with such a name in relaxed mode.

Since the function changed is fairly low-level and fairly widely used, this
affects multiple tools: loginctl show-user/enable-linger/disable-linger foo',
the third argument in sysusers.d, fourth and fifth arguments in tmpfiles.d,
etc.

Fixes #15985.
2020-05-31 18:38:16 +02:00
..
linux linux: update headers from v5.6 2020-03-12 19:55:10 +09:00
MurmurHash2.c tree-wide: fix a couple of TABs 2018-05-22 16:13:45 +02:00
MurmurHash2.h tree-wide: use '#pragma once' for header guard 2018-08-30 06:10:43 +03:00
af-list.c util: cast smaller type to large type 2018-12-02 05:58:18 +01:00
af-list.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
af-to-name.awk meson: also indent scripts with 8 spaces 2017-04-25 08:49:16 -04:00
alloc-util.c tree-wide: various code-formatting improvements 2019-09-22 07:17:27 +02:00
alloc-util.h alloc-util: drop _alloc_ decorator from memdup_suffix0() 2019-07-13 11:04:20 +02:00
architecture.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
architecture.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
arphrd-list.c basic: massively reduce the size of arphdr lookup functions 2019-09-25 12:17:22 +02:00
arphrd-list.h basic: massively reduce the size of arphdr lookup functions 2019-09-25 12:17:22 +02:00
arphrd-to-name.awk basic/arphrd: stop discriminating against NETROM and CISCO 2019-09-25 12:17:51 +02:00
async.c util: split out errno related stuff 2019-03-14 13:25:51 +01:00
async.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
audit-util.c codespell: fix spelling errors 2019-04-29 16:47:18 +02:00
audit-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
blockdev-util.c blockdev: add helper for locking whole block device 2020-05-18 18:41:56 +02:00
blockdev-util.h blockdev: add helper for locking whole block device 2020-05-18 18:41:56 +02:00
btrfs-util.c tmpfiles: deal with kernel errno change if quota is not enabled 2020-05-26 21:36:29 +02:00
btrfs-util.h btrfs-util: define helper that creates a btrfs subvol if we can, and a directory as fallback 2020-04-09 12:12:52 +02:00
build.h coredump: add zstandard support for coredumps 2020-05-04 10:59:43 +02:00
bus-label.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
bus-label.h tree-wide: drop string.h when string-util.h or friends are included 2019-11-04 00:30:32 +09:00
cap-list.c tree-wide: drop missing.h 2019-10-31 17:57:03 +09:00
cap-list.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
cap-to-name.awk meson: also indent scripts with 8 spaces 2017-04-25 08:49:16 -04:00
capability-util.c Check ambient set against bounding set prior to applying ambient set 2020-05-29 21:23:26 +02:00
capability-util.h nspawn: don't hard fail when setting capabilities 2019-06-20 21:46:36 +02:00
cgroup-util.c core: introduce support for cgroup freezer 2020-04-30 19:02:51 +02:00
cgroup-util.h core: introduce support for cgroup freezer 2020-04-30 19:02:51 +02:00
chattr-util.c chattr: optionally, return the old flags when updating them 2018-10-08 21:40:44 +02:00
chattr-util.h tmpfiles: move full chattr flag set to chattr-util.h 2019-03-28 18:43:05 +01:00
conf-files.c basic/set: let set_put_strdup() create the set with string hash ops 2020-05-06 16:54:06 +02:00
conf-files.h basic/conf-files: make conf_files_list() take just a single directory 2019-09-16 09:15:05 +02:00
copy.c *: convert amenable fdopendir() calls to take_fdopendir() 2020-03-31 06:48:03 -07:00
copy.h copy: add flag COPY_MAC_CREATE to create with correct label 2019-11-28 12:17:56 +01:00
def.h Move PLYMOUTH_SOCKET define to def.h and nuke plymouth-util.h 2019-10-24 11:48:08 +02:00
device-nodes.c basic/utf8: do not read past end of string when looking for a multi-byte character 2019-02-26 12:37:40 +01:00
device-nodes.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dirent-util.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dirent-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
efivars.c efi: add more logging for all EFI variable reads 2020-05-29 15:42:09 +02:00
efivars.h Disable reading SystemdOptions EFI Var when in SecureBoot mode 2020-01-16 18:46:56 +01:00
env-file.c environment-d-generator: output logs in debug mode 2019-08-30 13:17:37 +02:00
env-file.h util-lib: split out env file parsing code into env-file.c 2018-12-02 13:22:29 +01:00
env-util.c tree-wide: drop string.h when string-util.h or friends are included 2019-11-04 00:30:32 +09:00
env-util.h Introduce sc_arg_max() helper 2019-05-21 10:57:23 +02:00
errno-list.c util: cast smaller type to large type 2018-12-02 05:58:18 +01:00
errno-list.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
errno-to-name.awk meson: also indent scripts with 8 spaces 2017-04-25 08:49:16 -04:00
errno-util.h errno-util: let's beef up ERRNO_IS_NOT_SUPPORTED() with socket not supported errors 2020-04-17 16:05:56 +02:00
escape.c shared/escape: add new escape style with \n\t escaped 2020-04-09 09:58:10 +02:00
escape.h shared/escape: add new escape style with \n\t escaped 2020-04-09 09:58:10 +02:00
ether-addr-util.c tree-wide: make hash_ops typesafe 2018-12-02 07:53:27 +01:00
ether-addr-util.h tree-wide: make hash_ops typesafe 2018-12-02 07:53:27 +01:00
extract-word.c escape: introduce UNESCAPE_ACCEPT_NUL flag 2020-01-27 18:04:46 +09:00
extract-word.h Rename EXTRACT_QUOTES to EXTRACT_UNQUOTE 2019-06-28 11:35:05 +02:00
fd-util.c tmpfiles: if we get ENOENT when opening /proc/self/fd/, check if /proc is mounted 2020-04-23 14:52:10 +02:00
fd-util.h util: move ERRNO_IS_xyz macros to errno-util.h 2019-03-19 15:29:44 +01:00
fileio.c fileio: Rename rename_and_apply_smack to rename_and_apply_smack_floor_label. 2020-05-27 18:54:25 +02:00
fileio.h fileio: Rename rename_and_apply_smack to rename_and_apply_smack_floor_label. 2020-05-27 18:54:25 +02:00
format-util.c tree-wide: drop double newline 2019-11-04 00:30:32 +09:00
format-util.h cgroup: systemctl: Don't display NULL if protection was set to max 2020-02-05 18:32:33 +01:00
fs-util.c tree-wide: codespell fixes 2020-05-25 10:29:28 +02:00
fs-util.h fs-util: teach unlinkat_deallocate() a simple scheme for overwriting for erasing 2020-05-19 17:27:13 +02:00
gcrypt-util.c tree-wide: drop gcrypt.h when gcrypt-util.h is included 2019-11-04 00:30:32 +09:00
gcrypt-util.h Drop my copyright headers 2018-06-14 13:03:20 +02:00
generate-af-list.sh scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
generate-arphrd-list.sh scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
generate-cap-list.sh scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
generate-errno-list.sh scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
glob-util.c journalctl,elsewhere: make sure --file=foo fails with sane error msg if foo is not readable 2020-05-19 15:26:51 +02:00
glob-util.h journalctl,elsewhere: make sure --file=foo fails with sane error msg if foo is not readable 2020-05-19 15:26:51 +02:00
gunicode.c tree-wide: beautify remaining copyright statements 2018-06-14 10:20:21 +02:00
gunicode.h tree-wide: beautify remaining copyright statements 2018-06-14 10:20:21 +02:00
hash-funcs.c shared/unit-file: make sure the old hashmaps and sets are freed upon replacement 2020-05-28 18:51:52 +02:00
hash-funcs.h shared/unit-file: make sure the old hashmaps and sets are freed upon replacement 2020-05-28 18:51:52 +02:00
hashmap.c basic/hashmap: allow NULL values in strdup hashmaps and add test 2020-05-06 16:56:42 +02:00
hashmap.h shared/unit-file: make sure the old hashmaps and sets are freed upon replacement 2020-05-28 18:51:52 +02:00
hexdecoct.c resolvectl: fix indentation of hexdump'ed packets 2020-04-17 18:29:42 +02:00
hexdecoct.h util: extend unhexmem() to accept secure flag 2019-04-12 10:10:24 +09:00
hostname-util.c Add %l as specifier for the hostname without any domain component 2020-05-07 17:36:44 +02:00
hostname-util.h Add %l as specifier for the hostname without any domain component 2020-05-07 17:36:44 +02:00
in-addr-util.c in-addr-util: removed in_addr_prefix_next implementation 2020-05-26 12:41:22 +02:00
in-addr-util.h in-addr-util: introduce in_addr_prefix_nth 2020-05-26 12:35:49 +02:00
io-util.c tree-wide: drop time.h when time-util.h is included 2019-11-04 00:30:32 +09:00
io-util.h io-util: introduce iovw_put_string_field() helper 2019-06-27 19:14:27 +02:00
ioprio.h Restore naming of IOPRIO_PRIO defines from linux/ioprio.h 2018-03-21 00:46:22 +01:00
kbd-util.c util: split out nulstr related stuff to nulstr-util.[ch] 2019-03-14 13:25:52 +01:00
kbd-util.h util: split out kbd related stuff 2019-03-14 13:25:51 +01:00
khash.c tree-wide: drop missing.h 2019-10-31 17:57:03 +09:00
khash.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
label.c namespace: fix MAC labels of /dev when PrivateDevices=yes 2020-03-12 08:23:27 +00:00
label.h namespace: fix MAC labels of /dev when PrivateDevices=yes 2020-03-12 08:23:27 +00:00
limits-util.c limit-util: quieten a very common debug message that is misleading 2020-05-15 15:50:09 +02:00
limits-util.h util: split out some stuff into a new file limits-util.[ch] 2019-03-13 12:16:43 +01:00
list.h basic/list: fix minor coding style issue 2018-11-24 04:26:10 +09:00
locale-util.c locale-util: add glyph for external links 2020-05-29 10:41:30 +02:00
locale-util.h locale-util: add glyph for external links 2020-05-29 10:41:30 +02:00
log.c log: add support for prefixing console log messages with current timestamp 2020-02-10 07:01:30 -05:00
log.h Merge pull request #13084 from ddstreet/log_time 2020-03-30 17:57:34 +02:00
login-util.c tree-wide: drop double newline 2019-11-04 00:30:32 +09:00
login-util.h Drop my copyright headers 2018-06-14 13:03:20 +02:00
macro.h json: turn off ubsan for json_variant_has_type() 2020-05-26 09:01:26 +02:00
memfd-util.c tree-wide: drop missing.h 2019-10-31 17:57:03 +09:00
memfd-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
memory-util.c util: move some raw memory functions from string-util.h → memory-util.h 2019-03-14 13:25:51 +01:00
memory-util.h memory-util: add missing () in macro evaulation 2020-04-23 12:12:45 +02:00
mempool.c util: split out memcmp()/memset() related calls into memory-util.[ch] 2019-03-13 12:16:43 +01:00
mempool.h mempool: only enable mempool use when linked to libsystemd-shared.so 2018-10-11 11:10:37 +02:00
meson.build Merge pull request #15251 from keszybz/coverity-fixes 2020-03-30 17:18:35 +02:00
missing_audit.h missing: move audit related definitions to missing_audit.h 2018-12-06 13:25:24 +01:00
missing_capability.h missing: move capabilities to missing_capability.h 2018-12-04 08:38:14 +01:00
missing_drm.h missing: re-add drm related entries 2018-12-07 12:46:55 +01:00
missing_fcntl.h missing: move fcntl related definitions to missing_fcntl.h 2018-12-06 13:25:24 +01:00
missing_fs.h missing: add FS_PROJINHERIT_FL 2019-03-28 18:43:04 +01:00
missing_input.h missing: use integer types used by kernel 2018-12-06 13:24:00 +01:00
missing_keyctl.h missing: move missing entries in keyctl.h to missing_keyctl.h 2018-12-04 07:42:32 +01:00
missing_magic.h missing: add XFS magic 2019-12-04 11:01:31 +01:00
missing_mman.h missing: add memfd related definitions to missing_mman.h 2018-12-06 13:25:24 +01:00
missing_network.h tree-wide: drop several missing_*.h and import relevant headers from kernel-5.0 2019-04-11 19:00:37 +02:00
missing_prctl.h missing: move prctl related entries to missing_prctl.h 2018-12-04 08:34:46 +01:00
missing_random.h random-util: make use of GRND_INSECURE when it is defined 2020-05-10 11:15:16 +02:00
missing_resource.h missing: move resource related definitions to missing_resource.h 2018-12-06 13:25:24 +01:00
missing_sched.h missing: move sched.h related definitions to missing_sched.h 2018-12-06 13:28:28 +01:00
missing_securebits.h missing: rename securebits.h to missing_securebits.h 2018-12-04 07:49:24 +01:00
missing_socket.h sd-device: check netlink netns matches host netns before using monitor 2020-05-29 15:28:10 +09:00
missing_stat.h missing: use integer types used by kernel 2018-12-06 13:24:00 +01:00
missing_stdlib.h missing: move definition of secure_getenv() to missing_stdlib.h 2018-12-06 13:26:55 +01:00
missing_syscall.h seccomp: real syscall numbers are >= 0 2019-12-09 11:29:06 +01:00
missing_timerfd.h missing: move timer related definition to missing_timerfd.h 2018-12-06 13:25:24 +01:00
missing_type.h missing: move char{16,32}_t definitions to missing_type.h 2018-12-04 08:38:18 +01:00
missing_xfs.h missing: add XFS magic 2019-12-04 11:01:31 +01:00
mkdir-label.c basic/label: introduce mkdirat_label()/mkdirat_errno_wrapper() helpers 2018-07-30 15:54:03 +02:00
mkdir.c tree-wide: drop stat.h or statfs.h when stat-util.h is included 2019-11-04 00:30:32 +09:00
mkdir.h basic/label: introduce mkdirat_label()/mkdirat_errno_wrapper() helpers 2018-07-30 15:54:03 +02:00
mountpoint-util.c davfs is a network file system 2020-03-24 10:01:25 +01:00
mountpoint-util.h Split out part of mount-util.c into mountpoint-util.c 2018-11-29 21:03:44 +01:00
namespace-util.c tree-wide: drop missing.h 2019-10-31 17:57:03 +09:00
namespace-util.h util: split out namespace related stuff into a new namespace-util.[ch] pair 2019-03-13 12:16:38 +01:00
nss-util.h nss-util: add macros for generating getpwent()/getgrent() prototypes 2020-01-15 15:25:32 +01:00
nulstr-util.c util: split out nulstr related stuff to nulstr-util.[ch] 2019-03-14 13:25:52 +01:00
nulstr-util.h util: split out nulstr related stuff to nulstr-util.[ch] 2019-03-14 13:25:52 +01:00
ordered-set.c basic/ordered-set: export networkd function to print string sets 2019-02-21 12:00:05 +01:00
ordered-set.h ordered-set: add ordered_set_first() helper 2019-12-04 10:57:37 +01:00
parse-util.c basic: add STRCASE_IN_SET() which is to STR_IN_SET() what strcaseeq() is to streq() 2020-05-04 10:11:19 +02:00
parse-util.h basic/parse-util: add safe_atoux64() 2020-04-09 11:29:55 +02:00
path-lookup.c Rename _PATH variables to _DIR when they refer to a directory 2020-03-27 20:12:45 +01:00
path-lookup.h sd-path: export "systemd-network-path" 2020-03-27 20:12:45 +01:00
path-util.c journalctl,elsewhere: make sure --file=foo fails with sane error msg if foo is not readable 2020-05-19 15:26:51 +02:00
path-util.h namespace: ignore prefix chars when comparing paths 2020-03-10 16:48:34 +02:00
prioq.c basic/prioq: add prioq_peek_item() 2019-01-26 12:42:46 +01:00
prioq.h basic/prioq: add prioq_peek_item() 2019-01-26 12:42:46 +01:00
proc-cmdline.c proc-cmdline: make checking of EFI options variable optional 2020-05-20 19:22:09 +02:00
proc-cmdline.h proc-cmdline: make checking of EFI options variable optional 2020-05-20 19:22:09 +02:00
process-util.c basic/process-util: only try PR_SET_MM once 2020-05-26 10:28:59 +02:00
process-util.h pid1: by default make user units inherit their umask from the user manager 2020-04-09 14:17:07 +02:00
procfs-util.c procfs-util: expose functionality to query total memory 2019-01-22 17:43:13 +01:00
procfs-util.h procfs-util: expose functionality to query total memory 2019-01-22 17:43:13 +01:00
pthread-util.h basic: add _cleanup_ wrappers for pthread_mutex_{lock,unlock} 2020-03-28 13:29:39 +01:00
quota-util.c basic: add quota-util.[ch] with some helpers for the Linux quotactl() API 2019-12-17 20:03:40 +01:00
quota-util.h basic: add quota-util.[ch] with some helpers for the Linux quotactl() API 2019-12-17 20:03:40 +01:00
random-util.c random-util: make use of GRND_INSECURE when it is defined 2020-05-10 11:15:16 +02:00
random-util.h random-util: make use of GRND_INSECURE when it is defined 2020-05-10 11:15:16 +02:00
ratelimit.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
ratelimit.h Drop RATELIMIT macros 2019-09-20 16:05:53 +02:00
raw-clone.h codespell: fix spelling errors 2019-04-29 16:47:18 +02:00
raw-reboot.h basic: add a common syscall wrapper around reboot() 2018-02-22 10:42:06 +01:00
replace-var.c tree-wide: drop string.h when string-util.h or friends are included 2019-11-04 00:30:32 +09:00
replace-var.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
rlimit-util.c tree-wide: drop missing.h 2019-10-31 17:57:03 +09:00
rlimit-util.h move src/shared/rlimit-util.[ch] → src/basic/ 2018-12-01 12:50:45 +01:00
rm-rf.c tree-wide: drop stat.h or statfs.h when stat-util.h is included 2019-11-04 00:30:32 +09:00
rm-rf.h rm-rf: introduce new flag REMOVE_MISSING_OK 2019-07-11 12:18:51 +02:00
selinux-util.c selinux: add debug logging to cache functions 2020-03-27 20:54:58 +01:00
selinux-util.h namespace: fix MAC labels of /dev when PrivateDevices=yes 2020-03-12 08:23:27 +00:00
set.h shared/unit-file: make sure the old hashmaps and sets are freed upon replacement 2020-05-28 18:51:52 +02:00
sigbus.c util: split out memcmp()/memset() related calls into memory-util.[ch] 2019-03-13 12:16:43 +01:00
sigbus.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
signal-util.c signal-util: add new helper signal_is_blocked() 2019-12-04 10:35:01 +01:00
signal-util.h signal-util: add new helper signal_is_blocked() 2019-12-04 10:35:01 +01:00
siphash24.c util: introduce siphash24_compress_boolean() 2019-06-19 21:03:16 +09:00
siphash24.h util: introduce siphash24_compress_boolean() 2019-06-19 21:03:16 +09:00
smack-util.c namespace: fix MAC labels of /dev when PrivateDevices=yes 2020-03-12 08:23:27 +00:00
smack-util.h namespace: fix MAC labels of /dev when PrivateDevices=yes 2020-03-12 08:23:27 +00:00
socket-label.c util-lib: move things that parse ifnames to shared/ 2020-01-11 12:07:28 +01:00
socket-util.c socket-util: add generic socket_pass_pktinfo() helper 2020-05-27 22:39:34 +02:00
socket-util.h socket-util: add generic socket_pass_pktinfo() helper 2020-05-27 22:39:34 +02:00
sort-util.c util: split out sorting related calls to new sort-util.[ch] 2019-03-13 12:16:43 +01:00
sort-util.h util: split out sorting related calls to new sort-util.[ch] 2019-03-13 12:16:43 +01:00
sparse-endian.h tree-wide: use __ prefixed gcc attributes (#10843) 2018-11-20 12:34:08 +09:00
special.h core: automatically add udev dependency for units using RootImage= 2020-04-21 16:31:06 +02:00
stat-util.c stat-util: trivial empty_or_null() tweaks 2020-05-29 21:23:43 +02:00
stat-util.h stat-util: add stat_inode_unmodified() helper that checks if an inode was modified 2020-05-13 16:57:44 +02:00
static-destruct.h static-destruct: add missing closing '(' in comment 2019-11-01 11:31:20 +01:00
stdio-util.h util: split out memcmp()/memset() related calls into memory-util.[ch] 2019-03-13 12:16:43 +01:00
strbuf.c util: split out sorting related calls to new sort-util.[ch] 2019-03-13 12:16:43 +01:00
strbuf.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
string-table.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
string-table.h basic/string-table: avoid crash when table is sparse 2020-02-27 21:36:58 +01:00
string-util.c string-util: make sure we eat even half complete words in split() 2020-04-02 16:43:36 +02:00
string-util.h string-util: make clear that split() + FOREACH_WORD() should die 2020-04-02 16:43:39 +02:00
strv.c basic: add STRCASE_IN_SET() which is to STR_IN_SET() what strcaseeq() is to streq() 2020-05-04 10:11:19 +02:00
strv.h basic: Allow to call STRV_FOREACH_BACKWARDS() with a char * const * strv 2020-05-10 18:57:56 +02:00
strxcpyx.c util: introduce strnpcpy() and strnscpy() 2019-05-30 21:08:51 +09:00
strxcpyx.h util: introduce strnpcpy() and strnscpy() 2019-05-30 21:08:51 +09:00
syslog-util.c journald: allow running multiple instances of journald 2020-01-31 15:01:18 +01:00
syslog-util.h journald: allow running multiple instances of journald 2020-01-31 15:01:18 +01:00
terminal-util.c fileio: fileno() can realistically return -1 2020-04-13 11:26:49 +02:00
terminal-util.h systemctl: ensure underline for "list-unit-files" empty cells 2020-05-06 15:40:15 +02:00
time-util.c time-util: also use 32bit hack on EOVERFLOW 2019-12-19 12:46:24 +01:00
time-util.h time-util: introduce jiffies_to_usec() 2019-07-29 23:52:37 +09:00
tmpfile-util.c *: use _cleanup_close_ with fdopen() where trivial 2020-03-31 06:48:03 -07:00
tmpfile-util.h util-lib: split out all temporary file related calls into tmpfiles-util.c 2018-12-02 13:22:29 +01:00
umask-util.h umask-util: simplify RUN_WITH_UMASK() 2019-04-30 09:52:35 +02:00
unaligned.h tree-wide: use __ prefixed gcc attributes (#10843) 2018-11-20 12:34:08 +09:00
unit-def.c core: introduce support for cgroup freezer 2020-04-30 19:02:51 +02:00
unit-def.h core: introduce support for cgroup freezer 2020-04-30 19:02:51 +02:00
unit-name.c unit-name: use TAKE_PTR() where appropriate 2020-05-26 09:17:48 +02:00
unit-name.h basic/unit-name: make sure UnitNameFlags is signed 2019-12-19 20:57:27 +01:00
user-util.c basic/user-util: always use base 10 for user/group numbers 2020-05-31 18:38:16 +02:00
user-util.h user-util: rework how we validate user names 2020-04-08 17:11:20 +02:00
utf8.c tree-wide: drop string.h when string-util.h or friends are included 2019-11-04 00:30:32 +09:00
utf8.h util-lib: add truncation based on printable width to utf8_escape_non_printable() 2019-05-22 09:50:19 +02:00
util.c util: drop unnecessary headers from util.c 2019-11-04 00:40:37 +09:00
util.h pid1: rework environment block copy logic 2019-11-01 11:30:59 +01:00
virt.c Revert "detect-virt: also detect "microsoft" as WSL" 2020-04-28 13:13:12 +02:00
virt.h virt: Detect proot virtualisation by ptrace metadata 2020-04-15 18:36:35 +01:00
xattr-util.c xattr-util: add flistxattr_malloc() that returns a NULSTR 2019-11-19 15:44:58 +01:00
xattr-util.h xattr-util: add flistxattr_malloc() that returns a NULSTR 2019-11-19 15:44:58 +01:00