* fs: ubifs: set s_uuid in super block to support ima/evm uuid options @ 2021-02-16 7:23 ` Juergen Borleis 0 siblings, 0 replies; 10+ messages in thread From: Juergen Borleis @ 2021-02-16 7:23 UTC (permalink / raw) To: Richard Weinberger; +Cc: Andy Shevchenko, linux-kernel, linux-mtd, kernel This is V2 to support ima/evm uuid in ubifs. - the previously used memcopy is now replaced by a helper function as suggested by Andy jb ^ permalink raw reply [flat|nested] 10+ messages in thread
* fs: ubifs: set s_uuid in super block to support ima/evm uuid options @ 2021-02-16 7:23 ` Juergen Borleis 0 siblings, 0 replies; 10+ messages in thread From: Juergen Borleis @ 2021-02-16 7:23 UTC (permalink / raw) To: Richard Weinberger; +Cc: Andy Shevchenko, linux-mtd, linux-kernel, kernel This is V2 to support ima/evm uuid in ubifs. - the previously used memcopy is now replaced by a helper function as suggested by Andy jb ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH v2] fs: ubifs: set s_uuid in super block to support ima/evm uuid options 2021-02-16 7:23 ` Juergen Borleis @ 2021-02-16 7:23 ` Juergen Borleis -1 siblings, 0 replies; 10+ messages in thread From: Juergen Borleis @ 2021-02-16 7:23 UTC (permalink / raw) To: Richard Weinberger Cc: Andy Shevchenko, linux-kernel, linux-mtd, kernel, Steffen Trumtrar, Oleksij Rempel From: Steffen Trumtrar <s.trumtrar@pengutronix.de> This is required to provide uuid based integrity functionality for: ima_policy (fsuuid option) and the 'evmctl' command ('--uuid' option). Co-developed-by: Oleksij Rempel <o.rempel@pengutronix.de> Co-developed-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> --- fs/ubifs/super.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index 138b9426c6c1..a8383ca39a47 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c @@ -2230,6 +2230,8 @@ static int ubifs_fill_super(struct super_block *sb, void *data, int silent) goto out_umount; } + import_uuid(&sb->s_uuid, c->uuid); + mutex_unlock(&c->umount_mutex); return 0; -- 2.20.1 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH v2] fs: ubifs: set s_uuid in super block to support ima/evm uuid options @ 2021-02-16 7:23 ` Juergen Borleis 0 siblings, 0 replies; 10+ messages in thread From: Juergen Borleis @ 2021-02-16 7:23 UTC (permalink / raw) To: Richard Weinberger Cc: linux-kernel, Oleksij Rempel, Andy Shevchenko, linux-mtd, kernel, Steffen Trumtrar From: Steffen Trumtrar <s.trumtrar@pengutronix.de> This is required to provide uuid based integrity functionality for: ima_policy (fsuuid option) and the 'evmctl' command ('--uuid' option). Co-developed-by: Oleksij Rempel <o.rempel@pengutronix.de> Co-developed-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> --- fs/ubifs/super.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index 138b9426c6c1..a8383ca39a47 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c @@ -2230,6 +2230,8 @@ static int ubifs_fill_super(struct super_block *sb, void *data, int silent) goto out_umount; } + import_uuid(&sb->s_uuid, c->uuid); + mutex_unlock(&c->umount_mutex); return 0; -- 2.20.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH v2] fs: ubifs: set s_uuid in super block to support ima/evm uuid options 2021-02-16 7:23 ` Juergen Borleis @ 2021-02-16 9:09 ` Andy Shevchenko -1 siblings, 0 replies; 10+ messages in thread From: Andy Shevchenko @ 2021-02-16 9:09 UTC (permalink / raw) To: Juergen Borleis Cc: Richard Weinberger, Linux Kernel Mailing List, open list:MEMORY TECHNOLOGY..., Sascha Hauer, Steffen Trumtrar, Oleksij Rempel On Tue, Feb 16, 2021 at 9:24 AM Juergen Borleis <jbe@pengutronix.de> wrote: > > From: Steffen Trumtrar <s.trumtrar@pengutronix.de> > > This is required to provide uuid based integrity functionality for: > ima_policy (fsuuid option) and the 'evmctl' command ('--uuid' option). Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> One issue below has to be addressed nevertheless. > Co-developed-by: Oleksij Rempel <o.rempel@pengutronix.de> > Co-developed-by: Juergen Borleis <jbe@pengutronix.de> According to the documentation [1] above has two issues: - all Co-developed-by *must* be accompanied with corresponding SoBs - commiter must provide his SoB (but it will be implied by the previous requirement in this case) [1]: https://www.kernel.org/doc/html/latest/process/submitting-patches.html#when-to-use-acked-by-cc-and-co-developed-by > Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> > --- > fs/ubifs/super.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c > index 138b9426c6c1..a8383ca39a47 100644 > --- a/fs/ubifs/super.c > +++ b/fs/ubifs/super.c > @@ -2230,6 +2230,8 @@ static int ubifs_fill_super(struct super_block *sb, void *data, int silent) > goto out_umount; > } > > + import_uuid(&sb->s_uuid, c->uuid); > + > mutex_unlock(&c->umount_mutex); > return 0; > > -- > 2.20.1 > -- With Best Regards, Andy Shevchenko ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v2] fs: ubifs: set s_uuid in super block to support ima/evm uuid options @ 2021-02-16 9:09 ` Andy Shevchenko 0 siblings, 0 replies; 10+ messages in thread From: Andy Shevchenko @ 2021-02-16 9:09 UTC (permalink / raw) To: Juergen Borleis Cc: Richard Weinberger, Linux Kernel Mailing List, Oleksij Rempel, open list:MEMORY TECHNOLOGY..., Sascha Hauer, Steffen Trumtrar On Tue, Feb 16, 2021 at 9:24 AM Juergen Borleis <jbe@pengutronix.de> wrote: > > From: Steffen Trumtrar <s.trumtrar@pengutronix.de> > > This is required to provide uuid based integrity functionality for: > ima_policy (fsuuid option) and the 'evmctl' command ('--uuid' option). Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> One issue below has to be addressed nevertheless. > Co-developed-by: Oleksij Rempel <o.rempel@pengutronix.de> > Co-developed-by: Juergen Borleis <jbe@pengutronix.de> According to the documentation [1] above has two issues: - all Co-developed-by *must* be accompanied with corresponding SoBs - commiter must provide his SoB (but it will be implied by the previous requirement in this case) [1]: https://www.kernel.org/doc/html/latest/process/submitting-patches.html#when-to-use-acked-by-cc-and-co-developed-by > Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> > --- > fs/ubifs/super.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c > index 138b9426c6c1..a8383ca39a47 100644 > --- a/fs/ubifs/super.c > +++ b/fs/ubifs/super.c > @@ -2230,6 +2230,8 @@ static int ubifs_fill_super(struct super_block *sb, void *data, int silent) > goto out_umount; > } > > + import_uuid(&sb->s_uuid, c->uuid); > + > mutex_unlock(&c->umount_mutex); > return 0; > > -- > 2.20.1 > -- With Best Regards, Andy Shevchenko ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v2] fs: ubifs: set s_uuid in super block to support ima/evm uuid options 2021-02-16 9:09 ` Andy Shevchenko @ 2021-02-16 9:11 ` Andy Shevchenko -1 siblings, 0 replies; 10+ messages in thread From: Andy Shevchenko @ 2021-02-16 9:11 UTC (permalink / raw) To: Juergen Borleis, Stephen Rothwell Cc: Richard Weinberger, Linux Kernel Mailing List, open list:MEMORY TECHNOLOGY..., Sascha Hauer, Steffen Trumtrar, Oleksij Rempel +Cc: Stephen Stephen, do you have a check in Linux Next to catch the problem that Co-developed-by is not being accompanied by a corresponding SoB? On Tue, Feb 16, 2021 at 11:09 AM Andy Shevchenko <andy.shevchenko@gmail.com> wrote: > > On Tue, Feb 16, 2021 at 9:24 AM Juergen Borleis <jbe@pengutronix.de> wrote: > > > > From: Steffen Trumtrar <s.trumtrar@pengutronix.de> > > > > This is required to provide uuid based integrity functionality for: > > ima_policy (fsuuid option) and the 'evmctl' command ('--uuid' option). > > Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> > One issue below has to be addressed nevertheless. > > > Co-developed-by: Oleksij Rempel <o.rempel@pengutronix.de> > > Co-developed-by: Juergen Borleis <jbe@pengutronix.de> > > According to the documentation [1] above has two issues: > - all Co-developed-by *must* be accompanied with corresponding SoBs > - commiter must provide his SoB (but it will be implied by the > previous requirement in this case) > > [1]: https://www.kernel.org/doc/html/latest/process/submitting-patches.html#when-to-use-acked-by-cc-and-co-developed-by > > > Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> > > --- > > fs/ubifs/super.c | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c > > index 138b9426c6c1..a8383ca39a47 100644 > > --- a/fs/ubifs/super.c > > +++ b/fs/ubifs/super.c > > @@ -2230,6 +2230,8 @@ static int ubifs_fill_super(struct super_block *sb, void *data, int silent) > > goto out_umount; > > } > > > > + import_uuid(&sb->s_uuid, c->uuid); > > + > > mutex_unlock(&c->umount_mutex); > > return 0; > > > > -- > > 2.20.1 > > > > > -- > With Best Regards, > Andy Shevchenko -- With Best Regards, Andy Shevchenko ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v2] fs: ubifs: set s_uuid in super block to support ima/evm uuid options @ 2021-02-16 9:11 ` Andy Shevchenko 0 siblings, 0 replies; 10+ messages in thread From: Andy Shevchenko @ 2021-02-16 9:11 UTC (permalink / raw) To: Juergen Borleis, Stephen Rothwell Cc: Richard Weinberger, Linux Kernel Mailing List, Oleksij Rempel, open list:MEMORY TECHNOLOGY..., Sascha Hauer, Steffen Trumtrar +Cc: Stephen Stephen, do you have a check in Linux Next to catch the problem that Co-developed-by is not being accompanied by a corresponding SoB? On Tue, Feb 16, 2021 at 11:09 AM Andy Shevchenko <andy.shevchenko@gmail.com> wrote: > > On Tue, Feb 16, 2021 at 9:24 AM Juergen Borleis <jbe@pengutronix.de> wrote: > > > > From: Steffen Trumtrar <s.trumtrar@pengutronix.de> > > > > This is required to provide uuid based integrity functionality for: > > ima_policy (fsuuid option) and the 'evmctl' command ('--uuid' option). > > Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> > One issue below has to be addressed nevertheless. > > > Co-developed-by: Oleksij Rempel <o.rempel@pengutronix.de> > > Co-developed-by: Juergen Borleis <jbe@pengutronix.de> > > According to the documentation [1] above has two issues: > - all Co-developed-by *must* be accompanied with corresponding SoBs > - commiter must provide his SoB (but it will be implied by the > previous requirement in this case) > > [1]: https://www.kernel.org/doc/html/latest/process/submitting-patches.html#when-to-use-acked-by-cc-and-co-developed-by > > > Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> > > --- > > fs/ubifs/super.c | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c > > index 138b9426c6c1..a8383ca39a47 100644 > > --- a/fs/ubifs/super.c > > +++ b/fs/ubifs/super.c > > @@ -2230,6 +2230,8 @@ static int ubifs_fill_super(struct super_block *sb, void *data, int silent) > > goto out_umount; > > } > > > > + import_uuid(&sb->s_uuid, c->uuid); > > + > > mutex_unlock(&c->umount_mutex); > > return 0; > > > > -- > > 2.20.1 > > > > > -- > With Best Regards, > Andy Shevchenko -- With Best Regards, Andy Shevchenko ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v2] fs: ubifs: set s_uuid in super block to support ima/evm uuid options 2021-02-16 9:11 ` Andy Shevchenko @ 2021-02-16 9:54 ` Stephen Rothwell -1 siblings, 0 replies; 10+ messages in thread From: Stephen Rothwell @ 2021-02-16 9:54 UTC (permalink / raw) To: Andy Shevchenko Cc: Juergen Borleis, Richard Weinberger, Linux Kernel Mailing List, open list:MEMORY TECHNOLOGY..., Sascha Hauer, Steffen Trumtrar, Oleksij Rempel [-- Attachment #1: Type: text/plain, Size: 342 bytes --] Hi Andy, On Tue, 16 Feb 2021 11:11:08 +0200 Andy Shevchenko <andy.shevchenko@gmail.com> wrote: > > Stephen, do you have a check in Linux Next to catch the problem that > Co-developed-by is not being accompanied by a corresponding SoB? No, but I will see about adding one. Thanks fo rthe heads up. -- Cheers, Stephen Rothwell [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 488 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v2] fs: ubifs: set s_uuid in super block to support ima/evm uuid options @ 2021-02-16 9:54 ` Stephen Rothwell 0 siblings, 0 replies; 10+ messages in thread From: Stephen Rothwell @ 2021-02-16 9:54 UTC (permalink / raw) To: Andy Shevchenko Cc: Richard Weinberger, Linux Kernel Mailing List, Oleksij Rempel, Juergen Borleis, open list:MEMORY TECHNOLOGY..., Sascha Hauer, Steffen Trumtrar [-- Attachment #1.1: Type: text/plain, Size: 342 bytes --] Hi Andy, On Tue, 16 Feb 2021 11:11:08 +0200 Andy Shevchenko <andy.shevchenko@gmail.com> wrote: > > Stephen, do you have a check in Linux Next to catch the problem that > Co-developed-by is not being accompanied by a corresponding SoB? No, but I will see about adding one. Thanks fo rthe heads up. -- Cheers, Stephen Rothwell [-- Attachment #1.2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 488 bytes --] [-- Attachment #2: Type: text/plain, Size: 144 bytes --] ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2021-02-16 9:56 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-02-16 7:23 fs: ubifs: set s_uuid in super block to support ima/evm uuid options Juergen Borleis 2021-02-16 7:23 ` Juergen Borleis 2021-02-16 7:23 ` [PATCH v2] " Juergen Borleis 2021-02-16 7:23 ` Juergen Borleis 2021-02-16 9:09 ` Andy Shevchenko 2021-02-16 9:09 ` Andy Shevchenko 2021-02-16 9:11 ` Andy Shevchenko 2021-02-16 9:11 ` Andy Shevchenko 2021-02-16 9:54 ` Stephen Rothwell 2021-02-16 9:54 ` Stephen Rothwell
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.