Re: usercopy whitelist woe in scsi_sense_cache

From: Kees Cook
Date: Thu Apr 05 2018 - 14:52:39 EST

[forcing non-HTML and resending...]

On Thu, Apr 5, 2018 at 7:33 AM, Oleksandr Natalenko
<oleksandr@xxxxxxxxxxxxxx> wrote:
> 05.04.2018 16:32, Oleksandr Natalenko wrote:
>> "-hda sda.img -hdb sda.img"
> "-hda sda.img -hdb sdb.img", of course, I don't pass the same disk twice

Okay. My qemu gets mad about that and wants the format=raw argument,
so I'm using:

-drive file=sda.img,format=raw \
-drive file=sdb.img,format=raw \

How are you running your smartctl? I'm doing this now:

[1] Running while :; do
( smartctl -a /dev/sda; smartctl -a /dev/sdb ) > /dev/null;
done &

I assume I'm missing something from your .config, but since I don't
boot with an initramfs, I had to tweak it a bit. I'll try again...


Kees Cook
Pixel Security