[patch] Adding Secure Deletion to UBIFS

Artem Bityutskiy dedekind1 at gmail.com
Wed Feb 29 12:09:32 EST 2012


On Thu, 2012-02-23 at 15:59 +0100, Joel Reardon wrote:
> >
> > Could you make a separate patch which adds new on-flash format and make
> > sure that new ubifs binaries can mount the old formats and work with
> > them. And that old ubifs binaries gracefully reject the new format.
> >
> 
> This patch provides a new version of two on-flash data structures for 
> UBIFS:

Similarly - wrapped patch and git am wont' apply it, sorry.

> ubifs_branch and ubifs_data_node have been grown by 8 bytes to include a 
> 64-bit reference
> to a key position, which is needed by a proposed ubifs secure deletion 
> addition. This patch is generated
> against linux-3.2.1.

Please, use linux-ubifs tree instead:
git://git.infradead.org/linux-ubifs.git

It has the newest stuff.

> Because both data structures use C99 flexible arrays, it is not possible 
> to add the new field as
> the last member of the structure.

>  Thus, it was added one before last, the 
> last was renamed, and in a
> handful of places where it was used, a macro accessor is used to get the 
> version-correct position.

Hmm, we can make it to be key[UBIFS_SK_LEN] instead, if it helps.

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120229/bfea2775/attachment.sig>


More information about the linux-mtd mailing list