Systemd/src/basic
Zbigniew Jędrzejewski-Szmek 309c6b19a7 Remove string_erase 2019-07-10 14:43:44 +02:00
..
linux linux: update headers from current kernel master 2019-05-16 10:24:47 +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 alloc-util: reintroduce malloc_usable_size() into greedy_realloc() 2019-05-02 14:53:40 +02:00
alloc-util.h alloc-util: typo fix 2019-03-20 10:48:33 +01: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 tree-wide: drop several missing_*.h and import relevant headers from kernel-5.0 2019-04-11 19:00:37 +02:00
arphrd-list.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
arphrd-to-name.awk meson: also indent scripts with 8 spaces 2017-04-25 08:49:16 -04: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-util: let us know if block_get_whole_disk() did anything 2019-07-04 00:01:09 +02:00
blockdev-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
btrfs-util.c tree-wide: replace strjoin() with path_join() 2019-06-21 03:26:16 +09:00
btrfs-util.h tree-wide: always declare bitflag enums the same way 2019-01-07 17:50:39 +01:00
build.h meson: generate version tag from git 2018-12-21 13:43:20 +01:00
bus-label.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
bus-label.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
cap-list.c Rename EXTRACT_QUOTES to EXTRACT_UNQUOTE 2019-06-28 11:35:05 +02: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 nspawn: don't hard fail when setting capabilities 2019-06-20 21:46:36 +02:00
capability-util.h nspawn: don't hard fail when setting capabilities 2019-06-20 21:46:36 +02:00
cgroup-util.c Merge pull request #12836 from yuwata/tree-wide-replace-strjoin 2019-06-22 20:02:46 +02:00
cgroup-util.h service: make killmode=cgroup|mixed, SendSIGKILL=no services singletons 2019-01-29 15:35:59 +11: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 Merge pull request #12836 from yuwata/tree-wide-replace-strjoin 2019-06-22 20:02:46 +02:00
conf-files.h conf-files: remove unused function 2018-11-30 16:56:35 +01:00
copy.c tree-wide: replace strjoin() with path_join() 2019-06-21 03:26:16 +09:00
copy.h util-lib: when copying files make sure to apply some chattrs early, some late 2019-03-28 18:43:04 +01:00
def.h util: don't include util.h from def.h 2019-03-14 13:25:51 +01: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
env-file.c Make fopen_temporary and fopen_temporary_label unlocked 2019-04-12 11:44:56 +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 Rename EXTRACT_QUOTES to EXTRACT_UNQUOTE 2019-06-28 11:35:05 +02: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: add new ERRNO_IS_ACCEPT_AGAIN() test 2019-04-10 20:03:38 +02:00
escape.c Add 8bit-version of get_process_cmdline() and use in cgroup-show.c 2019-05-22 10:16:00 +02:00
escape.h Add 8bit-version of get_process_cmdline() and use in cgroup-show.c 2019-05-22 10:16:00 +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 Rename EXTRACT_QUOTES to EXTRACT_UNQUOTE 2019-06-28 11:35:05 +02:00
extract-word.h Rename EXTRACT_QUOTES to EXTRACT_UNQUOTE 2019-06-28 11:35:05 +02:00
fd-util.c codespell: fix spelling errors 2019-04-29 16:47:18 +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 tree-wide: replace strjoin() with path_join() 2019-06-21 03:26:16 +09:00
fileio.h fileio: add new WRITE_STRING_FILE_MKDIR_0755 flag for mkdir'ing parent 2019-05-08 06:36:20 -04:00
format-util.c util,test: rename variable non_iec -> si 2019-06-27 10:17:20 +09:00
format-util.h util: introduce format_bytes_full() 2019-06-19 23:15:19 +09:00
fs-util.c tree-wide: replace strjoin() with path_join() 2019-06-24 23:59:38 +09:00
fs-util.h util: introduce PTR_TO_MODE and MODE_TO_PTR macros 2019-05-30 21:08:51 +09:00
gcrypt-util.c Remove variable only used for an assert 2019-03-28 09:03:06 +01: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 headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
glob-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +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 hashmap: use ternary op to shorten code 2018-12-18 12:04:00 +01:00
hash-funcs.h hash-func: add destructors for key and value 2018-12-02 11:59:07 +01:00
hashmap.c hashmap: avoid using TLS in a destructor 2019-06-18 13:59:12 +02:00
hashmap.h hashmap: add hashmap_free_free_keyp and friend 2019-03-13 14:29:03 +09:00
hexdecoct.c util: extend unhexmem() to accept secure flag 2019-04-12 10:10:24 +09:00
hexdecoct.h util: extend unhexmem() to accept secure flag 2019-04-12 10:10:24 +09:00
hostname-util.c basic/hostname-util: do truncation last when cleaning up 2018-12-10 09:56:56 +01:00
hostname-util.h Partially unify hostname_is_valid() and dns_name_is_valid() 2018-12-10 09:56:56 +01:00
in-addr-util.c util: introduce in6_addr_hash_ops 2019-05-18 12:27:27 +09:00
in-addr-util.h util: introduce in6_addr_hash_ops 2019-05-18 12:27:27 +09:00
io-util.c io-util: introduce iovw_put_string_field() helper 2019-06-27 19:14:27 +02: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: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
khash.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
label.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
label.h basic/label: introduce mkdirat_label()/mkdirat_errno_wrapper() helpers 2018-07-30 15:54:03 +02:00
limits-util.c util: split out memcmp()/memset() related calls into memory-util.[ch] 2019-03-13 12:16:43 +01: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 codespell: fix spelling errors 2019-04-29 16:47:18 +02:00
locale-util.h util: split out kbd related stuff 2019-03-14 13:25:51 +01:00
log.c basic/log: use colors to highlight messages like journalctl 2019-05-08 09:45:38 +02:00
log.h log: expose log_object_internalv() 2019-03-21 23:37:39 +09:00
login-util.c Drop my copyright headers 2018-06-14 13:03:20 +02:00
login-util.h Drop my copyright headers 2018-06-14 13:03:20 +02:00
macro.h shared/utmp-wtmp: silence gcc warning about strncpy truncation 2019-05-07 21:05:26 +02:00
memfd-util.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02: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 test: add _cleanup_(erase_and_freep) 2019-07-10 11:39:03 +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 util: introduce format_ifname() 2019-05-29 14:21:19 +09:00
missing.h tree-wide: drop several missing_*.h and import relevant headers from kernel-5.0 2019-04-11 19:00:37 +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: move entries defined in magic.h to missing_magic.h 2018-12-04 07:55:23 +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 missing: move rand related definitions to missing_random.h 2018-12-06 13:26:55 +01: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 socket-util: add wrappers for binding socket to ifindex/ifname 2019-03-18 12:02:32 +01: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 core: introduce NUMAPolicy and NUMAMask options 2019-06-24 16:58:54 +02: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
mkdir-label.c basic/label: introduce mkdirat_label()/mkdirat_errno_wrapper() helpers 2018-07-30 15:54:03 +02:00
mkdir.c headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
mkdir.h basic/label: introduce mkdirat_label()/mkdirat_errno_wrapper() helpers 2018-07-30 15:54:03 +02:00
mountpoint-util.c basic/mountpoint-util: whitelist 'exfat' in fstype_can_uid_gid 2019-05-06 16:43:22 +02: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 namespace-util: make use of TAKE_FD() 2019-06-18 07:54:51 +02: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 tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02: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 missing ordered_set_size() 2019-04-13 17:52:00 +09:00
parse-util.c util: introduce format_bytes_full() 2019-06-19 23:15:19 +09:00
parse-util.h util: introduce format_bytes_full() 2019-06-19 23:15:19 +09:00
path-util.c Merge pull request #12836 from yuwata/tree-wide-replace-strjoin 2019-06-22 20:02:46 +02:00
path-util.h path-util: fix an issue when the path argument of prefix_roota() is not absolute 2019-06-24 23:37:11 +09:00
plymouth-util.c util: split out plymouth related stuff 2019-03-14 13:25:51 +01:00
plymouth-util.h util: split out plymouth related stuff 2019-03-14 13:25:51 +01: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 Rename EXTRACT_QUOTES to EXTRACT_UNQUOTE 2019-06-28 11:35:05 +02:00
proc-cmdline.h proc-cmdline: introduce new proc_cmdline_get_key_many() helper 2018-11-14 17:01:54 +01:00
process-util.c Merge pull request #12628 from keszybz/dbus-execute 2019-05-30 12:32:53 +02:00
process-util.h Merge pull request #12628 from keszybz/dbus-execute 2019-05-30 12:32:53 +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
random-util.c random-util: add a longer comment explaining our RDRAND use 2019-05-16 19:23:08 +02:00
random-util.h random-util: rename RANDOM_DONT_DRAIN → RANDOM_MAY_FAIL 2019-05-07 17:30:40 -04:00
ratelimit.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
ratelimit.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +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: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
replace-var.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
rlimit-util.c move src/shared/rlimit-util.[ch] → src/basic/ 2018-12-01 12:50:45 +01:00
rlimit-util.h move src/shared/rlimit-util.[ch] → src/basic/ 2018-12-01 12:50:45 +01:00
rm-rf.c rm-rf: simplify rm_rf_children() a bit by using _cleanup_close_ 2019-04-29 16:21:01 +02:00
rm-rf.h util: split out errno related stuff 2019-03-14 13:25:51 +01:00
selinux-util.c headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
selinux-util.h selinux: introduce mac_selinux_create_file_prepare_at() 2018-07-30 15:54:03 +02:00
set.h hash-func: add destructors for key and value 2018-12-02 11:59:07 +01: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 tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
signal-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02: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 tree-wide: set WRITE_STRING_FILE_DISABLE_BUFFER flag when we write files under /proc or /sys 2018-11-06 21:24:03 +09:00
smack-util.h smack: introduce mac_smack_fix_at() 2018-07-30 15:54:03 +02:00
socket-label.c tree-wide: port various users over to socket_bind_to_ifindex() 2019-03-18 12:02:32 +01:00
socket-util.c tree-wide: replace if_indextoname() with format_ifname() 2019-05-29 14:21:19 +09:00
socket-util.h socket-util.h: include string.h 2019-05-17 09:38:06 +03: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 Define macro for systemd-fsck-root.service 2019-01-03 15:31:03 +01:00
stat-util.c util: split out namespace related stuff into a new namespace-util.[ch] pair 2019-03-13 12:16:38 +01:00
stat-util.h headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
static-destruct.h Merge pull request #11031 from poettering/gcc-attr-cleanup 2018-12-03 21:59:00 +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 string-table: use string_table_lookup() in our own macros everywhere 2019-03-22 12:21:12 +01:00
string-util.c Remove string_erase 2019-07-10 14:43:44 +02:00
string-util.h Remove string_erase 2019-07-10 14:43:44 +02:00
strv.c Remove string_erase 2019-07-10 14:43:44 +02:00
strv.h headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01: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 syslog: fix segfault in syslog_parse_priority() 2018-08-08 18:27:15 +09:00
syslog-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
terminal-util.c tree-wide: use _cleanup_ attribute and strv_consume() + TAKE_PTR() 2019-06-24 14:57:58 +09:00
terminal-util.h terminal-util: introduce openpt_allocate() 2019-06-18 09:26:31 +02:00
time-util.c basic/time-util: make output argument optional 2019-05-21 09:56:41 +02:00
time-util.h time-util: Introduce parse_sec_def_infinity 2019-02-14 11:04:42 -08:00
tmpfile-util.c tree-wide: replace strjoin() with path_join() 2019-06-21 03:26:16 +09: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 Make Watchdog Signal Configurable 2018-09-26 16:14:29 +02:00
unit-def.h Make Watchdog Signal Configurable 2018-09-26 16:14:29 +02:00
unit-name.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
unit-name.h tree-wide: always declare bitflag enums the same way 2019-01-07 17:50:39 +01:00
user-util.c user-util: add generic make_salt() API 2019-04-29 20:26:38 +02:00
user-util.h user-util: add generic make_salt() API 2019-04-29 20:26:38 +02:00
utf8.c basic/utf8: reduce memory usage 2019-05-22 10:22:20 +02: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: move display_is_local() to pam_systemd.c, its only user 2019-03-14 13:25:51 +01:00
util.h headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
virt.c util: use extract_first_word() instead of strsep() 2019-06-20 06:51:34 +09:00
virt.h basic/virt: treat "podman" as separate container type 2019-04-29 15:36:26 +02:00
xattr-util.c Add a work-around for memsan 2019-02-21 14:05:10 +01:00
xattr-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00