lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 16 Nov 2006 10:28:04 -0500
From:	Phillip Susi <psusi@....rr.com>
To:	Yakov Lerner <iler.ml@...il.com>
CC:	Kernel <linux-kernel@...r.kernel.org>
Subject: Re: locking sectors of raw disk (raw read-write test of mounted disk)

Yakov Lerner wrote:
> I don't want to tamper wuith data. I want to raw write back exacty
> same raw data that I read in. I only want to make sure that kernel
> doesn't write modified data between in between my read-write pair.

Ahh, in that case you might be able to do this using the device mapper. 
  You could keep the filesystem mounted on the device mapper with a 
mapping to the underlying disk device.  Then change that mapping on the 
fly to mark a section of the device as mapped to a ramdisk and copy ( 
while that section is suspended ) the original data there.  Then resume 
the section, tamper with the underlying disk, then suspend the ramdisk 
mapping, copy it back to the underlying disk, then change the mapping 
back to normal.  You might also use a snapshot dm target instead of a 
ramdisk.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ