public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH storage 0/2] LIO: fix tainted config and minor cleanup
@ 2020-10-12 15:34 Stoiko Ivanov
  2020-10-12 15:34 ` [pve-devel] [PATCH storage 1/2] LIO: untaint values read from remote config Stoiko Ivanov
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Stoiko Ivanov @ 2020-10-12 15:34 UTC (permalink / raw)
  To: pve-devel


This patchset follows the fix in 609f117ff24d2cff6b155e1d4b1175ceebe5bd7b.
Since several operations rely on values read from the remote target's
LIO config (which is tainted), this patchset untaints the settings, which are
actually needed (and stores only those), while reading the config.

The second patch removes two small left-over statements, which confused me
while debugging.

Tested very roughly (adding disks, create/rollback snapshot, remove disk) on
a VM backed by a LIO-iSCSI target.

Stoiko Ivanov (2):
  LIO: untaint values read from remote config
  LIO: drop unused statements

 PVE/Storage/LunCmd/LIO.pm | 21 ++++++++++++++++-----
 1 file changed, 16 insertions(+), 5 deletions(-)

-- 
2.20.1





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-10-13  9:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-12 15:34 [pve-devel] [PATCH storage 0/2] LIO: fix tainted config and minor cleanup Stoiko Ivanov
2020-10-12 15:34 ` [pve-devel] [PATCH storage 1/2] LIO: untaint values read from remote config Stoiko Ivanov
2020-10-12 15:34 ` [pve-devel] [PATCH storage 2/2] LIO: drop unused statements Stoiko Ivanov
2020-10-12 16:37 ` [pve-devel] [PATCH storage 0/2] LIO: fix tainted config and minor cleanup Daniel Berteaud
2020-10-13  9:15 ` [pve-devel] applied-series: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal