diff options
author | Osama Muhammad <osmtendev@gmail.com> | 2023-06-07 20:36:00 +0500 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2023-07-24 09:00:42 -0600 |
commit | e0606daeaab4fba3cc418a202da81aa7a57c0342 (patch) | |
tree | 8db2464cf96d01355234bfe78a348dc45d787349 /tools/testing/selftests/prctl/Makefile | |
parent | 6eaae198076080886b9e7d57f4ae06fa782f90ef (diff) | |
download | lwn-e0606daeaab4fba3cc418a202da81aa7a57c0342.tar.gz lwn-e0606daeaab4fba3cc418a202da81aa7a57c0342.zip |
selftests: prctl: Add new prctl test for PR_SET_NAME
This patch will add the new test, which covers the prctl call
PR_SET_NAME command. The test tries to give a name using the PR_SET_NAME
call and then confirm it that it changed correctly by using PR_GET_NAME.
It also tries to rename it with empty name.In the test PR_GET_NAME is
tested by passing null pointer to it and check its behaviour.
Signed-off-by: Osama Muhammad <osmtendev@gmail.com>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Tested-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/prctl/Makefile')
-rw-r--r-- | tools/testing/selftests/prctl/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/prctl/Makefile b/tools/testing/selftests/prctl/Makefile index c058b81eeb41..cfc35d29fc2e 100644 --- a/tools/testing/selftests/prctl/Makefile +++ b/tools/testing/selftests/prctl/Makefile @@ -5,7 +5,7 @@ ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/) ifeq ($(ARCH),x86) TEST_PROGS := disable-tsc-ctxt-sw-stress-test disable-tsc-on-off-stress-test \ - disable-tsc-test set-anon-vma-name-test + disable-tsc-test set-anon-vma-name-test set-process-name all: $(TEST_PROGS) include ../lib.mk |