Systemd/src/basic
Lennart Poettering ec6bdf7259 copy: rework copy_file_atomic() to copy the specified file via O_TMPFILE if possible 2018-06-07 17:40:14 +02:00
..
MurmurHash2.c tree-wide: fix a couple of TABs 2018-05-22 16:13:45 +02:00
MurmurHash2.h tree-wide: fix a couple of TABs 2018-05-22 16:13:45 +02:00
af-list.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
af-list.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +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: drop license boilerplate 2018-04-06 18:58:55 +02:00
alloc-util.h alloca: add an overflow check too 2018-04-27 14:29:06 +02:00
architecture.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
architecture.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
arphrd-list.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
arphrd-list.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
arphrd-to-name.awk meson: also indent scripts with 8 spaces 2017-04-25 08:49:16 -04:00
async.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
async.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
audit-util.c basic/audit-util: always log the reason when disabling audit logs 2018-04-24 14:10:27 +02:00
audit-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
barrier.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
barrier.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
bitmap.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
bitmap.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
blkid-util.h tree-wide: drop redundant _cleanup_ macros (#8810) 2018-04-25 12:31:45 +02:00
blockdev-util.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
blockdev-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
bpf-program.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
bpf-program.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
btrfs-ctree.h btrfs: Include missing.h in btrfs-ctree.h 2017-12-18 11:19:32 +01:00
btrfs-util.c nspawn: fix copy/reflink fallback when directory already exists (#8781) 2018-04-24 11:38:08 +02:00
btrfs-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
build.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
bus-label.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
bus-label.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
calendarspec.c basic: add log_level argument to timezone_is_valid 2018-05-12 15:20:13 -04:00
calendarspec.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
cap-list.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
cap-list.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
cap-to-name.awk meson: also indent scripts with 8 spaces 2017-04-25 08:49:16 -04:00
capability-util.c util: add new write_string_filef() helper 2018-06-06 14:39:15 +02:00
capability-util.h Add macro for checking if some flags are set 2018-06-04 11:50:44 +02:00
cgroup-util.c path-util: introduce path_simplify() 2018-06-03 23:39:26 +09:00
cgroup-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
chattr-util.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
chattr-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
clock-util.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
clock-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
conf-files.c tree-wide: fix a number of log calls that use %m but have no errno set 2018-06-07 15:29:17 +02:00
conf-files.h conf-files: beef up conf-files.[ch] a bit 2018-05-24 17:01:57 +02:00
copy.c copy: rework copy_file_atomic() to copy the specified file via O_TMPFILE if possible 2018-06-07 17:40:14 +02:00
copy.h copy: rearrange flags field definition 2018-04-13 11:32:46 +02:00
cpu-set-util.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
cpu-set-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
crypt-util.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
crypt-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
def.h sysusers: add --cat-config 2018-04-27 10:06:24 +02:00
device-nodes.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
device-nodes.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
dirent-util.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
dirent-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
env-util.c basic: use automatic cleanup more 2018-05-10 14:08:35 +02:00
env-util.h tree-wide: be more careful with the type of array sizes 2018-04-27 14:29:06 +02:00
errno-list.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
errno-list.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
errno-to-name.awk meson: also indent scripts with 8 spaces 2017-04-25 08:49:16 -04:00
escape.c escape: add an explanatory comment about buffer sizes 2018-06-01 21:49:16 +02:00
escape.h basic/journal-importer: do not write non-unicode char to log 2018-05-31 13:04:18 +02:00
ether-addr-util.c ether-addr-util: add hash_ops functions for struct ether_addr 2018-05-09 11:57:36 +09:00
ether-addr-util.h ether-addr-util: add hash_ops functions for struct ether_addr 2018-05-09 11:57:36 +09:00
exec-util.c conf-files: beef up conf-files.[ch] a bit 2018-05-24 17:01:57 +02:00
exec-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
exit-status.c exit-status: list BSD exit codes too 2018-04-27 17:32:01 +02:00
exit-status.h exit-status: list BSD exit codes too 2018-04-27 17:32:01 +02:00
extract-word.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
extract-word.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
fd-util.c main: split out reading of /proc/sys/fs/nr_open into its own function 2018-06-06 14:39:15 +02:00
fd-util.h main: split out reading of /proc/sys/fs/nr_open into its own function 2018-06-06 14:39:15 +02:00
fileio-label.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
fileio-label.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
fileio.c util: allow mkdtemp_malloc() to be called with NULL pattern 2018-06-07 17:38:49 +02:00
fileio.h util: add new write_string_filef() helper 2018-06-06 14:39:15 +02:00
format-table.c basic/format-table: add missing va_end() 2018-05-10 01:36:50 +02:00
format-table.h basic: add minimalistic table formatter 2018-04-18 12:51:15 +02:00
format-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
fs-util.c tree-wide: fix a number of log calls that use %m but have no errno set 2018-06-07 15:29:17 +02:00
fs-util.h fs-util,test: add helper to remove tempfiles 2018-05-18 20:11:31 +02:00
gcrypt-util.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
gcrypt-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
generate-af-list.sh generate-af-list.sh: slightly generalize pattern, fix w/musl (#8629) 2018-03-31 12:55:45 +02:00
generate-arphrd-list.sh separate flags from shebang 2017-12-25 19:48:49 +01:00
generate-cap-list.sh separate flags from shebang 2017-12-25 19:48:49 +01:00
generate-errno-list.sh separate flags from shebang 2017-12-25 19:48:49 +01:00
generate-gperfs.py tree-wide: adjust fall through comments so that gcc is happy 2017-11-20 13:06:25 -08:00
generate-socket-protocol-list.sh separate flags from shebang 2017-12-25 19:48:49 +01:00
glob-util.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
glob-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
gunicode.c log: minimize includes in log.h 2018-01-11 14:44:31 +01:00
gunicode.h tree-wide: place #pragma once at the same place everywhere 2016-02-20 22:42:29 +01:00
hash-funcs.c tree-wide: drop spurious newlines (#8764) 2018-04-19 12:13:23 +02:00
hash-funcs.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
hashmap.c Turn VALGRIND variable into a meson configuration switch 2018-05-17 09:54:36 -07:00
hashmap.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
hexdecoct.c hexdecoct: drop an unnecessary check 2018-05-11 14:36:36 +09:00
hexdecoct.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
hostname-util.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
hostname-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
in-addr-util.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
in-addr-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
io-util.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
io-util.h tree-wide: be more careful with the type of array sizes 2018-04-27 14:29:06 +02:00
ioprio.h Restore naming of IOPRIO_PRIO defines from linux/ioprio.h 2018-03-21 00:46:22 +01:00
journal-importer.c journal-remote: parse the _BOOT_ID field and use the value when writing entries 2018-05-31 14:32:39 +02:00
journal-importer.h journal-remote: parse the _BOOT_ID field and use the value when writing entries 2018-05-31 14:32:39 +02:00
khash.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
khash.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
label.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
label.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
list.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
locale-util.c locale-util: add comment with link to unicode chars supported by eurlatgr (#8894) 2018-05-03 23:15:04 +09:00
locale-util.h locale: add ellipsis as special glyph 2018-04-18 12:35:45 +02:00
lockfile-util.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
lockfile-util.h tree-wide: drop redundant _cleanup_ macros (#8810) 2018-04-25 12:31:45 +02:00
log.c tree-wide: make use of memory_startswith() at various places 2018-05-30 13:11:51 +02:00
log.h basic/log: add the log_struct terminator to macro 2018-06-04 13:46:03 +02:00
login-util.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
login-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
macro.h Add macro for checking if some flags are set 2018-06-04 11:50:44 +02:00
memfd-util.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
memfd-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
mempool.c Turn VALGRIND variable into a meson configuration switch 2018-05-17 09:54:36 -07:00
mempool.h tree-wide: remove some double newlines in headers, too 2018-05-22 16:13:45 +02:00
meson.build os-util: add helpers for finding /etc/os-release 2018-05-24 17:01:57 +02:00
missing.h missing: define kernel internal limit TASK_COMM_LEN in userspace too 2018-06-01 21:49:16 +02:00
missing_syscall.h tree-wide: remove some double newlines in headers, too 2018-05-22 16:13:45 +02:00
mkdir-label.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
mkdir.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
mkdir.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
module-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
mount-util.c path-util: introduce path_simplify() 2018-06-03 23:39:26 +09:00
mount-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
nss-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
ordered-set.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
ordered-set.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
os-util.c os-util: add helpers for finding /etc/os-release 2018-05-24 17:01:57 +02:00
os-util.h os-util: add helpers for finding /etc/os-release 2018-05-24 17:01:57 +02:00
pager.c pager: move pager.[ch] src/shared/ → src/basic/ 2018-04-18 12:35:45 +02:00
pager.h pager: move pager.[ch] src/shared/ → src/basic/ 2018-04-18 12:35:45 +02:00
parse-util.c basic: split parsing of the OOM score adjust value into its own function in parse-util.c 2018-05-17 20:47:21 +02:00
parse-util.h basic: split parsing of the OOM score adjust value into its own function in parse-util.c 2018-05-17 20:47:21 +02:00
path-util.c basic/path-util: use FLAGS_SET in one more place 2018-06-04 11:50:44 +02:00
path-util.h path-util: introduce path_simplify_and_warn() 2018-06-03 23:54:55 +09:00
prioq.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
prioq.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
proc-cmdline.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
proc-cmdline.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
process-util.c process-util: make use of delete_trailing_chars() in get_process_cmdline() 2018-06-06 11:58:18 +02:00
process-util.h process-util: add a new FORK_MOUNTNS_SLAVE flag for safe_fork() 2018-05-24 17:01:57 +02:00
procfs-util.c procfs-util: drop unnecessary zero initializations (#8321) 2018-03-01 11:27:06 +01:00
procfs-util.h procfs-util: add APIs to get consumed CPU time and used memory from /proc 2018-02-09 17:32:26 +01:00
random-util.c basic/random-util: do not use getrandom() under msan 2018-05-31 14:30:23 +02:00
random-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
ratelimit.c Rename ratelimit_test to ratelimit_below 2018-05-13 22:08:30 +02:00
ratelimit.h Rename ratelimit_test to ratelimit_below 2018-05-13 22:08:30 +02:00
raw-clone.h basic: set errno in raw_clone() on sparc 2018-06-02 09:48:19 +02:00
raw-reboot.h basic: add a common syscall wrapper around reboot() 2018-02-22 10:42:06 +01:00
reboot-util.c reboot-util: unify reboot with parameter in a single implementation 2018-02-22 10:46:26 +01:00
reboot-util.h reboot-util: unify reboot with parameter in a single implementation 2018-02-22 10:46:26 +01:00
refcnt.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
replace-var.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
replace-var.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
rlimit-util.c rlimit-util: tweak setrlimit_closest() a bit 2018-05-17 20:40:04 +02:00
rlimit-util.h rlimit-util: introduce setrlimit_closest_all() 2018-05-17 20:40:04 +02:00
rm-rf.c Add macro for checking if some flags are set 2018-06-04 11:50:44 +02:00
rm-rf.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
securebits-util.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
securebits-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
securebits.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
selinux-util.c tree-wide: fix a number of log calls that use %m but have no errno set 2018-06-07 15:29:17 +02:00
selinux-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
set.h set: drop unused set_make() function (#8879) 2018-05-02 10:54:52 +02:00
sigbus.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
sigbus.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
signal-util.c util: rename signal_from_string_try_harder() to signal_from_string() 2018-05-03 16:52:49 +09:00
signal-util.h util: rename signal_from_string_try_harder() to signal_from_string() 2018-05-03 16:52:49 +09:00
siphash24.c tree-wide: adjust fall through comments so that gcc is happy 2017-11-20 13:06:25 -08:00
siphash24.h shared: make sure foo.bar and foobar result in different domain name hashes 2016-01-11 19:39:59 +01:00
smack-util.c smack: make mac_smack_fix() deal somewhat sensible with non-absolute paths 2018-05-31 10:50:50 +02:00
smack-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
socket-label.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
socket-protocol-list.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
socket-protocol-list.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
socket-protocol-to-name.awk basic: introduce socket_protocol_{from,to}_name() 2017-12-23 19:32:04 +09:00
socket-util.c socket-util: rename parse_socket_address_bind_ipv6_only_or_bool() to socket_address_bind_ipv6_only_or_bool_from_string() 2018-05-31 11:09:41 +09:00
socket-util.h socket-util: rename parse_socket_address_bind_ipv6_only_or_bool() to socket_address_bind_ipv6_only_or_bool_from_string() 2018-05-31 11:09:41 +09:00
sparse-endian.h Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
special.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
stat-util.c os-util: add helpers for finding /etc/os-release 2018-05-24 17:01:57 +02:00
stat-util.h os-util: add helpers for finding /etc/os-release 2018-05-24 17:01:57 +02:00
stdio-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
strbuf.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
strbuf.h Introduce _cleanup_(strbuf_cleanupp) and use it to fix null deref on error 2018-05-10 01:36:50 +02:00
string-table.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
string-table.h tree-wide: remove some double newlines in headers, too 2018-05-22 16:13:45 +02:00
string-util.c string-util: put together strstrip() from skip_leading_chars() and delete_trailing_chars() 2018-06-06 11:58:38 +02:00
string-util.h basic/string-util: make ellipsize() inline 2018-06-02 21:53:25 +02:00
strv.c basic: use automatic cleanup more 2018-05-10 14:10:53 +02:00
strv.h tree-wide: be more careful with the type of array sizes 2018-04-27 14:29:06 +02:00
strxcpyx.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
strxcpyx.h tree-wide: remove some double newlines in headers, too 2018-05-22 16:13:45 +02:00
syslog-util.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
syslog-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
terminal-util.c util: tighten on_tty() check a bit, also check stderr 2018-06-06 00:01:22 +02:00
terminal-util.h terminal-util: add a function that shows a pretty separator line 2018-05-11 08:15:33 +02:00
time-util.c time-util: introduce common implementation of TFD_TIMER_CANCEL_ON_SET client code 2018-06-06 10:55:45 +02:00
time-util.h time-util: introduce common implementation of TFD_TIMER_CANCEL_ON_SET client code 2018-06-06 10:55:45 +02:00
umask-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
unaligned.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
unit-def.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
unit-def.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
unit-name.c path-util: introduce path_simplify() 2018-06-03 23:39:26 +09:00
unit-name.h unit-name: add new unit_name_build_from_type() helper 2018-04-13 11:34:48 +02:00
user-util.c user-util: trivial coding style fixes 2018-04-19 11:41:28 +02:00
user-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
utf8.c utf8: add helper call for counting display width of strings 2018-04-18 12:35:45 +02:00
utf8.h utf8: add helper call for counting display width of strings 2018-04-18 12:35:45 +02:00
util.c fileio: accept FILE* in addition to path in parse_env_file() 2018-05-24 17:01:57 +02:00
util.h util: add qsort_r_safe(), similar to qsort_safe() 2018-04-18 12:35:45 +02:00
verbs.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
verbs.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
virt.c virt: simplifications 2018-04-30 12:32:25 +02:00
virt.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
web-util.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
web-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
xattr-util.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
xattr-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
xml.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
xml.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00