diff options
author | David Teigland <teigland@redhat.com> | 2021-03-03 17:36:42 -0600 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2021-03-03 17:43:29 -0600 |
commit | f5fbb1b76fc39fe968d847247b9040ff2acbadcc (patch) | |
tree | 516407d0aa9d7d4b88bd1711864e80e6a9d57760 /include | |
parent | 89a3440fc0179318954855aa251b0aae4f5c1a63 (diff) | |
download | lvm2-f5fbb1b76fc39fe968d847247b9040ff2acbadcc.tar.gz |
lvmlockctl: replace popen and system
with fork and exec to avoid use of shell.
largely copied from lib/misc/lvm-exec.c
require lvmlockctl_kill_command to be full path
use lvm config instead of lvmconfig to avoid need for LVM_DIR
Diffstat (limited to 'include')
-rw-r--r-- | include/configure.h.in | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/configure.h.in b/include/configure.h.in index 2597651e3..59b4da86f 100644 --- a/include/configure.h.in +++ b/include/configure.h.in @@ -586,9 +586,6 @@ /* Path to lvm binary. */ #undef LVM_PATH -/* Path to lvm binary dir. */ -#undef LVM_DIR - /* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>. */ #undef MAJOR_IN_MKDEV |