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]
Message-ID: <480F3DDC.9010906@rtr.ca>
Date:	Wed, 23 Apr 2008 09:47:08 -0400
From:	Mark Lord <lkml@....ca>
To:	Francis Moreau <francis.moro@...il.com>
Cc:	Seewer Philippe <philippe.seewer@....ch>,
	linux-kernel@...r.kernel.org
Subject: Re: Disk geometry from /sys

Francis Moreau wrote:
> My last question I promise ;)
> 
> If I'd like to take a look in the kernel code to see where the kernel
> translates an offset
> provided by sys_read into a LBA or CHS address, where should I go ?
..

Two places.  drivers/ide/ide-disk.c :: __ide_do_rw_disk()
and drivers/ata/libata-core.c :: ata_build_rw_tf().

Cheers
--
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