Commit Graph

3144 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
344c3a7e95 copy: safeguard underflow 2021-04-16 11:30:12 +02:00
Thomas Schoebel-Theuer
8412411390 copy: make offset and len unsigned 2021-04-16 11:30:12 +02:00
Thomas Schoebel-Theuer
532065f9b4 copy: make index unsigned 2021-04-16 11:30:12 +02:00
Thomas Schoebel-Theuer
c7fd43b03d copy: safeguard negative positions 2021-04-16 11:30:12 +02:00
Thomas Schoebel-Theuer
89c29da9c5 copy: safeguard queue deref 2021-04-16 11:30:12 +02:00
Thomas Schoebel-Theuer
be3ebd11b6 copy: safeguard state table index 2021-04-16 11:30:10 +02:00
Thomas Schoebel-Theuer
fff046e1d0 copy: safeguard cursor position 2021-04-16 10:07:55 +02:00
Thomas Schoebel-Theuer
0ed45aa2b5 all: release mars0.1astable126 2021-03-18 12:13:21 +01:00
Thomas Schoebel-Theuer
0dd3e6f571 infra: benchmark dmesg should be KERN_INFO 2021-03-18 12:12:16 +01:00
Thomas Schoebel-Theuer
9f2e0c853e compat: old kernels without WRITE_ONCE 2021-03-16 12:00:01 +01:00
Thomas Schoebel-Theuer
8050499e39 lib_log: safeguard barrier 2021-03-16 12:00:01 +01:00
Thomas Schoebel-Theuer
0e654cef63 lib_log: report decompression errors 2021-03-16 12:00:01 +01:00
Thomas Schoebel-Theuer
193c650377 lib_log: fix logfile compression corner case 2021-03-16 12:00:01 +01:00
Thomas Schoebel-Theuer
84f44fa106 lib_log: make padding verbose 2021-03-16 12:00:01 +01:00
Thomas Schoebel-Theuer
e416e99b4c main: safeguard message generation 2021-03-16 11:59:38 +01:00
Thomas Schoebel-Theuer
be50f1d743 main: fix uninitialized pointer 2021-03-16 11:59:37 +01:00
Thomas Schoebel-Theuer
0be6e4b4d1 all: release mars0.1astable125 2021-03-02 10:12:56 +01:00
Thomas Schoebel-Theuer
059f83b726 main: report reasons for sync vs replay alternations 2021-03-02 10:12:56 +01:00
Thomas Schoebel-Theuer
14e4d8f2cf main: prevent logrotate to pass by during sync 2021-03-02 10:12:56 +01:00
Thomas Schoebel-Theuer
8626dce8b0 aio: safeguard O_CLOEXEC 2021-03-02 10:12:56 +01:00
Thomas Schoebel-Theuer
8544ef4117 aio: safeguard potential race on fd_uninstall 2021-03-02 10:12:56 +01:00
Thomas Schoebel-Theuer
a615ef907b main: safeguard creation of orphaned files 2021-03-02 10:12:53 +01:00
Thomas Schoebel-Theuer
9491714e28 infra: safeguard hash_fn 2021-03-01 13:05:17 +01:00
Thomas Schoebel-Theuer
0fac4a277d mem: safeguard hash_fn 2021-03-01 13:05:17 +01:00
Thomas Schoebel-Theuer
6b64dbb8cd buf: safeguard hash_fn 2021-03-01 13:05:17 +01:00
Thomas Schoebel-Theuer
faa2c9e259 logger: safeguard hash_fn 2021-03-01 13:05:17 +01:00
Thomas Schoebel-Theuer
d619051ff3 if: safeguard hash_index 2021-03-01 13:05:17 +01:00
Thomas Schoebel-Theuer
16d623c25b bio: remove unused variable 2021-03-01 13:05:17 +01:00
Thomas Schoebel-Theuer
9048df0690 client: smp safeguard ref_id 2021-03-01 13:05:17 +01:00
Thomas Schoebel-Theuer
8b74860e7c copy: safeguard state initialization 2021-03-01 13:05:17 +01:00
Thomas Schoebel-Theuer
09ca8cce5c copy: smp safeguard state table
The following variables are used by copy_endio() and thus
may be called both synchronously and asynchronously:

st->error
st->active[]
st->table[]
2021-03-01 13:05:17 +01:00
Thomas Schoebel-Theuer
667cab1ebb all: release mars0.1astable124 2021-02-15 13:47:52 +01:00
Thomas Schoebel-Theuer
a38f8778a6 compat: new pre-patches for LTS kernels 4.19 and 5.4 2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
4a84f041bd compat: remove pre-patches for EOL kernel 3.2
Kernel 3.2 does no longer compile under newer gcc versions:
include/linux/compiler-gcc.h:105:1: fatal error: linux/compiler-gcc7.h: No such file or directory
2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
1920411c46 infra: adat to removal of user_lpath 2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
ed680c298d copy: silence fallthrough warning 2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
17161868ea compat: adapt to BIO_ flags conversion to enum 2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
f3764ce4e5 infra: adapt to removal of shash_desc::flags 2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
5237ca4b16 all: adapt to SO_SNDTIMEO_NEW 2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
d0c5b5699f all: adapt to removal of get_ds()
See 736706bee3298208343a76096370e4f6a5c55915
2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
4b6163463d if: adapt to new queue_lock type 2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
b85bc0f576 all: adapt to removal of current_kernel_time64() 2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
2bf49d5a64 infra: comply to ISO C90
block/mars/kernel/sy_old/sy_generic.c:3164:2: warning: ISO C90 forbids variable length array ‘paths’ [-Wvla]
2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
bb6506476f aio: use old timespec for compatibility 2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
0d885eeef8 main: adapt to time64_t 2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
ffc818b1af mem: adapt to time64_t 2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
dbdb5a5f95 proc: adapt time64_t 2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
cc2af4a024 infra: adapt to time64_t 2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
a339fc1810 say: adapt to time64_t 2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
28a3a7c5fd compat: HAS_VFS_READDIR => MARS_HAS_ITERATE_DIR
iterate_dir() should be the new default, while vfs_readdir()
is a deprecated exception.
2021-02-10 13:36:06 +01:00