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] [thread-next>] [day] [month] [year] [list]
Message-ID: <455B8979.6090101@cfl.rr.com>
Date:	Wed, 15 Nov 2006 16:41:13 -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)

No, you can not tamper with the underlying data while the kernel has it 
mounted.

Yakov Lerner wrote:
> I'd like to make read-write test of the raw disk, and disk has
> mounted partitions. Is it possible to lock  range of sectors
> of the raw device so that any kernel code that wants to write
> to this range will sleep ? (so that test
>    { lock range; read /dev/hda->buf; write buf->/dev/hda; unlock }
> won't corrupt the filesysyem ?)
> 
> Thanks
> Yakov

-
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