Skip to contentSkip to conversation

syscalls/creat09: Add another linux tag

PATCH New Yang Xu 2 participants 3 messages Sep 2, 2021

lore
Share & tools
lore

Yang Xu

author
#0 lore raw

PATCH 1/1 syscalls/creat09: Add another linux tag

---
 testcases/kernel/syscalls/creat/creat09.c | 11 +++++++++++
 1 file changed, 11 insertions(+)
testcases/kernel/syscalls/creat/creat09.c +11 -0
index 53ab202c1..9b88acd1a 100644
@@ -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 <[email protected]>
+ *  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"}
 		{}
 	},
 };
Signature · 1 line
2.23.0
#1 lore raw

PATCH 1/1 syscalls/creat09: Add another linux tag

Hi!

Quoted 27 lines
---
  testcases/kernel/syscalls/creat/creat09.c | 11 +++++++++++
  1 file changed, 11 insertions(+)
testcases/kernel/syscalls/creat/creat09.c +10 -0
index 53ab202c1..9b88acd1a 100644
@@ -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<[email protected]>
+ *  Date:   Fri Jan 22 16:48:18 2021 -0800
+ *
+ *  xfs: fix up non-directory creation in SGID directories
   */
 
  #include<stdlib.h>

testcases/kernel/syscalls/creat/creat09.c static struct tst_test test = { · line 125

Quoted 4 lines
testcases/kernel/syscalls/creat/creat09.c +1 -0
@@ -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.

Quoted 3 lines
testcases/kernel/syscalls/creat/creat09.c +0 -0
  		{}
  	},
  };
#2 lore raw

PATCH 1/1 syscalls/creat09: Add another linux tag

Hi,

Quoted 5 lines

testcases/kernel/syscalls/creat/creat09.c static struct tst_test test = { · line 125

Quoted 4 lines
  	.tags = (const struct tst_tag[]) {
  		{"linux-git", "0fa3ecd87848"},
  		{"CVE", "2018-13405"},
testcases/kernel/syscalls/creat/creat09.c +1 -0
+		{"linux-git", "01ea173e103e"}

Sorry, I miss comma here.

Fixed and merged. Thanks!

Kind regards,
Petr