Systemd/src/shared
Ronny Chevalier 98d7580046 conf-parser: parsing error logs should show a type not a vartype
Instead of this:
[filename:1] Failed to parse nsec_t value, ignoring: garbage

we show this:
[filename:1] Failed to parse nsec value, ignoring: garbage
2015-05-30 12:24:16 +02:00
..
linux missing: remove fanotify 2014-10-17 08:55:42 -04:00
.gitignore util: introduce our own gperf based capability list 2014-12-10 03:21:07 +01:00
Makefile
MurmurHash2.c
MurmurHash2.h
acl-util.c journalctl: rework code that checks whether we have access to /var/log/journal 2015-04-22 22:56:24 +02:00
acl-util.h journalctl: rework code that checks whether we have access to /var/log/journal 2015-04-22 22:56:24 +02:00
acpi-fpdt.c remove unused includes 2015-02-23 23:53:42 +01:00
acpi-fpdt.h
af-list.c core: add new RestrictAddressFamilies= switch 2014-02-26 02:19:28 +01:00
af-list.h core: add new RestrictAddressFamilies= switch 2014-02-26 02:19:28 +01:00
apparmor-util.c remove unused includes 2015-02-23 23:53:42 +01:00
apparmor-util.h mac: also rename use_{smack,selinux,apparmor}() calls so that they share the new mac_{smack,selinux,apparmor}_xyz() convention 2014-10-23 17:34:30 +02:00
architecture.c treewide: fix typos 2015-05-26 19:55:51 +02:00
architecture.h treewide: fix typos 2015-05-26 19:55:51 +02:00
arphrd-list.c remove unused includes 2015-02-23 23:53:42 +01:00
arphrd-list.h networkd: add minimal client tool "networkd" to query network status 2014-08-12 01:54:40 +02:00
ask-password-api.c util: split out signal-util.[ch] from util.[ch] 2015-05-29 20:14:11 +02:00
ask-password-api.h remove unused includes 2015-02-23 23:53:42 +01:00
async.c shared/async: simplify asynchronous_job a bit 2015-02-02 20:31:18 -05:00
async.h build-sys: move async.[ch] to src/shared 2014-05-05 21:19:06 +02:00
audit.c sd-bus: properly handle creds that are known but undefined for a process 2015-04-29 21:45:58 +02:00
audit.h sd-bus: properly handle creds that are known but undefined for a process 2015-04-29 21:45:58 +02:00
barrier.c treewide: Correct typos and spell plural of bus consistent 2015-05-11 15:51:30 +02:00
barrier.h Use space after a silencing (void) 2015-03-13 23:42:17 -04:00
base-filesystem.c nspawn: finish user namespace support 2015-05-21 16:32:01 +02:00
base-filesystem.h nspawn: finish user namespace support 2015-05-21 16:32:01 +02:00
blkid-util.h nspawn: add --image= switch to boot GPT disk images that follow the Discoverable Partitions Specification 2014-03-10 20:35:52 +01:00
boot-timestamps.c shared: boot-timestamps - remove ifdef 2015-04-10 19:55:49 +02:00
boot-timestamps.h
btrfs-ctree.h btrfs: support recursively removing btrfs snapshots 2015-04-06 11:28:16 +02:00
btrfs-util.c btrfs-util: support recursive removal of read-only subvolumes 2015-04-22 17:09:20 +02:00
btrfs-util.h btrfs-util: introduce btrfs_is_filesystem() and make use of it where appropriate 2015-04-22 13:27:53 +02:00
build.h build-sys: move core/build.h → shared/build.h 2014-12-23 21:05:28 +01:00
bus-label.c bus: implement bus_label_unescape_n() 2015-04-11 13:14:57 +02:00
bus-label.h bus: implement bus_label_unescape_n() 2015-04-11 13:14:57 +02:00
calendarspec.c shared: untabify 2015-02-10 12:34:11 +01:00
calendarspec.h
cap-list.c remove unused includes 2015-02-23 23:53:42 +01:00
cap-list.h test: do not use last cap from kernel in test-cap-list 2014-12-25 10:55:41 -05:00
capability.c fix gcc warnings about uninitialized variables 2015-03-27 14:57:38 +01:00
capability.h treewide: fix typos 2015-05-26 19:55:51 +02:00
cgroup-show.c shared: add terminal-util.[ch] 2015-04-11 00:34:02 +02:00
cgroup-show.h remove unused includes 2015-02-23 23:53:42 +01:00
cgroup-util.c path-util: Change path_is_mount_point() symlink arg from bool to flags 2015-05-29 17:42:44 +02:00
cgroup-util.h sd-bus,sd-login: add api for querying the slice within the the user systemd instance of a process 2015-04-30 11:58:06 +02:00
clean-ipc.c shared: add formats-util.h 2015-04-10 23:54:48 +02:00
clean-ipc.h logind: automatically remove SysV + POSIX IPC objects when the users owning them fully log out 2014-03-14 01:49:44 +01:00
clock-util.c remove unused includes 2015-02-23 23:53:42 +01:00
clock-util.h remove unused includes 2015-02-23 23:53:42 +01:00
condition.c path-util: Change path_is_mount_point() symlink arg from bool to flags 2015-05-29 17:42:44 +02:00
condition.h tree-wide: make condition_free_list return NULL 2014-12-18 19:26:21 -05:00
conf-files.c util: add generic calls for prefixing a root directory to a path 2015-05-13 17:42:10 +02:00
conf-files.h remove unused includes 2015-02-23 23:53:42 +01:00
conf-parser.c conf-parser: parsing error logs should show a type not a vartype 2015-05-30 12:24:16 +02:00
conf-parser.h log: move log_syntax() into src/shared/log.c, and make it more similar to the other log functions 2015-04-21 17:43:55 +02:00
copy.c util: merge change_attr_fd() and chattr_fd() 2015-04-08 20:47:35 +02:00
copy.h util: the chattr flags field is actually unsigned, judging by kernel sources 2015-01-14 23:18:33 +01:00
def.h importd: when listing transfers, show progress percentage 2015-01-23 01:17:55 +01:00
dev-setup.c nspawn: finish user namespace support 2015-05-21 16:32:01 +02:00
dev-setup.h nspawn: finish user namespace support 2015-05-21 16:32:01 +02:00
device-nodes.c device-nodes: minor simplifications 2015-04-10 16:23:46 +02:00
device-nodes.h
dropin.c core: rework unit name validation and manipulation logic 2015-05-05 15:06:42 -07:00
dropin.h Move dropin listing to shared 2014-12-16 00:30:33 -05:00
efivars.c shared: efivars - fix compile on non-EFI systems 2015-04-10 19:55:49 +02:00
efivars.h efivars: fix build for non-efi 2015-04-10 23:00:07 +02:00
env-util.c shared: move replace_env* from util to env-util 2015-04-11 00:34:03 +02:00
env-util.h shared: move replace_env* from util to env-util 2015-04-11 00:34:03 +02:00
errno-list.c remove unused includes 2015-02-23 23:53:42 +01:00
errno-list.h
ether-addr-util.h shared: add format helpers for printing MAC addresses 2014-12-02 14:31:16 +01:00
exit-status.c exit-status: introduce common exit_status_set_test() call for testing exit status set membership 2015-04-28 21:34:23 +02:00
exit-status.h exit-status: introduce common exit_status_set_test() call for testing exit status set membership 2015-04-28 21:34:23 +02:00
fdset.c treewide: fix typos 2015-05-26 19:55:51 +02:00
fdset.h remove unused includes 2015-02-23 23:53:42 +01:00
fileio-label.c remove unused includes 2015-02-23 23:53:42 +01:00
fileio-label.h Add function to open temp files in selinux mode 2014-07-13 21:11:07 -04:00
fileio.c fileio: simplify write_string_file_atomic() by reusing write_string_stream() 2014-11-07 01:19:56 +01:00
fileio.h copy: teach copy_bytes() sendfile() support, and then replace sendfile_full() by it 2014-11-07 01:19:56 +01:00
formats-util.h shared: add formats-util.h 2015-04-10 23:54:48 +02:00
fstab-util.c fstab-generator: add x-systemd.requires and x-systemd.requires-mounts-for 2015-05-18 16:07:52 +02:00
fstab-util.h fstab-generator: add x-systemd.requires and x-systemd.requires-mounts-for 2015-05-18 16:07:52 +02:00
fw-util.c tree-wide: there is no ENOTSUP on linux 2015-03-13 14:10:39 +01:00
fw-util.h tree-wide: there is no ENOTSUP on linux 2015-03-13 14:10:39 +01:00
generator.c shared: generator - correct path to systemd-fsck 2015-05-24 22:44:29 +02:00
generator.h generators: rename add_{root,usr}_mount to add_{sysroot,sysroot_usr}_mount 2015-05-04 08:45:07 -04:00
gpt.h #pragma once here and there 2015-01-23 09:30:44 -05:00
gunicode.c
gunicode.h #pragma once here and there 2015-01-23 09:30:44 -05:00
hashmap.c shared/hashmap: normalize whitespace 2015-04-12 16:59:04 -04:00
hashmap.h hashmap: return NULL from destructor 2015-04-11 13:14:41 +02:00
hostname-util.c hostname: Allow comments in /etc/hostname 2015-05-19 12:18:08 +02:00
hostname-util.h hostname: Allow comments in /etc/hostname 2015-05-19 12:18:08 +02:00
ima-util.c
ima-util.h
import-util.c shared/import-util: Tag renamed to reference 2015-05-19 18:21:46 +02:00
import-util.h shared/import-util: Tag renamed to reference 2015-05-19 18:21:46 +02:00
in-addr-util.c networkd: add minimal IP forwarding and masquerading support to .network files 2015-01-13 13:55:15 +01:00
in-addr-util.h networkd: add minimal IP forwarding and masquerading support to .network files 2015-01-13 13:55:15 +01:00
initreq.h
install-printf.c install: when exporting prefix InstallInfo to become UnitFileInstallInfo 2015-05-11 22:53:54 +02:00
install-printf.h install: when exporting prefix InstallInfo to become UnitFileInstallInfo 2015-05-11 22:53:54 +02:00
install.c systemctl: introduce --now for enable, disable and mask 2015-05-15 11:59:36 +02:00
install.h systemctl: introduce --now for enable, disable and mask 2015-05-15 11:59:36 +02:00
ioprio.h
json.c json: minor style fixes 2015-05-21 23:30:37 +02:00
json.h json: minor style fixes 2015-05-21 23:30:37 +02:00
label.c tmpfiles: add new line type 'v' for creating btrfs subvolumes 2014-12-28 02:08:40 +01:00
label.h tmpfiles: add new line type 'v' for creating btrfs subvolumes 2014-12-28 02:08:40 +01:00
list.h list: properly skip over first item in LIST_FOREACH_OTHERS 2015-01-28 14:04:23 +01:00
locale-util.c util: when using basename() for creating temporary files, verify the resulting name is actually valid 2014-12-12 13:35:32 +01:00
locale-util.h shared: add missing includes 2014-10-31 10:57:21 +01:00
lockfile-util.c lockfile-util.[ch]: Split out from util.[ch] 2015-05-05 22:35:29 -04:00
lockfile-util.h lockfile-util.[ch]: Split out from util.[ch] 2015-05-05 22:35:29 -04:00
log.c util: split out signal-util.[ch] from util.[ch] 2015-05-29 20:14:11 +02:00
log.h core,network: major per-object logging rework 2015-05-11 22:24:45 +02:00
login-shared.c core: rework cgroup path parse logic 2015-04-30 00:49:41 +02:00
login-shared.h #pragma once here and there 2015-01-23 09:30:44 -05:00
logs-show.c journalctl: clean up how we log errors 2015-05-19 00:26:48 +02:00
logs-show.h remove unused includes 2015-02-23 23:53:42 +01:00
machine-image.c Fix permissions on /run/systemd/nspawn/locks 2015-05-05 22:21:26 -04:00
machine-image.h lockfile-util.[ch]: Split out from util.[ch] 2015-05-05 22:35:29 -04:00
machine-pool.c util: split out signal-util.[ch] from util.[ch] 2015-05-29 20:14:11 +02:00
machine-pool.h importd: add new bus calls for importing local tar and raw images 2015-03-05 00:59:38 +01:00
macro.h shared: move assert_return_errno() from libudev 2015-04-16 16:47:23 +01:00
memfd-util.c remove unused includes 2015-02-23 23:53:42 +01:00
memfd-util.h remove unused includes 2015-02-23 23:53:42 +01:00
mempool.c mempool: add a zeroing alloc function 2014-10-30 19:50:50 +01:00
mempool.h mempool: add a zeroing alloc function 2014-10-30 19:50:50 +01:00
missing.h missing: add more IFLA_VXLAN_* defines 2015-05-27 15:57:28 +02:00
mkdir-label.c remove unused includes 2015-02-23 23:53:42 +01:00
mkdir.c shared/mkdir: do not set errno in addition to return value 2015-03-21 11:51:42 -04:00
mkdir.h remove unused includes 2015-02-23 23:53:42 +01:00
nss-util.h nss-util: be a tiny bit more compatible with glibc's lookup behaviour regarding IPv6 2014-07-17 19:39:50 +02:00
ordered-set.h util: add minimal OrderedSet type 2015-04-08 17:22:15 +02:00
output-mode.h journalctl: add --utc option 2014-10-02 14:52:32 +02:00
pager.c shared: add terminal-util.[ch] 2015-04-11 00:34:02 +02:00
pager.h systemd-verify: check man pages 2014-07-20 19:48:16 -04:00
path-lookup.c core: rename SystemdRunningAs to ManagerRunningAs 2015-05-11 22:51:49 +02:00
path-lookup.h install: when exporting prefix InstallInfo to become UnitFileInstallInfo 2015-05-11 22:53:54 +02:00
path-util.c path-util: Change path_is_mount_point() symlink arg from bool to flags 2015-05-29 17:42:44 +02:00
path-util.h path-util: Change path_is_mount_point() symlink arg from bool to flags 2015-05-29 17:42:44 +02:00
prioq.c resolved: fix crash when shutting down 2015-05-18 23:23:17 +02:00
prioq.h resolved: fix crash when shutting down 2015-05-18 23:23:17 +02:00
process-util.c util: split out signal-util.[ch] from util.[ch] 2015-05-29 20:14:11 +02:00
process-util.h shared: add process-util.[ch] 2015-04-10 23:54:49 +02:00
pty.c util: split out signal-util.[ch] from util.[ch] 2015-05-29 20:14:11 +02:00
pty.h remove unused includes 2015-02-23 23:53:42 +01:00
ptyfwd.c Use space after a silencing (void) 2015-03-13 23:42:17 -04:00
ptyfwd.h remove unused includes 2015-02-23 23:53:42 +01:00
random-util.c shared: add random-util.[ch] 2015-04-11 00:11:13 +02:00
random-util.h shared: add random-util.[ch] 2015-04-11 00:11:13 +02:00
ratelimit.c remove unused includes 2015-02-23 23:53:42 +01:00
ratelimit.h
refcnt.h
replace-var.c
replace-var.h
ring.c remove unused includes 2015-02-23 23:53:42 +01:00
ring.h remove unused includes 2015-02-23 23:53:42 +01:00
rm-rf.c path-util: Fix path_is_mount_point for files 2015-05-29 17:40:12 +02:00
rm-rf.h rm-rf: add support for recursively removing btrfs subvolumes 2015-04-06 10:57:53 +02:00
seccomp-util.c seccomp: add helper call to add all secondary archs to a seccomp filter 2014-02-18 22:14:00 +01:00
seccomp-util.h seccomp-util.h: make sure seccomp-util.h can be included alone 2014-12-12 13:35:32 +01:00
securebits.h
selinux-util.c selinux: fix SEGV during switch-root if SELinux policy loaded 2015-03-13 23:42:18 -04:00
selinux-util.h remove unused includes 2015-02-23 23:53:42 +01:00
set.h shared: set - make argument to set_remove() const 2015-04-01 14:45:22 +02:00
sigbus.c journald: process SIGBUS for the memory maps we set up 2015-01-05 01:40:51 +01:00
sigbus.h #pragma once here and there 2015-01-23 09:30:44 -05:00
signal-util.c util: split out signal-util.[ch] from util.[ch] 2015-05-29 20:14:11 +02:00
signal-util.h util: split out signal-util.[ch] from util.[ch] 2015-05-29 20:14:11 +02:00
siphash24.c
siphash24.h
sleep-config.c Assorted format fixes 2015-01-22 01:14:52 -05:00
sleep-config.h #pragma once here and there 2015-01-23 09:30:44 -05:00
smack-util.c shared: add process-util.[ch] 2015-04-10 23:54:49 +02:00
smack-util.h smack: introduce new SmackProcessLabel option 2014-11-24 10:20:53 -05:00
socket-label.c core: don't consider umask for SocketMode= 2015-05-15 16:36:28 +02:00
socket-util.c socket-util: socket_address_parse() should not log errors on its own 2015-05-15 20:15:59 +02:00
socket-util.h socket-util: socket_address_parse() should not log errors on its own 2015-05-15 20:15:59 +02:00
sparse-endian.h shared/sparse-endian.h: add missing byteswap.h include 2014-09-19 00:27:42 +02:00
spawn-ask-password-agent.c shared: add process-util.[ch] 2015-04-10 23:54:49 +02:00
spawn-ask-password-agent.h
spawn-polkit-agent.c shared: add process-util.[ch] 2015-04-10 23:54:49 +02:00
spawn-polkit-agent.h
special.h everywhere: remove configurability of sysv runlevel to target mapping 2015-02-18 20:20:14 +01:00
specifier.c util: split all hostname related calls into hostname-util.c 2015-05-18 17:10:07 +02:00
specifier.h
strbuf.c
strbuf.h remove unused includes 2015-02-23 23:53:42 +01:00
strv.c util: rework word parsing and c unescaping code 2015-03-26 11:56:22 +01:00
strv.h util: rework word parsing and c unescaping code 2015-03-26 11:56:22 +01:00
strxcpyx.c
strxcpyx.h remove unused includes 2015-02-23 23:53:42 +01:00
switch-root.c nspawn: finish user namespace support 2015-05-21 16:32:01 +02:00
switch-root.h use the switch_root function in shutdown 2014-08-28 15:25:15 +02:00
sysctl-util.c sysctl: minor simplifications 2015-04-24 19:56:47 +02:00
sysctl-util.h sysctl: move property handling to shared/ 2015-03-11 10:37:45 +01:00
terminal-util.c sd-bus: properly handle creds that are known but undefined for a process 2015-04-29 21:45:58 +02:00
terminal-util.h shared: add terminal-util.[ch] 2015-04-11 00:34:02 +02:00
test-tables.h test: use assert_se() when testing tables so that we get a useful error when something fails 2014-10-28 18:07:23 +01:00
time-util.c core: make unit deserialization more defensive 2015-04-21 20:23:41 +02:00
time-util.h core: make unit deserialization more defensive 2015-04-21 20:23:41 +02:00
udev-util.h udevd: make udev_ctrl_connection global 2015-05-12 00:43:45 +02:00
uid-range.c treewide: introduce UID_INVALID (and friends) as macro for (uid_t) -1 2014-11-28 20:55:04 +01:00
uid-range.h Add missing includes in header files 2015-02-12 20:44:32 +01:00
unaligned.h shared: unaligned - use void* instead of unaligned be16_t* 2014-11-05 16:54:22 +01:00
unit-name.c core: introduce seperate reverse dependencies for Requires= and Requisite= 2015-05-19 01:24:28 +02:00
unit-name.h core: introduce seperate reverse dependencies for Requires= and Requisite= 2015-05-19 01:24:28 +02:00
utf8.c util: when unescaping C escape sequences support C++11 \u and \U unicode literals 2015-04-10 11:28:34 +02:00
utf8.h util: when unescaping C escape sequences support C++11 \u and \U unicode literals 2015-04-10 11:28:34 +02:00
util.c util: split out signal-util.[ch] from util.[ch] 2015-05-29 20:14:11 +02:00
util.h util: split out signal-util.[ch] from util.[ch] 2015-05-29 20:14:11 +02:00
utmp-wtmp.c util: split all hostname related calls into hostname-util.c 2015-05-18 17:10:07 +02:00
utmp-wtmp.h shared/utmp-wtmp: fix copy/paste error 2015-05-05 23:41:10 -04:00
verbs.c verbs: fix typo in error message 2014-12-22 08:21:50 -05:00
verbs.h util: add generalization of verb parsing for command line tools 2014-12-19 02:07:42 +01:00
virt.c shared: add process-util.[ch] 2015-04-10 23:54:49 +02:00
virt.h virt: make Virtualization an anonymous enum 2014-02-24 13:26:44 +01:00
watchdog.c treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
watchdog.h
xml.c bus: add basic dbus1 policy parser 2014-06-06 19:41:24 +02:00
xml.h shared: add minimal JSON tokenizer 2014-12-15 22:27:15 +01:00