mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-16 01:04:08 +08:00
shmem: fix LSM options parsing
->parse_monolithic() there forgets to call security_sb_eat_lsm_opts() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
a3bc18a48e
commit
33f37c6488
@ -3482,6 +3482,12 @@ static int shmem_parse_options(struct fs_context *fc, void *data)
|
||||
{
|
||||
char *options = data;
|
||||
|
||||
if (options) {
|
||||
int err = security_sb_eat_lsm_opts(options, &fc->security);
|
||||
if (err)
|
||||
return err;
|
||||
}
|
||||
|
||||
while (options != NULL) {
|
||||
char *this_char = options;
|
||||
for (;;) {
|
||||
|
Loading…
Reference in New Issue
Block a user