1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/daemons
Zdenek Kabelac 5dec664ccf lvmlocks: rework dm_strncpy
Fix cutting away 1 character via incorrect usage of dm_strncpy
introduced in last batch of commits and use sizeof(buffer) to
get proper sizes.

In case of use strcpy_name_len() the replacement was invalid,
so we need to restore this case since sanlock uses buffer without
nul ending, so we would strip one more character from the buffer.

Also start to use dm_strncpy() without (void) for unchecked usage.
2024-04-04 19:38:21 +02:00
..
cmirrord refactor: update dm_strncpy to _dm_strncpy 2024-04-04 19:38:21 +02:00
dmeventd cov: cast to uint32 2024-03-29 01:36:48 +01:00
lvmdbusd lvmdbusd: Exit faster 2024-03-28 18:18:37 +01:00
lvmlockd lvmlocks: rework dm_strncpy 2024-04-04 19:38:21 +02:00
lvmpolld cov: no overwrite of const qualified fields 2024-03-28 22:19:14 +01:00
Makefile.in build: Remove lvmetad leftovers 2018-07-24 15:02:32 +02:00