Skip to contentSkip to conversation

selftests-exec-add-file-type-errno-tests.patch removed from -mm tree

merged [email protected] 1 participant 1 message Aug 18, 2020

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: selftests/exec: add file type errno tests
has been removed from the -mm tree. Its filename was
selftests-exec-add-file-type-errno-tests.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Kees Cook <[email protected]>
Subject: selftests/exec: add file type errno tests

Make sure execve() returns the expected errno values for non-regular files.

---

 tools/testing/selftests/exec/.gitignore    |    1 
 tools/testing/selftests/exec/Makefile      |    5 
 tools/testing/selftests/exec/non-regular.c |  196 +++++++++++++++++++
 3 files changed, 200 insertions(+), 2 deletions(-)
tools/testing/selftests/exec/.gitignore renamed from tools/testing/selftests/exec/.gitignore~selftests-exec-add-file-type-errno-tests +1 -0
@@ -10,3 +10,4 @@ execveat.denatured
 /recursion-depth
 xxxxxxxx*
 pipe
+S_I*.test
tools/testing/selftests/exec/Makefile renamed from tools/testing/selftests/exec/Makefile~selftests-exec-add-file-type-errno-tests +3 -2
@@ -3,7 +3,7 @@ CFLAGS = -Wall
 CFLAGS += -Wno-nonnull
 CFLAGS += -D_GNU_SOURCE
 
-TEST_PROGS := binfmt_script
+TEST_PROGS := binfmt_script non-regular
 TEST_GEN_PROGS := execveat
 TEST_GEN_FILES := execveat.symlink execveat.denatured script subdir pipe
 # Makefile is a run-time dependency, since it's accessed by the execveat test
@@ -11,7 +11,8 @@ TEST_FILES := Makefile
 
 TEST_GEN_PROGS += recursion-depth
 
-EXTRA_CLEAN := $(OUTPUT)/subdir.moved $(OUTPUT)/execveat.moved $(OUTPUT)/xxxxx*
+EXTRA_CLEAN := $(OUTPUT)/subdir.moved $(OUTPUT)/execveat.moved $(OUTPUT)/xxxxx*	\
+	       $(OUTPUT)/S_I*.test
 
 include ../lib.mk
 
tools/testing/selftests/exec/non-regular.c new file +196 -0

196 lines not on this page · raw message

_

Patches currently in -mm which might be from [email protected] are