diff mbox series

syscalls/creat09: Add another linux tag

Message ID 1630564446-3393-1-git-send-email-xuyang2018.jy@fujitsu.com
State Accepted
Headers show
Series syscalls/creat09: Add another linux tag | expand

Commit Message

Yang Xu \(Fujitsu\) Sept. 2, 2021, 6:34 a.m. UTC
Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com>
---
 testcases/kernel/syscalls/creat/creat09.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Yang Xu \(Fujitsu\) Sept. 2, 2021, 6:37 a.m. UTC | #1
Hi!
> Signed-off-by: Yang Xu<xuyang2018.jy@fujitsu.com>
> ---
>   testcases/kernel/syscalls/creat/creat09.c | 11 +++++++++++
>   1 file changed, 11 insertions(+)
> 
> diff --git a/testcases/kernel/syscalls/creat/creat09.c b/testcases/kernel/syscalls/creat/creat09.c
> index 53ab202c1..9b88acd1a 100644
> --- a/testcases/kernel/syscalls/creat/creat09.c
> +++ b/testcases/kernel/syscalls/creat/creat09.c
> @@ -18,6 +18,16 @@
>    *  Date:   Tue Jul 3 17:10:19 2018 -0700
>    *
>    *  Fix up non-directory creation in SGID directories
> + *
> + * This fix is incomplete if file is on xfs filesystem.
> + *
> + * Fixed in:
> + *
> + *  commit 01ea173e103edd5ec41acec65b9261b87e123fc2
> + *  Author: Christoph Hellwig<hch@lst.de>
> + *  Date:   Fri Jan 22 16:48:18 2021 -0800
> + *
> + *  xfs: fix up non-directory creation in SGID directories
>    */
> 
>   #include<stdlib.h>
> @@ -112,6 +122,7 @@ static struct tst_test test = {
>   	.tags = (const struct tst_tag[]) {
>   		{"linux-git", "0fa3ecd87848"},
>   		{"CVE", "2018-13405"},
> +		{"linux-git", "01ea173e103e"}
Sorry, I miss comma here.
>   		{}
>   	},
>   };
Petr Vorel Sept. 2, 2021, 8:23 a.m. UTC | #2
Hi,

> >   	.tags = (const struct tst_tag[]) {
> >   		{"linux-git", "0fa3ecd87848"},
> >   		{"CVE", "2018-13405"},
> > +		{"linux-git", "01ea173e103e"}
> Sorry, I miss comma here.
Fixed and merged. Thanks!

Kind regards,
Petr
diff mbox series

Patch

diff --git a/testcases/kernel/syscalls/creat/creat09.c b/testcases/kernel/syscalls/creat/creat09.c
index 53ab202c1..9b88acd1a 100644
--- a/testcases/kernel/syscalls/creat/creat09.c
+++ b/testcases/kernel/syscalls/creat/creat09.c
@@ -18,6 +18,16 @@ 
  *  Date:   Tue Jul 3 17:10:19 2018 -0700
  *
  *  Fix up non-directory creation in SGID directories
+ *
+ * This fix is incomplete if file is on xfs filesystem.
+ *
+ * Fixed in:
+ *
+ *  commit 01ea173e103edd5ec41acec65b9261b87e123fc2
+ *  Author: Christoph Hellwig <hch@lst.de>
+ *  Date:   Fri Jan 22 16:48:18 2021 -0800
+ *
+ *  xfs: fix up non-directory creation in SGID directories
  */
 
 #include <stdlib.h>
@@ -112,6 +122,7 @@  static struct tst_test test = {
 	.tags = (const struct tst_tag[]) {
 		{"linux-git", "0fa3ecd87848"},
 		{"CVE", "2018-13405"},
+		{"linux-git", "01ea173e103e"}
 		{}
 	},
 };