1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
LVM2 mirror repository https://sourceware.org/lvm2/
Go to file
Zdenek Kabelac 8a568b9562 libdm: do not add params for resume and remove
DM_DEVICE_CREATE with table is doing several ioctl operations,
however only some of then takes parameters.
Since _create_and_load_v4() reused already existing dm task from
DM_DEVICE_RELOAD it has also kept passing its table parameters
to DM_DEVICE_RESUME ioctl - but this ioctl is supposed to not take
any argument and thus there is no wiping of passed data - and
since kernel returns buffer and shortens dmi->data_size accordingly,
anything past returned data size remained uncleared in zfree()
function.

This has problem if the user used dm_task_secure_data (i.e. cryptsetup),
as in this case binary expact secured data are erased from main memory
after use, but they may have been left in place.

This patch is also closing the possible hole for error path,
which also reuse same dm task structure for DM_DEVICE_REMOVE.

(cherry picked from commit 10e191fd12)
2018-12-17 14:06:08 +01:00
autoconf autoconf: Fix py-compile permissions 2016-02-18 01:05:05 +00:00
base gcc: avoid shadowing index 2018-12-04 14:33:38 -06:00
conf make: generate config update 2018-12-04 14:33:38 -06:00
coverity coverity: model few more functions 2017-06-27 12:17:16 +02:00
daemons dmeventd: Fix libdevmapper-event linking 2018-12-12 10:53:45 +01:00
device_mapper libdm: do not add params for resume and remove 2018-12-17 14:06:08 +01:00
doc Merge branch 'master' into 2018-05-11-fork-libdm 2018-06-01 13:04:12 +01:00
include configure: update 2018-12-14 18:42:34 +01:00
lib raid: fix (de)activation of RaidLVs with visible SubLVs 2018-12-12 16:26:55 +01:00
libdaemon device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
libdm libdm: do not add params for resume and remove 2018-12-17 14:06:08 +01:00
man man: document 's' RAID attribute bit 2018-12-12 16:26:59 +01:00
nix lockd: Clean up spec 2015-07-04 14:36:57 +02:00
po doc: change fsf address 2016-01-21 12:11:37 +01:00
scripts makefiles: updates for less verbosity 2018-12-04 14:33:37 -06:00
spec udev: 69-dm-lvm-metad.rules is still needed 2018-12-12 16:34:07 +01:00
test makefiles: ensure test dir can run unit-test 2018-12-04 14:33:38 -06:00
tools raid: fix (de)activation of RaidLVs with visible SubLVs 2018-12-12 16:26:55 +01:00
udev udev: 69-dm-lvm-metad.rules is still needed 2018-12-12 16:34:07 +01:00
.gitignore gitignore 2018-05-23 16:53:18 +02:00
acinclude.m4 [build] uncomment 'serial 3' in an m4 file. 2018-04-30 09:44:27 +01:00
aclocal.m4 liblvm: remove lvmapi 2018-06-08 09:38:05 +01:00
configure configure: update 2018-12-14 18:42:34 +01:00
configure.ac build: Upse PYTHON_CONFIG env.variable when set 2018-12-12 16:34:10 +01:00
COPYING doc: change fsf address 2016-01-21 12:11:37 +01:00
COPYING.BSD Add BSD 2-Clause License 2018-07-27 17:09:46 +02:00
COPYING.LIB Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
INSTALL quick review of docs 2008-11-04 17:49:22 +00:00
make.tmpl.in makefiles: updates for less verbosity 2018-12-04 14:33:37 -06:00
Makefile.in makefiles: avoid clustering out 2018-12-04 14:33:38 -06:00
README pre-release 2018-10-10 11:26:53 +02:00
TESTING docs: Add TESTING file 2017-12-14 16:45:47 +01:00
VERSION post-release 2018-12-14 18:00:39 +01:00
VERSION_DM post-release 2018-12-14 18:00:39 +01:00
WHATS_NEW raid: fix (de)activation of RaidLVs with visible SubLVs 2018-12-12 16:26:55 +01:00
WHATS_NEW_DM libdm: do not add params for resume and remove 2018-12-17 14:06:08 +01:00

This tree contains the LVM2 and device-mapper tools and libraries.

This is development branch, for stable 2.02 release see 2018-06-01-stable
branch.

For more information about LVM2 read the changelog in the WHATS_NEW file.
Installation instructions are in INSTALL.

There is no warranty - see COPYING and COPYING.LIB.

Tarballs are available from:
  ftp://sourceware.org/pub/lvm2/
  ftp://sources.redhat.com/pub/lvm2/
  https://github.com/lvmteam/lvm2/releases

The source code is stored in git:
  https://sourceware.org/git/?p=lvm2.git
  git clone git://sourceware.org/git/lvm2.git
mirrored to:
  https://github.com/lvmteam/lvm2
  git clone https://github.com/lvmteam/lvm2.git
  git clone git@github.com:lvmteam/lvm2.git

Mailing list for general discussion related to LVM2:
  linux-lvm@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/linux-lvm

Mailing lists for LVM2 development, patches and commits:
  lvm-devel@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/lvm-devel

  lvm2-commits@lists.fedorahosted.org (Read-only archive of commits)
  Subscribe from https://fedorahosted.org/mailman/listinfo/lvm2-commits

Mailing list for device-mapper development, including kernel patches
and multipath-tools:
  dm-devel@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/dm-devel

Website:
  https://sourceware.org/lvm2/

Report upstream bugs at:
  https://bugzilla.redhat.com/enter_bug.cgi?product=LVM%20and%20device-mapper
or open issues at:
  https://github.com/lvmteam/lvm2/issues

The source code repository used until 7th June 2012 is accessible here:
  http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/?cvsroot=lvm2.