lkml.org 
[lkml]   [2018]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: usercopy whitelist woe in scsi_sense_cache
Hi.

05.04.2018 16:21, Kees Cook wrote:
> I had a VM running over night with:
>
> [1] Running while :; do
> smartctl -a /dev/sda > /dev/null;
> done &
> [2]- Running while :; do
> ls --color=auto -lR / > /dev/null 2> /dev/null;
> done &
> [3]+ Running while :; do
> sleep $(( $RANDOM % 100 )); sync; echo 3 >
> /proc/sys/vm/drop_caches;
> done &
>
> and I haven't seen the issue. :(
>
> FWIW, I'm using the ahci qemu driver:
>
> -drive file=disk-image.raw,if=none,id=drive0,format=raw \
> -device ahci,id=bus0 \
> -device ide-drive,bus=bus0.0,drive=drive0
>
> Does this match your qemu instance?

Well, not really. I just pass 2 raw disks as "-hda sda.img -hdb sda.img"
(it is a playground VM for me with RAID10, LVM and LUKS inside, but I
hope this doesn't matter). Does passing "-hda" differ from your
approach?

Regards,
Oleksandr

\
 
 \ /
  Last update: 2018-04-05 16:33    [W:0.103 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site