Merge pull request #8144 from poettering/journal-inotify-fixes

various journal fixes
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2018-02-14 13:52:17 +01:00
committed by GitHub
29 changed files with 504 additions and 152 deletions
+4 -2
View File
@@ -383,9 +383,11 @@ static void load_unix_sockets(void) {
/* We maintain a cache of the sockets we found in /proc/net/unix to speed things up a little. */
unix_sockets = set_new(&string_hash_ops);
if (!unix_sockets)
unix_sockets = set_new(&path_hash_ops);
if (!unix_sockets) {
log_oom();
return;
}
f = fopen("/proc/net/unix", "re");
if (!f) {