Skip to contentSkip to conversation

UBIFS updates for 4.20-rc1

GIT PULL Richard Weinberger 3 participants 5 messages Oct 31, 2018 – Nov 4, 2018 1 message not in the archive Memory technology devices (MTD)

lore
Share & tools
lore

Richard Weinberger

author maintainer
#0 lore raw

Linus,

The following changes since commit 84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d:

Linux 4.19 (2018-10-22 07:37:37 +0100)

are available in the Git repository at:

git://git.infradead.org/linux-ubifs.git tags/tags/upstream-4.20-rc1

for you to fetch changes up to 84db119f5a83e1bf9cffbc6d9cf16487eda1c056:

ubifs: Remove unneeded semicolon (2018-10-23 13:49:02 +0200)

----------------------------------------------------------------
This pull request contains updates for UBIFS:

- Full filesystem authentication feature,
UBIFS is now able to have the whole filesystem structure authenticated plus user data encrypted and authenticated.
- Minor cleanups

----------------------------------------------------------------
Ding Xiang (1):
ubifs: Remove unneeded semicolon

Gustavo A. R. Silva (1):
ubi: Mark expected switch fall-throughs

Sascha Hauer (24):
ubifs: Refactor create_default_filesystem()
ubifs: Pass ubifs_zbranch to try_read_node()
ubifs: Pass ubifs_zbranch to read_znode()
ubifs: Export pnode_lookup as ubifs_pnode_lookup
ubifs: Implement ubifs_lpt_lookup using ubifs_pnode_lookup
ubifs: Drop write_node
ubifs: Store read superblock node
ubifs: Format changes for authentication support
ubifs: Add separate functions to init/crc a node
ubifs: Add helper functions for authentication support
ubifs: Create functions to embed a HMAC in a node
ubifs: Add hashes to the tree node cache
ubifs: authentication: Add hashes to index nodes
ubifs: Add authentication nodes to journal
ubifs: Add auth nodes to garbage collector journal head
ubifs: Authenticate replayed journal
ubifs: authentication: Authenticate LPT
ubfis: authentication: Authenticate master node
ubifs: Create hash for default LPT
ubifs: authentication: Authenticate super block node
ubifs: Add hashes and HMACs to default filesystem
ubifs: Do not update inode size in-place in authenticated mode
ubifs: Enable authentication support
Documentation: ubifs: Add authentication whitepaper

 Documentation/filesystems/ubifs-authentication.md | 426 ++++++++++++++++++
 Documentation/filesystems/ubifs.txt               |   7 +
 drivers/mtd/ubi/attach.c                          |   1 +
 drivers/mtd/ubi/build.c                           |   2 +
 fs/ubifs/Kconfig                                  |  11 +
 fs/ubifs/Makefile                                 |   1 +
 fs/ubifs/auth.c                                   | 502 ++++++++++++++++++++++
 fs/ubifs/debug.c                                  |   6 +
 fs/ubifs/gc.c                                     |  49 ++-
 fs/ubifs/io.c                                     | 110 ++++-
 fs/ubifs/journal.c                                | 289 ++++++++++---
 fs/ubifs/log.c                                    |  24 ++
 fs/ubifs/lpt.c                                    | 184 +++++++-
 fs/ubifs/lpt_commit.c                             |  44 +-
 fs/ubifs/master.c                                 |  64 ++-
 fs/ubifs/misc.h                                   |   5 +-
 fs/ubifs/recovery.c                               | 120 ++++--
 fs/ubifs/replay.c                                 | 177 +++++++-
 fs/ubifs/sb.c                                     | 209 ++++++---
 fs/ubifs/super.c                                  |  91 +++-
 fs/ubifs/tnc.c                                    |  36 +-
 fs/ubifs/tnc_commit.c                             |  27 ++
 fs/ubifs/tnc_misc.c                               |  26 +-
 fs/ubifs/ubifs-media.h                            |  46 +-
 fs/ubifs/ubifs.h                                  | 253 ++++++++++-
 25 files changed, 2418 insertions(+), 292 deletions(-)
 create mode 100644 Documentation/filesystems/ubifs-authentication.md
 create mode 100644 fs/ubifs/auth.c
#1 lore raw

Linus,

Quoted 7 lines · Richard Weinberger

The following changes since commit 84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d:

Linux 4.19 (2018-10-22 07:37:37 +0100)

are available in the Git repository at:

git://git.infradead.org/linux-ubifs.git tags/tags/upstream-4.20-rc1

Just a kind ping to make sure that this pull request didn't get lost in your spam folder.
Since you pulled the UML stuff,but this not, I'm a little worried.

Signature · 2 lines
Thanks,
//richard

A message that is not in the archive (sent off-list or not yet received): CAFLxGvyP51DcR_=YqP1P4kt=cPpiMdG9n4FGOxpkOYtsfdRg=w@mail.gmail.com

#3 lore raw
Quoted 4 lines · Richard Weinberger

I'm sorry to pester you a second time.
The first ping had you only in CC,
let's hope this mail passes your spam filter.

Interesting. Your two first emails used '[email protected]" (without the dash between "linux" and "foundation"), which works, but with my new email setup it didn't get marked as "to me" and got auto-archived as "not directly to me".

This third reminder was to my normal "[email protected]" address, so now I see it in my inbox.

I guess I need to go tweak some of my mail rules in my new email setup..

Linus

author maintainer
#4 lore raw

Am Sonntag, 4. November 2018, 23:45:50 CET schrieb Linus Torvalds:

Quoted 7 lines
Quoted 4 lines · Richard Weinberger

I'm sorry to pester you a second time.
The first ping had you only in CC,
let's hope this mail passes your spam filter.

Quoted 7 lines

Interesting. Your two first emails used '[email protected]" (without the dash between "linux" and "foundation"), which works, but with my new email setup it didn't get marked as "to me" and got auto-archived as "not directly to me".

This third reminder was to my normal "[email protected]" address, so now I see it in my inbox.

For the third mail I used Gmail mobile and not KMail, so auto complete used the other address by accident.
Good to have this sorted out now. :-)

Thanks,
//richard