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:   Mon, 18 Dec 2017 15:48:27 -0700
From:   Andreas Dilger <adilger@...ger.ca>
To:     Sayan Ghosh <sgdgp.2014@...il.com>
Cc:     linux-ext4@...r.kernel.org
Subject: Re: [QUESTION] Getting block bitmap

On Dec 18, 2017, at 10:43 AM, Sayan Ghosh <sgdgp.2014@...il.com> wrote:
> 
> Hello,
> 
>     bh = ext4_read_block_bitmap(sb,block_group);
> 
> This function return the buffer head for the block/page with the block bitmap
> 
>     char *block_bmap = bh->b_data;
> 
> Doing this does not give the block bitmap string
> 
> What is the process to get the block bitmap in string or array form?

What do you mean "block bitmap string"?

It probably makes sense for you to look at how bh->b_data is being used in
the places where ext4_read_block_bitmap() is being called.

Cheers, Andreas






Download attachment "signature.asc" of type "application/pgp-signature" (196 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ