fs: ubifs: Add authentication support
This adds UBIFS authentication support. For now, we do not do
any authentication even on authenticated UBIFS images. Since
this behaviour is not what the user normally expects when mounting
authenticated images we only do this when the user explicitly allows
it in "global.ubifs.allow_authenticated_unauthenticated". If the
flag is false then we refuse mounting such an image and return -EPERM
instead.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent ea569a0 commit 49b2ae70344bc3212aa268576cb15d903b32558e
@Sascha Hauer Sascha Hauer authored on 2 Oct 2018
Showing 13 changed files
View
fs/ubifs/debug.c
View
fs/ubifs/master.c
View
fs/ubifs/misc.h
View
fs/ubifs/recovery.c
View
fs/ubifs/replay.c
View
fs/ubifs/sb.c
View
fs/ubifs/super.c
View
fs/ubifs/tnc.c
View
fs/ubifs/tnc_misc.c
View
fs/ubifs/ubifs-media.h
View
fs/ubifs/ubifs.c
View
fs/ubifs/ubifs.h
View
include/digest.h