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: <20170118154158.mme7qzuyqwkel6ok@thunk.org>
Date:   Wed, 18 Jan 2017 10:41:58 -0500
From:   Theodore Ts'o <tytso@....edu>
To:     yu xing <mdxy2014@...il.com>
Cc:     linux-ext4@...r.kernel.org
Subject: Re: EXT4: About the method of compute
 journal blocks

On Wed, Jan 18, 2017 at 01:06:07PM +0800, yu xing wrote:
>       Do you mean, In future , the mke2fs will instead of the make_ext4fs ?
>       if true, maybe some functions from make_ext4fs will add to mke2fs.
>       such as pack the system.img from out/target/product/xxxxx/system,
>       and add selinux file_contexts into system , as the following command list
> 
>     make_ext4fs [ -l <len> ] [ -j <journal size> ] [ -b <block_size> ]
>     [ -g <blocks per group> ] [ -i <inodes> ] [ -I <inode size> ]
>     [ -L <label> ] [ -f ] [ -a <android mountpoint> ] [ -u ]
>     [ -S file_contexts ] [ -C fs_config ] [ -T timestamp ]
>     [ -z | -s ] [ -w ] [ -c ] [ -J ] [ -v ] [ -B <block_list_file> ]
>     <filename> [[<directory>] <target_out_directory>]
> 
>      the [<target_out_directory>] arguments is the packing directory
>      and the -S arguments is used to include the selinux file_contexts
> 
>      but in the mke2fs command, I can not find these functions( the
> newest version mk2fs whether or not support these functions,
>      if my wrong, please correct me), so maybe add these functions
> into mke2fs ?  the mke2fs command list as following:

Take a look at the AOSP master branch for e2fsprogs.  These changes
are not yet part of an official Android release (as they showed up
after the 'N' release) but you'll see that e2fsprogs has been updated
to 1.43 release and in the contrib/android directory, there is a new
e2fsdroid program.  That was some great work done by Adrien
Schildknecht as part of his Google intern project, and he consulted
with me on the design of how to refactor that functionality out of
make_ext4fs.

There are still some changes needed before we can completely get rid
of make_ext4fs (it is called programmatically from the volume manager,
and that last bit of work hasn't been converted yet).  And of course
there has still be some polishing and bug fixing that has been
happening to make sure things are smooth on Mac and Windows build
hosts, etc.  So as usual with the AOSP master branch, understand that
it is a work in progress, and it hasn't gotten the same level of
testing as an official android "letter" release.

Cheers,

						- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ