Systemd/src/basic
Lennart Poettering c89f52ac69 core: fix dependency parsing
3d793d2905 broke parsing of unit file
names that include backslashes, as extract_first_word() strips those.
Fix this, by introducing a new EXTRACT_RETAIN_ESCAPE flag which disables
looking at any flags, thus being compatible with the classic
FOREACH_WORD() behaviour.
2015-11-11 22:53:05 +01:00
..
linux build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
.gitignore build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
Makefile build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
MurmurHash2.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
MurmurHash2.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
af-list.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
af-list.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
alloc-util.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
alloc-util.h util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
arphrd-list.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
arphrd-list.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
async.c util-lib: split out fd-related operations into fd-util.[ch] 2015-10-25 13:19:18 +01:00
async.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
audit-util.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
audit-util.h src/basic: rename audit.[ch] → audit-util.[ch] and capability.[ch] → capability-util.[ch] 2015-10-27 13:25:57 +01:00
barrier.c util-lib: split out fd-related operations into fd-util.[ch] 2015-10-25 13:19:18 +01:00
barrier.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
bitmap.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
bitmap.h bitmap: use external iterator 2015-07-16 14:11:12 +02:00
blkid-util.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
btrfs-ctree.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
btrfs-util.c tmpfiles: don't consider it a problem if quota is not enabled on btrfs 2015-11-10 21:41:22 +01:00
btrfs-util.h btrfs: beef-up btrfs support with a limited understanding of quota 2015-10-22 01:59:25 +02:00
build.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
bus-label.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
bus-label.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
calendarspec.c time-util: add parse_time(), which is like parse_sec() but allows specification of default time unit if none is specified 2015-11-10 17:31:31 +01:00
calendarspec.h basic: calendarspec UTC support 2015-10-15 02:57:59 +03:00
cap-list.c util-lib: split string parsing related calls from util.[ch] into parse-util.[ch] 2015-10-27 13:25:55 +01:00
cap-list.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
capability-util.c treewide: apply errno.cocci 2015-11-09 20:01:06 +01:00
capability-util.h src/basic: rename audit.[ch] → audit-util.[ch] and capability.[ch] → capability-util.[ch] 2015-10-27 13:25:57 +01:00
cgroup-util.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
cgroup-util.h cgroup: add support for net_cls controllers 2015-09-16 00:21:55 +02:00
chattr-util.c util-lib: split out file attribute calls to chattr-util.[ch] 2015-10-27 13:25:56 +01:00
chattr-util.h util-lib: split out file attribute calls to chattr-util.[ch] 2015-10-27 13:25:56 +01:00
clock-util.c util-lib: split out fd-related operations into fd-util.[ch] 2015-10-25 13:19:18 +01:00
clock-util.h util-lib: split out fd-related operations into fd-util.[ch] 2015-10-25 13:19:18 +01:00
conf-files.c util-lib: introduce dirent-util.[ch] for directory entry calls 2015-10-27 13:25:56 +01:00
conf-files.h nspawn: add new .nspawn files for container settings 2015-09-06 01:49:06 +02:00
copy.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
copy.h tree-wide: never use the off_t unless glibc makes us use it 2015-09-10 18:16:18 +02:00
cpu-set-util.c util-lib: move character class definitions to string-util.h 2015-11-03 17:45:11 +01:00
cpu-set-util.h basic: split out cpu set specific APIs into cpu-set-util.[ch] 2015-09-30 22:26:16 +02:00
def.h defs: rework CONF_DIRS_NULSTR() macro 2015-11-10 17:31:31 +01:00
device-nodes.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
device-nodes.h util-lib: move fstab_node_to_udev_node() to fstab-util.[ch] 2015-10-27 13:25:55 +01:00
dirent-util.c util-lib: introduce dirent-util.[ch] for directory entry calls 2015-10-27 13:25:56 +01:00
dirent-util.h util-lib: introduce dirent-util.[ch] for directory entry calls 2015-10-27 13:25:56 +01:00
env-util.c systemctl: add a way to explicitly request client-side unit installing 2015-10-31 19:09:20 +01:00
env-util.h systemctl: add a way to explicitly request client-side unit installing 2015-10-31 19:09:20 +01:00
errno-list.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
errno-list.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
escape.c util-lib: move character class definitions to string-util.h 2015-11-03 17:45:11 +01:00
escape.h util: split out escaping code into escape.[ch] 2015-10-24 23:04:42 +02:00
ether-addr-util.c util-lib: move ether_addr_to_string() into ether-addr-util.c 2015-10-26 01:24:39 +01:00
ether-addr-util.h util-lib: move ether_addr_to_string() into ether-addr-util.c 2015-10-26 01:24:39 +01:00
exit-status.c exit-status: add a missing string for EXIT_SMACK_PROCESS_LABEL 2015-07-24 14:51:05 +09:00
exit-status.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
extract-word.c core: fix dependency parsing 2015-11-11 22:53:05 +01:00
extract-word.h core: fix dependency parsing 2015-11-11 22:53:05 +01:00
fd-util.c util-lib: move fdname_is_valid() to fd-util.[ch] 2015-10-27 14:57:44 +01:00
fd-util.h util-lib: move fdname_is_valid() to fd-util.[ch] 2015-10-27 14:57:44 +01:00
fdset.c core: constify a few things 2015-10-31 19:09:20 +01:00
fdset.h core: constify a few things 2015-10-31 19:09:20 +01:00
fileio-label.c fileio: consolidate write_string_file*() 2015-07-06 19:19:25 -04:00
fileio-label.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
fileio.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
fileio.h util-lib: move more file I/O related calls into fileio.[ch] 2015-10-27 13:25:55 +01:00
formats-util.h util-lib: move formats-util.h from shared/ to basic/ 2015-10-25 13:19:18 +01:00
fs-util.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
fs-util.h util-lib: move inotify-related definitions to fs-util.[ch] 2015-10-27 14:58:05 +01:00
glob-util.c util-lib: move character class definitions to string-util.h 2015-11-03 17:45:11 +01:00
glob-util.h util-lib: move character class definitions to string-util.h 2015-11-03 17:45:11 +01:00
gunicode.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
gunicode.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
hashmap.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
hashmap.h hashmap: refactor hash_func 2015-10-05 18:22:10 +02:00
hexdecoct.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
hexdecoct.h util-lib: split out hex/dec/oct encoding/decoding into its own file 2015-10-27 13:25:55 +01:00
hostname-util.c util-lib: move more file I/O related calls into fileio.[ch] 2015-10-27 13:25:55 +01:00
hostname-util.h util: make machine_name_is_valid() a macro and move it to hostname-util.h 2015-08-24 22:46:45 +02:00
in-addr-util.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
in-addr-util.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
io-util.c util-lib: split out IO related calls to io-util.[ch] 2015-10-26 01:24:38 +01:00
io-util.h io-util.h: move iovec stuff from macro.h to io-util.h 2015-10-27 13:25:57 +01:00
ioprio.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
json.c Revert "utf8.[ch]: use char32_t and char16_t instead of int, int32_t, int16_t" 2015-11-02 11:21:25 +01:00
json.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
label.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
label.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
list.h basic: add LIST_INSERT_BEFORE 2015-08-04 03:23:43 -07:00
locale-util.c util-lib: move more locale-related calls to locale-util.[ch] 2015-10-27 13:25:56 +01:00
locale-util.h util-lib: move more locale-related calls to locale-util.[ch] 2015-10-27 13:25:56 +01:00
lockfile-util.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
lockfile-util.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
log.c log: whitespace style fix 2015-11-05 13:44:03 +01:00
log.h util-lib: split our string related calls from util.[ch] into its own file string-util.[ch] 2015-10-24 23:05:02 +02:00
login-util.c util-lib: split our string related calls from util.[ch] into its own file string-util.[ch] 2015-10-24 23:05:02 +02:00
login-util.h util: move logind_running() to login-util.[ch] 2015-10-24 23:30:40 +02:00
macro.h util-lib: move CONF_DIRS_NULSTR definition to def.h 2015-11-03 17:45:11 +01:00
memfd-util.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
memfd-util.h util-lib: split out fd-related operations into fd-util.[ch] 2015-10-25 13:19:18 +01:00
mempool.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
mempool.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
missing.h sd-netlink: add support for RTA_PREF 2015-11-11 15:42:38 +01:00
mkdir-label.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
mkdir.c user-util: move UID/GID related macros from macro.h to user-util.h 2015-10-27 13:25:57 +01:00
mkdir.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
mount-util.c automount: move generically userful call repeat_mount() into mount-util.[ch] 2015-10-27 14:25:58 +01:00
mount-util.h automount: move generically userful call repeat_mount() into mount-util.[ch] 2015-10-27 14:25:58 +01:00
ordered-set.h hashmap: fix iterators to not skip entries 2015-06-14 16:56:02 +02:00
parse-util.c parse-util: really refuse parsing negative values as positive ones, even on x86-32 2015-11-10 17:36:52 +01:00
parse-util.h parse-util: introduce parse_ifindex() and make use of it everywhere 2015-11-03 00:02:00 +01:00
path-util.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
path-util.h util-lib: split stat()/statfs()/stavfs() related calls into stat-util.[ch] 2015-10-27 13:25:56 +01:00
prioq.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
prioq.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
proc-cmdline.c Merge pull request #1744 from evverx/fix-debug-generator 2015-11-03 13:04:06 +01:00
proc-cmdline.h proc-cmdline: add runlevel to target mapping 2015-11-03 14:09:03 +03:00
process-util.c process-util: move a couple of process-related calls over 2015-10-27 14:24:58 +01:00
process-util.h process-util: move a couple of process-related calls over 2015-10-27 14:24:58 +01:00
random-util.c util-lib: split out IO related calls to io-util.[ch] 2015-10-26 01:24:38 +01:00
random-util.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
ratelimit.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
ratelimit.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
refcnt.h basic: document that people shouldn't use refcnt.h without reason 2015-08-26 21:04:38 +02:00
replace-var.c util-lib: move character class definitions to string-util.h 2015-11-03 17:45:11 +01:00
replace-var.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
rlimit-util.c util-lib: move string table stuff into its own string-table.[ch] 2015-10-27 13:25:56 +01:00
rlimit-util.h util-lib: split out resource limits related calls into rlimit-util.[ch] 2015-10-27 13:25:56 +01:00
rm-rf.c util-lib: split stat()/statfs()/stavfs() related calls into stat-util.[ch] 2015-10-27 13:25:56 +01:00
rm-rf.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
securebits.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
selinux-util.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
selinux-util.h selinux: add _cleanup_ concepts to SELinux label allocation 2015-09-29 21:55:51 +02:00
set.h set: return NULL on destructors 2015-09-01 17:20:56 +02:00
sigbus.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
sigbus.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
signal-util.c util-lib: move string table stuff into its own string-table.[ch] 2015-10-27 13:25:56 +01:00
signal-util.h util-lib: split string parsing related calls from util.[ch] into parse-util.[ch] 2015-10-27 13:25:55 +01:00
siphash24.c siphash24: coding-style fixes 2015-10-06 17:47:00 +02:00
siphash24.h siphash24: unify API 2015-10-06 17:47:00 +02:00
smack-util.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
smack-util.h smack: label /etc/passwd and friends as '_' smack label when --with-smack-run-label' is enabled 2015-10-07 16:37:25 +09:00
socket-label.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
socket-util.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
socket-util.h socket-util: move CMSG_FOREACH() from macro.h to socket-util.h 2015-10-27 13:25:57 +01:00
sparse-endian.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
special.h core: unified cgroup hierarchy support 2015-09-01 23:52:27 +02:00
stat-util.c util-lib: split stat()/statfs()/stavfs() related calls into stat-util.[ch] 2015-10-27 13:25:56 +01:00
stat-util.h mount-util: move fstype_is_network() and name_to_handle_at() definitions over 2015-10-27 13:45:53 +01:00
stdio-util.h util-lib: split out printf() helpers to stdio-util.h 2015-10-27 13:25:57 +01:00
strbuf.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
strbuf.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
string-table.c util-lib: move string table stuff into its own string-table.[ch] 2015-10-27 13:25:56 +01:00
string-table.h util-lib: move string table stuff into its own string-table.[ch] 2015-10-27 13:25:56 +01:00
string-util.c util-lib: move character class definitions to string-util.h 2015-11-03 17:45:11 +01:00
string-util.h util-lib: move character class definitions to string-util.h 2015-11-03 17:45:11 +01:00
strv.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
strv.h util: split out extract_first_word() and related calls into extract-word.[ch] 2015-10-24 23:03:49 +02:00
strxcpyx.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
strxcpyx.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
syslog-util.c util-lib: split out syslog-related calls into syslog-util.[ch] 2015-10-27 13:25:57 +01:00
syslog-util.h util-lib: split out syslog-related calls into syslog-util.[ch] 2015-10-27 13:25:57 +01:00
terminal-util.c doc: correct punctuation and improve typography in documentation 2015-11-06 13:00:02 +01:00
terminal-util.h util-lib: move status printing stuff into src/core/ 2015-10-27 13:25:56 +01:00
time-util.c time-util: add parse_time(), which is like parse_sec() but allows specification of default time unit if none is specified 2015-11-10 17:31:31 +01:00
time-util.h time-util: add parse_time(), which is like parse_sec() but allows specification of default time unit if none is specified 2015-11-10 17:31:31 +01:00
umask-util.h util-lib: split out umask-related code to umask-util.h 2015-10-27 13:25:56 +01:00
unaligned.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
unit-name.c Remove snapshot unit type 2015-11-10 19:33:06 -05:00
unit-name.h Remove snapshot unit type 2015-11-10 19:33:06 -05:00
user-util.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
user-util.h user-util: move UID/GID related macros from macro.h to user-util.h 2015-10-27 13:25:57 +01:00
utf8.c Revert "utf8.[ch]: use char32_t and char16_t instead of int, int32_t, int16_t" 2015-11-02 11:21:25 +01:00
utf8.h Revert "utf8.[ch]: use char32_t and char16_t instead of int, int32_t, int16_t" 2015-11-02 11:21:25 +01:00
util.c util-lib: move fdname_is_valid() to fd-util.[ch] 2015-10-27 14:57:44 +01:00
util.h util-lib: move character class definitions to string-util.h 2015-11-03 17:45:11 +01:00
verbs.c util-lib: split our string related calls from util.[ch] into its own file string-util.[ch] 2015-10-24 23:05:02 +02:00
verbs.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
virt.c virt: make sure that we detect unknown container managers as VIRTUALIZATION_CONTAINER_OTHER 2015-11-10 17:31:30 +01:00
virt.h detect-virt: add rkt app container runtime 2015-11-09 16:40:35 +01:00
web-util.c util-lib: move web-related calls into web-util.[ch] 2015-10-27 13:25:57 +01:00
web-util.h util-lib: move web-related calls into web-util.[ch] 2015-10-27 13:25:57 +01:00
xattr-util.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
xattr-util.h util-lib: split xattr-related calls into xattr-util.[ch] 2015-10-27 13:25:56 +01:00
xml.c util-lib: split our string related calls from util.[ch] into its own file string-util.[ch] 2015-10-24 23:05:02 +02:00
xml.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00