Systemd/src/journal
Zbigniew Jędrzejewski-Szmek cc5549ca12 scripts: use 4 space indentation
We had all kinds of indentation: 2 sp, 3 sp, 4 sp, 8 sp, and mixed.
4 sp was the most common, in particular the majority of scripts under test/
used that. Let's standarize on 4 sp, because many commandlines are long and
there's a lot of nesting, and with 8sp indentation less stuff fits. 4 sp
also seems to be the default indentation, so this will make it less likely
that people will mess up if they don't load the editor config. (I think people
often use vi, and vi has no support to load project-wide configuration
automatically. We distribute a .vimrc file, but it is not loaded by default,
and even the instructions in it seem to discourage its use for security
reasons.)

Also remove the few vim config lines that were left. We should either have them
on all files, or none.

Also remove some strange stuff like '#!/bin/env bash', yikes.
2019-04-12 08:30:31 +02:00
..
audit-type.c journal: use missing_audit.h to generate audit_type-list.txt 2018-12-07 11:48:37 +09:00
audit-type.h tree-wide: use newa() instead of alloca() wherever we can 2019-01-26 16:17:04 +01:00
audit_type-to-name.awk meson: also indent scripts with 8 spaces 2017-04-25 08:49:16 -04:00
cat.c cat: add --stderr-priority option 2019-01-08 10:37:20 +01:00
catalog.c headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
catalog.h headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
compress.c headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
compress.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
fsprg.c util: split out memcmp()/memset() related calls into memory-util.[ch] 2019-03-13 12:16:43 +01:00
fsprg.h tree-wide: use '#pragma once' for header guard 2018-08-30 06:10:43 +03:00
generate-audit_type-list.sh scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
journal-authenticate.c headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
journal-authenticate.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
journal-def.h journal: drop _packed_ attribute in a few places 2019-02-04 20:32:44 +01:00
journal-file.c journal-remote: use source's boot-id 2019-04-02 10:32:21 +02:00
journal-file.h headers: add missing includes 2019-03-28 19:59:56 +01:00
journal-internal.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
journal-qrcode.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
journal-qrcode.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
journal-send.c util: split out errno related stuff 2019-03-14 13:25:51 +01:00
journal-vacuum.c util: split out sorting related calls to new sort-util.[ch] 2019-03-13 12:16:43 +01:00
journal-vacuum.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
journal-verify.c journal: LGTM doesn't recognize suppressions in /* */ 2019-04-02 12:47:14 +02:00
journal-verify.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
journalctl.c tree-wide: (void)ify a few unlink() and rmdir() 2019-03-27 18:09:56 +01:00
journald-audit.c tree-wide: use newa() instead of alloca() wherever we can 2019-01-26 16:17:04 +01:00
journald-audit.h tree-wide: add whitespace between type and variable name 2018-12-04 09:29:54 +01:00
journald-console.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
journald-console.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
journald-context.c journald: periodically drop cache for all dead PIDs 2019-01-26 12:43:27 +01:00
journald-context.h headers: add missing includes 2019-03-28 19:59:56 +01:00
journald-gperf.gperf journal: make the compression threshold tunable 2018-03-20 14:54:07 -07:00
journald-kmsg.c journal: fix an off-by-one error in dev_kmsg_record 2018-11-16 08:45:16 +01:00
journald-kmsg.h tests: add a fuzzer for dev_kmsg_record 2018-11-16 08:44:35 +01:00
journald-native.c util: split out memcmp()/memset() related calls into memory-util.[ch] 2019-03-13 12:16:43 +01:00
journald-native.h journald: make server_process_native_message compatible with fuzz_journald_processing_function 2018-09-03 07:03:52 +00:00
journald-rate-limit.c headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
journald-rate-limit.h headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
journald-server.c journald: do not store the iovec entry for process commandline on stack 2019-01-09 23:41:53 +01:00
journald-server.h headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
journald-stream.c tree-wide: port users over to use new ERRNO_IS_ACCEPT_AGAIN() call 2019-04-10 22:11:18 +02:00
journald-stream.h tests: add a fuzzer for journald streams 2018-11-20 03:03:32 +01:00
journald-syslog.c tree-wide: some automatic coccinelle fixes (#10463) 2018-10-20 00:07:46 +09:00
journald-syslog.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
journald-wall.c journald: drop copyright headers for Sebastian Thorarensen 2018-07-03 01:32:25 +02:00
journald-wall.h headers: add missing includes 2019-03-28 19:59:56 +01:00
journald.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
journald.conf journal: add missing option in journald.conf 2018-06-26 04:05:42 +09:00
lookup3.c tree-wide: use new macro HAS_FEATURE_ADDRESS_SANITIZER everywhere 2018-12-03 17:38:50 +01:00
lookup3.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
meson.build journal: use missing_audit.h to generate audit_type-list.txt 2018-12-07 11:48:37 +09:00
mmap-cache.c util: split out errno related stuff 2019-03-14 13:25:51 +01:00
mmap-cache.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
sd-journal.c util: split out nulstr related stuff to nulstr-util.[ch] 2019-03-14 13:25:52 +01:00
test-audit-type.c Drop my copyright headers 2018-06-14 13:03:20 +02:00
test-catalog.c util-lib: split out all temporary file related calls into tmpfiles-util.c 2018-12-02 13:22:29 +01:00
test-compress-benchmark.c util: split out nulstr related stuff to nulstr-util.[ch] 2019-03-14 13:25:52 +01:00
test-compress.c headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
test-journal-config.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
test-journal-enum.c tree-wide: add whitespace between type and variable name 2018-12-04 09:29:54 +01:00
test-journal-flush.c test-journal: move tests to /var/tmp/ and set FS_NOCOW_FL 2019-04-04 12:18:13 +02:00
test-journal-init.c test-journal: move tests to /var/tmp/ and set FS_NOCOW_FL 2019-04-04 12:18:13 +02:00
test-journal-interleaving.c test-journal: move tests to /var/tmp/ and set FS_NOCOW_FL 2019-04-04 12:18:13 +02:00
test-journal-match.c tree-wide: add whitespace between type and variable name 2018-12-04 09:29:54 +01:00
test-journal-send.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
test-journal-stream.c test-journal: move tests to /var/tmp/ and set FS_NOCOW_FL 2019-04-04 12:18:13 +02:00
test-journal-syslog.c test-journal-syslog: initialize variable 2018-09-25 11:34:52 +02:00
test-journal-verify.c test-journal: move tests to /var/tmp/ and set FS_NOCOW_FL 2019-04-04 12:18:13 +02:00
test-journal.c test-journal: move tests to /var/tmp/ and set FS_NOCOW_FL 2019-04-04 12:18:13 +02:00
test-mmap-cache.c util-lib: split out all temporary file related calls into tmpfiles-util.c 2018-12-02 13:22:29 +01:00