diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-05-10 18:15:50 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-05-10 18:15:50 +0200 |
commit | b0a89d8086577ee0b8d9eb81d7fdd07e8f7662dd (patch) | |
tree | 2b51bac05ace287702b55858e9366059f34fa489 /fs/ubifs/ubifs.c | |
parent | 5fdedd222f566b61f9e5c9278e10af777384e9b4 (diff) | |
parent | 49b2ae70344bc3212aa268576cb15d903b32558e (diff) | |
download | barebox-b0a89d8086577ee0b8d9eb81d7fdd07e8f7662dd.tar.gz barebox-b0a89d8086577ee0b8d9eb81d7fdd07e8f7662dd.tar.xz |
Merge branch 'for-next/ubifs'
Diffstat (limited to 'fs/ubifs/ubifs.c')
-rw-r--r-- | fs/ubifs/ubifs.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/ubifs/ubifs.c b/fs/ubifs/ubifs.c index 494b1f2614..fd35619246 100644 --- a/fs/ubifs/ubifs.c +++ b/fs/ubifs/ubifs.c @@ -496,6 +496,7 @@ static int zlib_decomp_init(void) } int ubifs_allow_encrypted; +int ubifs_allow_authenticated_unauthenticated; static int ubifs_init(void) { @@ -508,6 +509,8 @@ static int ubifs_init(void) } globalvar_add_simple_bool("ubifs.allow_encrypted", &ubifs_allow_encrypted); + globalvar_add_simple_bool("ubifs.allow_authenticated_unauthenticated", + &ubifs_allow_authenticated_unauthenticated); return register_fs_driver(&ubifs_driver); } @@ -516,3 +519,6 @@ coredevice_initcall(ubifs_init); BAREBOX_MAGICVAR_NAMED(global_ubifs_allow_encrypted, global.ubifs.allow_encrypted, "If true, allow to mount UBIFS with encrypted files"); +BAREBOX_MAGICVAR_NAMED(global_ubifs_allow_authenticated_unauthenticated, + global.ubifs.allow_authenticated_unauthenticated, + "If true, allow to mount authenticated UBIFS images without doing authentication"); |