1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 18:55:19 +03:00
lvm2/tools
Zdenek Kabelac 4fd41cf67f vgchange: max_pv limited to uint32
Solves: https://bugzilla.redhat.com/1280496

The only reasonable behaviour here is to error on
any number out of accepted range (i.e. now numbers
wrapping around with some hidden logic).

As this is plain bug there is no support for
backward compatibility since noone should
set numbers >UINT32_MAX and expect 0 or error
depending on how big number was used....

TODO: more fields might need to be converted.
2017-01-03 14:55:16 +01:00
..
.exported_symbols generate liblvm2cmd exported symbols too 2010-06-25 18:23:10 +00:00
.gitignore gitignore: Update for in-place build. 2015-07-27 13:18:35 +01:00
args.h vgchange: max_pv limited to uint32 2017-01-03 14:55:16 +01:00
cmdnames.h doc: change fsf address 2016-01-21 12:11:37 +01:00
commands.h lvchange: Allow device specification when requesting a repair 2016-08-05 16:01:46 +02:00
dmsetup.c libdm: add dm_stats_bind_from_fd() 2016-12-18 20:47:17 +00:00
dumpconfig.c coverity: easier to follow set-up of vsn variable 2016-07-13 21:52:14 +02:00
errors.h doc: change fsf address 2016-01-21 12:11:37 +01:00
formats.c doc: change fsf address 2016-01-21 12:11:37 +01:00
lvchange.c thin: fix lvchange of discards and zero flag 2016-09-19 14:00:56 +02:00
lvconvert_poll.c cleanup: substract integers 2016-05-27 15:47:24 +02:00
lvconvert_poll.h doc: change fsf address 2016-01-21 12:11:37 +01:00
lvconvert.c snapshot: validate merge has started 2016-12-22 23:37:07 +01:00
lvcreate.c cleanup: add some dots and use display_lvname 2016-11-25 15:01:27 +01:00
lvdisplay.c tools: Use arg_is_set instead of arg_count. 2016-06-21 22:24:52 +01:00
lvextend.c doc: change fsf address 2016-01-21 12:11:37 +01:00
lvm2cmd-static.c doc: change fsf address 2016-01-21 12:11:37 +01:00
lvm2cmd.c doc: change fsf address 2016-01-21 12:11:37 +01:00
lvm2cmd.h doc: change fsf address 2016-01-21 12:11:37 +01:00
lvm2cmdline.h refactor: move 'interactive' field from struct command_line to struct cmd_context as 'is_interactive' switch 2016-06-20 11:33:43 +02:00
lvm-static.c doc: change fsf address 2016-01-21 12:11:37 +01:00
lvm.c report: add report_reset_cmdlog_seqnum and call it for each new cmd executed in lvm shell 2016-08-09 18:49:11 +02:00
lvmchange.c doc: change fsf address 2016-01-21 12:11:37 +01:00
lvmcmdlib.c doc: change fsf address 2016-01-21 12:11:37 +01:00
lvmcmdline.c lvmcmdline: support uint32 2017-01-03 14:55:16 +01:00
lvmdiskscan.c tools: Use arg_is_set instead of arg_count. 2016-06-21 22:24:52 +01:00
lvpoll.c doc: change fsf address 2016-01-21 12:11:37 +01:00
lvreduce.c doc: change fsf address 2016-01-21 12:11:37 +01:00
lvremove.c lvconvert: use process_each_lv 2016-05-25 15:05:49 -05:00
lvrename.c toollib: make it possible to also process internal VGs, add 'include_internal' switch to process_each_vg fn 2016-06-20 11:33:42 +02:00
lvresize.c lvresize: let pass even protected names like _tmeta 2016-06-24 00:39:14 +02:00
lvscan.c tools: Use arg_is_set instead of arg_count. 2016-06-21 22:24:52 +01:00
Makefile.in vgimportclone: add native command 2016-06-22 13:13:10 -05:00
polldaemon.c toollib: make it possible to also process internal VGs, add 'include_internal' switch to process_each_vg fn 2016-06-20 11:33:42 +02:00
pvchange.c lvmetad: two phase vg_update 2016-06-28 02:30:31 +01:00
pvck.c doc: change fsf address 2016-01-21 12:11:37 +01:00
pvcreate.c lvmetad: two phase vg_update 2016-06-28 02:30:31 +01:00
pvdisplay.c lvmetad: two phase vg_update 2016-06-28 02:30:31 +01:00
pvmove_poll.c cleanup: reuse existing function 2016-12-11 23:24:19 +01:00
pvmove_poll.h doc: change fsf address 2016-01-21 12:11:37 +01:00
pvmove.c debug: more stacktrace corrections 2016-11-25 14:58:28 +01:00
pvremove.c lvmetad: two phase vg_update 2016-06-28 02:30:31 +01:00
pvresize.c toollib: add 'parent' field to processing_handle; init report format only if there's no parent 2016-06-20 11:33:41 +02:00
pvscan.c pvscan: fix autoactivation of exported VG 2016-11-02 16:29:52 -05:00
reporter.c report: show proper info for merging origin 2016-12-22 23:37:07 +01:00
segtypes.c doc: change fsf address 2016-01-21 12:11:37 +01:00
stub.h doc: change fsf address 2016-01-21 12:11:37 +01:00
tags.c doc: change fsf address 2016-01-21 12:11:37 +01:00
tool.h doc: change fsf address 2016-01-21 12:11:37 +01:00
toollib.c cleanup: more lv_is_ usage 2016-12-13 22:07:52 +01:00
toollib.h toollib: Record whether or not stripes/stripe_size args supplied. 2016-08-19 13:51:43 +01:00
tools.h lvmcmdline: support uint32 2017-01-03 14:55:16 +01:00
vgcfgbackup.c tools: Use arg_is_set instead of arg_count. 2016-06-21 22:24:52 +01:00
vgcfgrestore.c lvmetad: two phase vg_update 2016-06-28 02:30:31 +01:00
vgchange.c cleanup: more lv_is_ usage 2016-12-13 22:07:52 +01:00
vgck.c toollib: make it possible to also process internal VGs, add 'include_internal' switch to process_each_vg fn 2016-06-20 11:33:42 +02:00
vgconvert.c cleanup: more lv_is_ usage 2016-12-13 22:07:52 +01:00
vgcreate.c vgcreate: allow pvcreate force option 2016-07-06 14:10:53 -05:00
vgdisplay.c tools: Use arg_is_set instead of arg_count. 2016-06-21 22:24:52 +01:00
vgexport.c tools: Use arg_is_set instead of arg_count. 2016-06-21 22:24:52 +01:00
vgextend.c lvmetad: two phase vg_update 2016-06-28 02:30:31 +01:00
vgimport.c tools: Use arg_is_set instead of arg_count. 2016-06-21 22:24:52 +01:00
vgimportclone.c debug: more stacktrace corrections 2016-11-25 14:58:28 +01:00
vgmerge.c doc: change fsf address 2016-01-21 12:11:37 +01:00
vgmknodes.c tools: Use arg_is_set instead of arg_count. 2016-06-21 22:24:52 +01:00
vgreduce.c cleanup: add missing WARNING into log_warn 2016-11-25 15:01:27 +01:00
vgremove.c toollib: make it possible to also process internal VGs, add 'include_internal' switch to process_each_vg fn 2016-06-20 11:33:42 +02:00
vgrename.c lvmetad: two phase vg_update 2016-06-28 02:30:31 +01:00
vgscan.c lvmetad: two phase vg_update 2016-06-28 02:30:31 +01:00
vgsplit.c cleanup: more lv_is_ usage 2016-12-13 22:07:52 +01:00