All of lore.kernel.org
 help / color / mirror / Atom feed
From: Max Reitz <mreitz@redhat.com>
To: Sascha Silbe <silbe@linux.vnet.ibm.com>,
	qemu-devel@nongnu.org, qemu-block@nongnu.org,
	Kevin Wolf <kwolf@redhat.com>
Cc: Tu Bo <tubo@linux.vnet.ibm.com>
Subject: Re: [Qemu-devel] [PATCH for-2.6 0/4] qemu-iotests: don't use /tmp
Date: Tue, 12 Apr 2016 19:32:40 +0200	[thread overview]
Message-ID: <570D3138.3090906@redhat.com> (raw)
In-Reply-To: <1460472980-26319-1-git-send-email-silbe@linux.vnet.ibm.com>


[-- Attachment #1.1: Type: text/plain, Size: 1223 bytes --]

On 12.04.2016 16:56, Sascha Silbe wrote:
> During review of my other qemu-iotests fixes, Max Reitz noticed a
> couple of additional places where qemu-iotests hardcode /tmp. This is
> both a security issue and cumbersome when running multiple instances
> of qemu-iotests (e.g. different users on a shared development machine
> like tuxmaker). Fix them up.
> 
> Checked (/var)/tmp usage using "sudo chown 000 /tmp /var/tmp". "tac"
> and "qemu -snapshot" fail in that case. I'll presume they create the
> temporary files in a secure manner.
> 
> There is one place left that may use /var/tmp in theory; will address
> that in a separate patch.
> 
> This series mostly removes dead code and addresses a potential
> security issue, all of that in the test suite rather than in
> production code. It should be applicable even during hard freeze.
>  
> 
> Sascha Silbe (4):
>   qemu-iotests: drop unused _within_tolerance() filter
>   qemu-iotests: common.rc: drop unused _do()
>   qemu-iotests: tests: do not set unused tmp variable
>   qemu-iotests: place valgrind log file in scratch dir

Thanks Sascha, I applied the series to my block tree:

https://github.com/XanClic/qemu/commits/block

Max


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

  parent reply	other threads:[~2016-04-12 17:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-12 14:56 [Qemu-devel] [PATCH for-2.6 0/4] qemu-iotests: don't use /tmp Sascha Silbe
2016-04-12 14:56 ` [Qemu-devel] [PATCH 1/4] qemu-iotests: drop unused _within_tolerance() filter Sascha Silbe
2016-04-12 16:57   ` Max Reitz
2016-04-12 14:56 ` [Qemu-devel] [PATCH 2/4] qemu-iotests: common.rc: drop unused _do() Sascha Silbe
2016-04-12 17:08   ` Max Reitz
2016-04-12 14:56 ` [Qemu-devel] [PATCH 3/4] qemu-iotests: tests: do not set unused tmp variable Sascha Silbe
2016-04-12 17:14   ` Max Reitz
2016-04-12 14:56 ` [Qemu-devel] [PATCH 4/4] qemu-iotests: place valgrind log file in scratch dir Sascha Silbe
2016-04-12 17:19   ` Max Reitz
2016-04-12 17:32 ` Max Reitz [this message]
2016-04-14 11:41   ` [Qemu-devel] [PATCH for-2.6 0/4] qemu-iotests: don't use /tmp Sascha Silbe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=570D3138.3090906@redhat.com \
    --to=mreitz@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=silbe@linux.vnet.ibm.com \
    --cc=tubo@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.